跳到主要內容

發表文章

目前顯示的是 9月, 2016的文章

Linux Traffic Control 讀書筆記

http://linux-ip.net/articles/Traffic-Control-HOWTO/components.html 4.1.  qdisc For traffic accepted on an interface, the  ingress  qdisc is traversed. With its limited utility, it allows no child  class  to be created, and only exists as an object onto which a  filter  can be attached. For practical purposes, the  ingress  qdisc is merely a convenient object onto which to attach a  policer  to limit the amount of traffic accepted on a network interface. In short, you can do much more with an egress qdisc because it contains a real qdisc and the full power of the traffic control system. An  ingress  qdisc can only support a policer. The remainder of the documentation will concern itself with traffic control structures attached to the  root  qdisc unless otherwise specified. 刪除 eth0 上的 filter sudo tc qdisc del dev eth0 root sudo tc qdisc del dev eth0 ingress tc filter show dev eth0 ingress tc...