19,614
社区成员
发帖
与我相关
我的任务
分享
请问大家,nistent 可以实现在两个网段之间模拟 drop , delay 吗?如何添加策略?
目前只知道在两个固定IP主机之间模拟,不知道如何添加策略,能在两个网段之间使用该软件。
请教 nistnet 的详细用法,下面只能看个大概用法。
[root@localhost nistnet]# cnistnet -a
Usage: cnistnet <options> - must be root to run it.
-u up (on)
-d down (off)
-a src[:port[.protocol]] dest[:port[.prot]] [cos] add new
[--delay delay [delsigma[/delcorr]]]
[--drop drop_percentage[/drop_correlation]]
[--dup dup_percentage[/dup_correlation]]
[--bandwidth bandwidth]
[--drd drdmin drdmax [drdcongest]]
-r src[:port[.prot]] dest[:port[.prot]] [cos] remove
-s src[:port[.prot]] dest[:port[.prot]] [cos] see stats
-S src[:port[.prot]] dest[:port[.prot]] [cos] see stats continuously
[-n] -R read table (-n numerical format)
-D value debug on (value=1 minimal, 9 maximal)
-U debug off
-G global stats
-K kickstart the clock
-F flush the queues
-h this help message