Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I have an Ubuntu machine acting as a router/Stateful Firewall/NAT for my internet connection. It has a couple of ethernet ports and a wireless network for my home network (eth5, eth7, eth10 and wlan1). It is connected with a DSL modem in bridged mode giving it a connection to the internet called ppp0. I currently use tc and a simple rate limit (TBF, IIRC) to shape the outgoing traffic (which works great -- no matter how much is uploading, my connection does not increase latency because of it, which is the goal).

What I would like to do is use tc to limit and prioritize my incoming traffic. I know you can't do this without setting a a fake device, using IMQ or IFB. (I believe IFB is the new, "right" way to do it.)

So, how do I set up IFB so I can I set up IFB so I can set up a simple TBF limit for now (and later set up bandwidth allocations, like TCP ack packets get a certain guaranteed amount of bandwidth)?

share|improve this question

closed as too localized by Seth, vasa1, bodhi.zazen, Rafał Cieślak, Eric Carvalho Mar 2 '13 at 0:04

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I really like the question, but I think it might be a better fit on UL instead of AU. UL tends to field more server/appliance/technical questions, in my opinion, where AU tends to field more 'getting my desktop running properly' questions. I could be mistaken though. If you post it on UL instead, definitely delete the question here when you do. – RobotHumans Apr 6 '12 at 21:41
Wouldn't it be better to move it there and not to post another similar question? In my opinion this question might also be good at There were several questions of this kind answered. – qbi Apr 6 '12 at 21:43
I agree on serverfault being another possible. I think a post and delete sidesteps dumping work on moderators, so I'm all for it. – RobotHumans Apr 6 '12 at 21:44

This is a good read. It involves installing shorewall though.

share|improve this answer

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