tc (Linux)#Queuing Discipline
{{short description|Linux user-space utility program}}
{{DISPLAYTITLE:tc (Linux)}}
File:Simplified_Structure_of_the_Linux_Kernel.svg as iptables
to netfilter. Both are user-space CLI programs that are used to configure their respective Linux kernel subsystem.]]
tc (traffic control) is the user-space system administration utility program used to configure the Linux kernel packet scheduler.{{man|8|tc|die.net}}{{Cite book|last=Jha|first=Sanjay|url=https://www.worldcat.org/oclc/52751809|title=Engineering Internet QoS|date=2002|publisher=Artech House|others=Mahbub Hassan|isbn=1-58053-566-6|location=Boston|pages=69–71|oclc=52751809}} Tc is usually packaged as part of the iproute2 package.{{cite web |url=https://packages.debian.org/sid/amd64/iproute2/filelist |title=list of the Debian package iproute2 |work=Debian}}
Syntax
{{Expand section|date=May 2020|section=1}}
tc filter add dev pppoe-dsl parent 1: prio 1 protocol ip handle 202 fw flowid 1:202
See also
References
{{Reflist}}
External links
- [http://tldp.org/HOWTO/Traffic-Control-HOWTO/index.html Traffic Control HOWTO] Dated but still very relevant HOWTO from the Linux Documentation Project.
- [http://lartc.org/lartc.html#LARTC.QDISC Linux Advanced Routing & Traffic Control HOWTO] More up-to-date HOWTO for advanced networking topics, including traffic control
- [http://linux-tc-notes.sourceforge.net/tc/doc/ Linux TC Notes] brief note of various parts of linux traffic control. English is sometimes broken, but the information is still good.
- [http://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic/ tc: Linux HTTP Outgoing Traffic Shaping] Example use of tc for shaping tcp/80 traffic.
- [https://wiki.archlinux.org/index.php/Advanced_traffic_control Advanced Traffic Control] ArchLinux wiki entry for traffic control with tc.
- [http://tcng.sourceforge.net tcng] A proposed alternative to the regular tc program, however it appear to have stalled.
Category:Linux network-related software
{{linux-stub}}