Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2006 23:52:59 +0100
From:      Dunc <dunc@lemonia.org>
To:        freebsd-questions@freebsd.org
Subject:   dummynet on vlan parent interfaces
Message-ID:  <44611D4B.6030708@lemonia.org>

next in thread | raw e-mail | index | archive | help
Hi,

I am attempting to set up contended bandwidth of varying levels, using
vlans and dummynet.

I have 3 nics, one for each level of service, and am simply setting the
parent interface of each vlan device to the correct nic for required level.

I was then hoping to limit the whole real nic as a whole, to produce
contention.

Initially I tried:-

pipe 300 ip from any to any in via ste0
pipe 1300 ip from any to any out via ste0

But saw no packets hitting these rules. After a read of the ipfw manpage i
thought enabling the sysctl variable "net.link.ether.ipfw" might help,
which did indeed get me hits in one direction, but I still get no hits in
the outbound direction.

I'm guessing this is something to do with where dummynet sits in the whole
scheme of things, but basically just want to know if there is a way to do
what I'm trying or am I going about this the wrong way?

Cheers,

Dunc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44611D4B.6030708>