Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using iproute2 and netfilter, can anyone explain to me a way to mark packets and throttle them based on port? Ideally I'd like HTTP(80) to have highest priority, VoIP(assume 1400) to have a 2nd priority, MySQL(3389) 3rd priority, FTP(21) fourth, and every thing else lower, such that if someone is playing a game, and then a VoIP app is launched, the game is throttled back to allow the VoIP to suck up as much bandwidth as it needs.
Stats of my system:
-bash-2.05b# uname -a
Linux router 2.4.21-xfs #13 SMP Tue Aug 26 01:46:14 CEST 2003 i586 GNU/Linux
-bash-2.05b# iptables -v
iptables v1.2.9: no command specified
-bash-2.05b# ip -V
ip utility, iproute2-ss010824
-bash-2.05b# tc -V
tc utility, iproute2-ss010824
This is a debian unstable box and I believe it does NOT have HTB so the previous posts I've read don't apply.
the debian pkg shaper fit's good here but it's not that configureable. uses CBQ and is easy to set up. shaped a 2Mbit 1 year ago - works fine. also have a look at the bandwidth-limiting-howto.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.