dummynet question

khoa phan truongkhoa1984 at yahoo.com
Thu Aug 3 11:33:54 BST 2006


Thanks Mr Dominic!
you wrote:
>I'm guessing that would be because the in and out
>traffic is going via
>the same dummynet pipe. So every packet is being
counted >twice.
Yes, I think so. But when I create 2 pipe for traffic
in and out as follow:
ipfw add pipe 1 ip from 192.168.1.2 to 10.0.0.2 in
ipfw add pipe 2 ip from 10.0.0.2 to 192.168.1.2 out
then any config of pipe 2 is not value, traffic only
go through pipe 1. For example:

ipfw pipe 1 config bw 100Mbit/s
ipfw pipe 2 config bw 100Mbit/s 
-> throughput: 47.3 Mbit/s

ipfw pipe 1 config bw 0Mbit/s
ipfw pipe 2 config bw 100Mbit/s 
-> throughput: 94.2Mbit/s
Can you tell me what I wrong??
Thanks a lot.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Ukfreebsd mailing list