Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Intro - We are planning on applying for Bandwidth-on-Demand from our ISP which gives us upto 8Mbps of data upsteam/downstream. If we exceed the allowable bandwidth the ISP will bill us for additional cost per Mb of data exceeded.

Question - is there a way to setup an ubuntu server to limit the total upstream and downstream bandwidth on the internet facing interface (uplink) to 8Mbps?

Additional info - the server will also work as a gateway server distributing traffic to four subnets each with his own interface.

share|improve this question

Go low-complexity, just set your ethernet port to 10Mbps, the natural peaks and troughs will mean you're unlikely to over the 8Mbps.

share|improve this answer
I didn't expect it to be that easy. Anyway i'll try your suggestion. How about rate limiting on the LAN side ethernet ports? Something that I can use cron to schedule the rate limiting. – jerichorivera Sep 11 '11 at 12:41
+1 for a very KISS solution. – Paweł Brodacki Sep 11 '11 at 13:27

you could just setup tc on the interface and set the ceil rate to 8mbit.

share|improve this answer

Your Answer


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.