Bandwidth throttling
I have a test server running on a T1 line (remember when that was HUGE?).
From 9-6 Monday-Friday, I need to limit the total bandwidth on eth0 to 256kbps in / 256kbps out. After that it's share and share alike with their other 3 servers on that T1.
Normally I'd set it up on a separate interface on the Router and limit it there, but that's not a option in this setup.
Suggestions?
//sorry if non-Linode VPS questions are not allowed in this forum - if that's the case - delete away//
2 Replies
Not sure if you can embed the time parameters or not, but worst case you could just schedule a task to adjust the parameters around the weekday schedule.
Note that shaping can only effectively be implemented during outbound packet processing, so for the inbound path you'd do it on the output interface to the test server.
Googling for linux traffic shaping should show up various references. Though a bit dated, I think the advanced routing & traffic control howto is still relevant as well (for example,
– David