Skip to contentSkip to conversation

Simulating 256k Link Using CBQ or HTB

LARTC Shaun Cronin 2 participants 2 messages Dec 6, 2001

lore
Share & tools
lore
#0 lore raw

Hi All,

I've been asked to provide a QA setup in which one W2K server must only communicate with the rest of the network at a speed of 256 or 512k (to simulate and external link)

My idea is to place a Linux box with two NICs between the server in question and the rest of the network and use it to control bandwidth.

With Kernel 2.2 it seems that rshaper would work but reading Linux 2.4 Advanced Routing How-To is leading me to think that CBQ might be the answer.

Now I see that there HTB may be prefered to CBQ.

So in trying to work out the correct tree to bark up, any ideas whether the my idea would work and which method HTB/CBQ would be the best?

Thanks,

Shaun

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

#1 lore raw
Quoted 11 lines · Shaun Cronin

Hi All,

I've been asked to provide a QA setup in which one W2K server must only communicate with the rest of the network at a speed of 256 or 512k (to simulate and external link)

My idea is to place a Linux box with two NICs between the server in question and the rest of the network and use it to control bandwidth.

With Kernel 2.2 it seems that rshaper would work but reading Linux 2.4 Advanced Routing How-To is leading me to think that CBQ might be the answer.

If you are just using ethernets, you can probably get away with CBQ with TBF internally. See the excellent cbq.init tool mentioned in the HOWTO.

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

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