dummynet question

Jeremie Le Hen jeremie at le-hen.org
Mon Feb 21 11:31:04 GMT 2005


Hi Sipat,

you should have used freebsd-ipfw@ for this question.

> I setup my FreeBSD 5.3 box as a bridge and use dummynet to introduce
> delay and bandwidth limitation. 
> 
> My question is I'm finding the way to interconnect the pipes together
> within the same machine. 
> 
> For example, I have 3 pipes with different configuration. The I would
> like to emulate a more complex network by connecting input to pipe1,
> pipe1 to pipe2, pipe2 to pipe3, and pipe3 to output network.  
> 
> If anyone has any ideas, please help me.

It's very simple.  You just have to define multiple pipes and then add
rules to make packets go through them.  The only thing you have to be
careful about is that the net.inet.ip.fw.one_pass is set to 0.

Regards,
-- 
Jeremie Le Hen
jeremie at le-hen dot org


More information about the freebsd-current mailing list