如果是做的网关,简单点用iptables就能实现。先一条匹配速率,第二条drop iptables -A FORWARD -s 192.168.0.2 -m limit --limit 20/s -j ACCEPT iptables -A FORWARD -s 192.168.0.2 -j DROP 查看man可知用的令牌桶方式匹配,你要是不理解令牌桶估计看tc的man会很艰难。Qos理论好无力
------------------ Original ------------------ From: "Christopher Meng"cickumqt@gmail.com; Date: Mon, May 6, 2013 11:38 PM To: "Fedora Chinese"chinese@lists.fedoraproject.org;
Subject: Re: [FZH] 求教linux下网络限速的方法
man tc -- Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
chinese@lists.fedoraproject.org