红联Linux门户
Linux帮助

linux做路由,限速的问题

发布时间:2010-03-11 11:45:12来源:红联作者:lzping520
大家用什么限速、?

tc还是iptable

我用redhat做路由 使用脚本:

iptables -N QOS
iptables -A FORWARD -i eth1 -p ALL -m hashspeed \! --hashspeed-bytes 186K --hashspeed-mode srcip --hashspeed-name slimit -j QOS
iptables -A FORWARD -o eth1 -p ALL -m hashspeed \! --hashspeed-bytes 3027K --hashspeed-mode dstip --hashspeed-name dlimit -j QOS


限速

提示缺少/lib/iptables/libipt_hashspeed.so 文件,是我没有安装还是?
文章评论

共有 2 条评论

  1. lzping520 于 2010-03-27 17:53:31发表:

    复制进去肯定不可以的。

    我用hashspeed模块,但是在redhat5.0下无法安装。

  2. skyshade 于 2010-03-13 19:21:40发表:

    这个提示应该是缺少libipt_hashspeed.so 这个库文件
    建议你到网上下载这个文件
    放在/lib/iptables/目录下面
    就可以解决问题了