Date: Mon, 24 Sep 2001 10:39:19 -0700 From: rick norman <rick.norman@lmco.com> To: Luigi Rizzo <luigi@info.iet.unipi.it> Cc: freebsd-hackers@freebsd.org Subject: Re: ipfw and dummynet Message-ID: <3BAF6FC7.6E548D65@lmco.com> References: <200109220404.GAA64667@info.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the responses, as expected it was an operator head space problem. My lack of understanding how the default queues and bw would make ping look. Apparently, enough delay is introduced merely by adding a pipe that the ping client timesout waiting for the reponse. The response was actually returning which became visible when I upped the timeout. I also didn't realize that the counters reflected the input to the pipe and not the output which was why I didn't see any change when I added a bw clamp. Luigi Rizzo wrote: > hi, > > can you show me the output of > ipfw show > and > ipfw pipe show > > Reading your questions, i have the feeling you are doing > something wrong in the commands. > For the last one, the client will keep generating its stream > of data, it is just after going through the pipe that you will > see the limitation in effect. > > cheers > luigi > > ----------------------------------+----------------------------------------- > Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) > http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 > Phone (510) 666 2927 . > ----------------------------------+----------------------------------------- > > > I tried "questions" for this but no answer. > > > > I am attempting to use ipfw and dummynet to instrument some network > > traffic tests. I am running freebsd 4.3 release and have built the > > kernel > > with ipfirewall, dummynet, and default to enabled. For a simple test, I > > > > added a pipe "ipfw add pipe 1 icmp from any to any". When I ping this > > machine, I can do "ipfw pipe 1 show" and watch the counters increment, > > but the machine doing the pinging does not see a response to the ping. > > That's > > my first question. Next, when I try to delete the pipe, "ipfw pipe 1 > > delete", it > > won't delete. The only way I can get rid of it is to do a flush. That's > > > > the second > > question. Third question, if I type "ipfw pipe 1 config bw 10Bytes/s", > > I would > > expect the bw to be limited and the counters to reflect this limit. The > > > > counters > > indicate no change in the 64 byte/s generated by my windows client. > > > > I have read the man pages for ipfw, dummynet, and ipfirewall. If these > > are > > obvious questions, I would appreciate a pointer to a good reference. > > > > Thanks > > > > > > > > -- > > > > Logically speaking, logic is not the answer. > > > > Rick Norman > > rick.norman@lmco.com > > 408 742 1619 > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > -- Logically speaking, logic is not the answer. Rick Norman rick.norman@lmco.com 408 742 1619 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BAF6FC7.6E548D65>