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.

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
add comment

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.

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
add comment

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

share|improve this answer
add comment

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.