All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Ho do i manage NAT'ed  egress bandwidht?
@ 2005-10-20  7:45 Joost Kraaijeveld
  2005-10-20  8:49 ` Marek Kierdelewicz
  2005-10-20 13:51 ` Lee Sanders
  0 siblings, 2 replies; 3+ messages in thread
From: Joost Kraaijeveld @ 2005-10-20  7:45 UTC (permalink / raw)
  To: lartc

Hi,

I have a Debian based NAT router. How can I manage upstream egress
bandwidth based on the LAN ipadress in the network below? My goal is
that host1 get a minumum of 10Mbit up/down and host2 gets a minimum of
90Mbit up/down, both max 100Mbit up/down?

           targethost
         172.16.255.254
                |
                |
           172.16.0.1
            natrouter
          172.31.255.254          
                |
                |
    + ----------------------+
    |                       |
172.31.0.1		172.31.0.2
host1			host2


TIA

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Ho do i manage NAT'ed  egress bandwidht?
  2005-10-20  7:45 [LARTC] Ho do i manage NAT'ed egress bandwidht? Joost Kraaijeveld
@ 2005-10-20  8:49 ` Marek Kierdelewicz
  2005-10-20 13:51 ` Lee Sanders
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Kierdelewicz @ 2005-10-20  8:49 UTC (permalink / raw)
  To: lartc

> Hi,

Hi

> 
> I have a Debian based NAT router. How can I manage upstream egress
> bandwidth based on the LAN ipadress in the network below? My goal is
> that host1 get a minumum of 10Mbit up/down and host2 gets a minimum
> of 90Mbit up/down, both max 100Mbit up/down?
> 

You can use iptables MARK target in PREROUTING or FORWARD chain of
nat table in conjuction with a fw filter (see tc filter help).

Marek Kierdelewicz
KoBa ISP
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Ho do i manage NAT'ed  egress bandwidht?
  2005-10-20  7:45 [LARTC] Ho do i manage NAT'ed egress bandwidht? Joost Kraaijeveld
  2005-10-20  8:49 ` Marek Kierdelewicz
@ 2005-10-20 13:51 ` Lee Sanders
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Sanders @ 2005-10-20 13:51 UTC (permalink / raw)
  To: lartc

Hi Joost,

This sounds like a situation where you would probably use HTB to shape your 
bandwidth.

You can search the archives for info on HTB, read the LARTC pages but you may 
find more specific information relating to your situation at the below links.

http://luxik.cdi.cz/%7Edevik/qos/htb/

Or you can just use this ready made HTB script on your server which should 
suit your problem description without much extra work on your behalf.
http://sourceforge.net/projects/htbinit/

Regards,
Lee

On Thu, 20 Oct 2005 03:45 pm, Joost Kraaijeveld wrote:
> Hi,
>
> I have a Debian based NAT router. How can I manage upstream egress
> bandwidth based on the LAN ipadress in the network below? My goal is
> that host1 get a minumum of 10Mbit up/down and host2 gets a minimum of
> 90Mbit up/down, both max 100Mbit up/down?
>
>            targethost
>          172.16.255.254
>
>
>            172.16.0.1
>             natrouter
>           172.31.255.254
>
>
>     + ----------------------+
>
> 172.31.0.1		172.31.0.2
> host1			host2
>
>
> TIA
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-20 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20  7:45 [LARTC] Ho do i manage NAT'ed egress bandwidht? Joost Kraaijeveld
2005-10-20  8:49 ` Marek Kierdelewicz
2005-10-20 13:51 ` Lee Sanders

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.