How to specify bandwidth
Greetings,
I have a quick question as how to specify bandwith on my eth0 device.
I have a cisco router connected to eth0, and the cisco router is connected to our ISP via a 320Kbps link.
When I specify the bandwith in tc, do I specify it as 320Kbps (the bandwidth of the internet link) or as 100Mbps (the bandwidth available on eth0)
And the same question as to the bandwidth on eth1 (link to lan). Should that also be 320kbps or 100mbps?
Any help would be greatly appreciated.
- Jaco van der Schyff
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Solution :
- add CBQ root qdisc with bandwidth 100mbps
- add BOUNDED class with bandwidth 100mbps, rate 320kbps
- add CBQ qdisc with bandwidth 320kbps, rate 320Kbps
- add al the other classes to second qdisc
For LAN : I suggest to do the same.
Stef
Quoted 24 lines · Jaco van der Schyff
Greetings,
I have a quick question as how to specify bandwith on my eth0 device.
I have a cisco router connected to eth0, and the cisco router is connected to our ISP via a 320Kbps link.
When I specify the bandwith in tc, do I specify it as 320Kbps (the bandwidth of the internet link) or as 100Mbps (the bandwidth available on eth0)
And the same question as to the bandwidth on eth1 (link to lan). Should that also be 320kbps or 100mbps?
Any help would be greatly appreciated.
- Jaco van der Schyff
[email protected]_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Signature · 7 lines
Stef More QOS info : http://users.belgacom.net/staf/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Solution :
- add CBQ root qdisc with bandwidth 100mbps
- add BOUNDED class with bandwidth 100mbps, rate 320kbps
- add CBQ qdisc with bandwidth 320kbps, rate 320Kbps
- add al the other classes to second qdisc
For LAN : I suggest to do the same.
Stef
Quoted 24 lines · Jaco van der Schyff
Greetings,
I have a quick question as how to specify bandwith on my eth0 device.
I have a cisco router connected to eth0, and the cisco router is connected to our ISP via a 320Kbps link.
When I specify the bandwith in tc, do I specify it as 320Kbps (the bandwidth of the internet link) or as 100Mbps (the bandwidth available on eth0)
And the same question as to the bandwidth on eth1 (link to lan). Should that also be 320kbps or 100mbps?
Any help would be greatly appreciated.
- Jaco van der Schyff
[email protected]_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Signature · 8 lines
Stef More QOS info : http://users.belgacom.net/staf/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/