We help IT Professionals succeed at work.

How to limit the access bit rate on an Ethernet

mse
mse asked
on
Medium Priority
365 Views
Last Modified: 2008-03-06
Could I limit the access bit rate from a segment to another one? Now, it works at 10Mbps but could I lower that rate to 128Kbps from the first segment to the other?
Maybe a PC with two boards and the appropiate software.

Could you advice me the best choice, and if possible, the cheapest one?

Thanks.
Comment
Watch Question

Commented:
Yep, you can do this. I read about it a while back, but I can't find the info again now, so the answer you're getting is purely from memory. Linux supports a thing called the shaper device. It's a special file, that sits in /dev/shaper IIRR, and acta as a bit bucket for network traffic. You can limit the bandwidth available through this device, and as such, you can configure a network interface to use it, thus limiting yourself to 128Kbps on a 10Mbps line.

It was developed as a way to keep costs down, as apparently some ISP's provide large amounts of bandwidth, but charge according to your peak usage, so if you could limit yourself to 64Kbps, or whatever, it gets cheaper.

I apologize if this is somewhat "woolly", but it was a while ago, and I can't find the references now. You might try asking for more details on Usenet.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
mse

Author

Commented:
Thanks a lot. Now, at least, I know that this is possible (and cheap).

I supose I will be able to connect both Ethernet segments through a PC with two Ethernet boards. And of course, configuring appropiately the file /dev/shaper IIRR.

If there's something wrong, please notice it to me.
And if you find the lost references, please, send it to me.

Commented:
Trying to find these has been bothering me....

Anyway, eventually, I found the reference again....

Try visiting http://www.linuxhq.com/new21.html

The shaper is actually a new feature of the 2.1.xx developmental kernels, so it's kinda on the bleeding edge....

The URL has all the details I've ever seen on it - if you want more, I guess you'll just have to try it and see.....
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.