maximum pipes in dummynet?
Yuchung Cheng
ycheng at cs.ucsd.edu
Wed Nov 5 10:59:51 PST 2003
Hi all,
I am using dummynet to simulate many different links. After dummynet seems
to slow down after more than 4000 (static) pipes. That is, the link delay
is more than the specified delay. My config file looks like
ipfw add 1 pipe 7 tcp from 192.168.2.100 10003 to 192.168.1.100 out
ipfw pipe 7 config bw 730KByte/s queue 40 delay 4ms plr 0.01
ipfw add 1 pipe 8 tcp from 192.168.1.100 to 192.168.2.100 10003 in
ipfw pipe 8 config bw 730KByte/s queue 40 delay 4ms plr 0.01
ipfw add 1 pipe 9 tcp from 192.168.2.100 10004 to 192.168.1.100 out
ipfw pipe 9 config bw 1400KByte/s queue 40 delay 28ms plr 0.00
ipfw add 1 pipe 10 tcp from 192.168.1.100 to 192.168.2.100 10004 in
ipfw pipe 10 config bw 1503KByte/s queue 40 delay 28ms plr 0.00
My machine is 2.66 P4 w/ 1G mem. Does anybody know how to make dummynet
support more pipes?
Also is it possible to specify one pipe for more than one port? i.e.,
ipfw add 1 pipe 10 tcp from 192.168.1.100 to 192.168.2.100 10004,10537,3045 in
Thanks.
Yu-chung
More information about the freebsd-ipfw
mailing list