Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Linux machine running as a bridge simulating various network conditions. I use tc for this. Introducing delays or packet loss is quite simple but I got into trouble trying to configure bandwidth limiting. Can you, please, show me how to limit all the traffic going through my bridge without any special rules and condition, simply limit it to 1Mb/s?

Thanks.

PS Your favorite link to tc tutorial will be appreciated.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You could try something like (not tested)

tc qdisc add dev br0 root tbf rate 1mbit

Sorry but I do not now of any good tutorial, although I have not looked recently.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.