Ho do i manage NAT'ed egress bandwidht?
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
Signature · 16 lines
Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [email protected] web: www.askesis.nl _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 1 line
Hi,
Hi
Quoted 6 lines
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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/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
Quoted 18 lines · Joost Kraaijeveld
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 + ----------------------+
Quoted 5 lines
172.31.0.1 172.31.0.2
host1 host2TIA
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc