Bandwidth Limiting
We have two (IP) networks here, a big fat pipe to the internet (25 megabits) and a user wants to connect to our network and get access to our pipe. So we're concerned that we need to limit them so they don't accidentally , or on purpose, hog all our bandwidth.
So I'm thinking a linux box with two nics should be able to limit the amount of bandwidth that they use. Using IPTables it's really simple to rate limit, but not bandwidth limit. It's easy to say on X packets are allowed in/out, but not so easy to say this much bandwidth is allowed in/out. I found this Bandwidth limiting Howto but it's from 2001 and only covers limiting specific IP ports.
Essentially I want to say "this interface is only allowed to push and pull at X megs per second." I don't care about bursting or anything of that. They get a specific pipe and that's all they're allowed to use. We're looking at using a Cisco router and doing CAR which looks like it will work just fine, but I'd really like to be able to offer a free alternative.
Anyone had any experience with anything like this? Are there any specific router distros that would cater to just this?
So I'm thinking a linux box with two nics should be able to limit the amount of bandwidth that they use. Using IPTables it's really simple to rate limit, but not bandwidth limit. It's easy to say on X packets are allowed in/out, but not so easy to say this much bandwidth is allowed in/out. I found this Bandwidth limiting Howto but it's from 2001 and only covers limiting specific IP ports.
Essentially I want to say "this interface is only allowed to push and pull at X megs per second." I don't care about bursting or anything of that. They get a specific pipe and that's all they're allowed to use. We're looking at using a Cisco router and doing CAR which looks like it will work just fine, but I'd really like to be able to offer a free alternative.
Anyone had any experience with anything like this? Are there any specific router distros that would cater to just this?
