Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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. –  hbdgaf 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 serverfault.com. 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. –  hbdgaf Apr 6 '12 at 21:44

1 Answer 1

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

http://www.shorewall.net/traffic_shaping.htm#IFB

share|improve this answer

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