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.

link|improve this question

40% accept rate
feedback

2 Answers

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

link|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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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