I''m not sure it can be done just with iptables, but it''s trivial from a QoS standpoint. http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm On Thu, 9 May 2002, Carlos Horacio Silva Elizondo wrote:> hi, I just want to know if somebody can help me to reduce a bandwith > with iptables. > > I Have this configuration Box is a Gateway > etho 148.245.89.1 External Network > eth1 192.168.1.1 Internal Network DHCP server > > I want to reduce all the internal network traffic to a specific > bandwidth > example : 5kbps > > All Network Cards are 10/100mbps > > thanks! > Carlos Silva > Informatica y Redes, S.A. de C.V. > Corregidora 711 y 714 Norte > Linares, N.L., CP.67700 > Tels. (821) 2124600,2127080,2120198 > <http://www.linaresonline.com/> www.linaresonline.com > TecnologĂa a TĂș Servicio ! > >
hi, I just want to know if somebody can help me to reduce a bandwith with iptables. I Have this configuration Box is a Gateway etho 148.245.89.1 External Network eth1 192.168.1.1 Internal Network DHCP server I want to reduce all the internal network traffic to a specific bandwidth example : 5kbps All Network Cards are 10/100mbps thanks! Carlos Silva
Hello: Ben wrote,> I''m not sure it can be done just with iptables,The Iptables byte-limit patch should be able do it. http://etudiant.univ-mlv.fr/~jpetazzo/bytelimit.tgz> but it''s trivial from a QoS standpoint. > > http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm-- Shanu -- Signals don''t kill programs. Programs kill programs. This e-mail was scanned by RAV AntiVirus! Virus free e-mail!
On Friday 10 May 2002 04:14, Carlos Horacio Silva Elizondo wrote:> hi, I just want to know if somebody can help me to reduce a bandwith > with iptables. > > I Have this configuration Box is a Gateway > etho 148.245.89.1 External Network > eth1 192.168.1.1 Internal Network DHCP server > > I want to reduce all the internal network traffic to a specific bandwidth > example : 5kbpsTraffic to where? To the internet? To the LAN? To the Gateway?> All Network Cards are 10/100mbpsHave you read the LARTC howto? Also, on www.docum.org are some example scripts you can use. Either HTB or CBQ. Or even a root TBF qdisc. Maybe you can post your script (if you already tried to create one). Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net