Skip to contentSkip to conversation

How to reduce a bandwidth?

LARTC Carlos Horacio Silva Elizondo 4 participants 5 messages May 9, 2002 – May 10, 2002

lore
Share & tools
lore
#0 lore raw

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
www.linaresonline.com
Tecnología a Tú Servicio !

#1 lore raw

[LARTC] how to reduce a bandwidth?

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
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Carlos Horacio Silva Elizondo

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

Quoted 13 lines · Carlos Horacio Silva Elizondo

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

Quoted 10 lines

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 !

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Carlos Horacio Silva Elizondo

Hello:

Ben wrote,

Quoted 1 line

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

Quoted 3 lines

but it's trivial from a QoS standpoint.

http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

-- Shanu

Signature · 8 lines
Signals don't kill programs.  Programs kill programs.

This e-mail was scanned by RAV AntiVirus!
Virus free e-mail!

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Carlos Horacio Silva Elizondo
Quoted 9 lines · Carlos Horacio Silva Elizondo

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

Traffic to where? To the internet? To the LAN? To the Gateway?

Quoted 1 line

All Network Cards are 10/100mbps

Have 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

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/