FREEBSD between two trunks

John-Mark Gurney gurney_j at resnet.uoregon.edu
Mon Jun 6 18:23:55 GMT 2005


Nickolay Kritsky wrote this message on Mon, Jun 06, 2005 at 21:38 +0400:
> There was an old funny thing about bridging vlans: if you bridge vlanXX
> interfaces without bridging parents - do not forget to put parent in up
> and promiscuous mode. For 4.6 kernel it also required some patching.
> What version are you running?

What I was thinking he was going to due was not bridge the vlans
themselves, but the two interfaces, and let dummynet handle the vlan
packets just as any other normal packet..  He didn't say he needed
each vlan to have a seperate delay or bandwidth limit..

I've never done any bridging of vlans, so I don't know the specifics..
I am using vlans so my firewall only has to have one interface.. :)

It seems just setup the two interfaces to bridge, increase the mtu so
that they accept the larger vlan packets, configure dummynet properly,
and then route all packets through dummynet..

just my thoughts..

> -----Original Message-----
> From: John-Mark Gurney [mailto:gurney_j at resnet.uoregon.edu] 
> Sent: Saturday, June 04, 2005 10:15 PM
> To: sferreira at comcast.net
> Cc: freebsd-ipfw at freebsd.org; freebsd-net at freebsd.org
> Subject: Re: FREEBSD between two trunks
> 
> sferreira at comcast.net wrote this message on Fri, Jun 03, 2005 at 20:44
> +0000:
> > I'm trying to setup DUMMYNET to emulate long delays, such as those
> encountered in satellite links. The problem is that I have to place my
> freebsd host between two trunks passing vlans (2,3,4,5,6).
> > 
> > So the setup is:
> > 
> > cisco swictch trunks vlan 2,3,4,5,6 <-> freebsd <--> cisco switch
> trunks vlan 2,3,4,5,6
> > 
> > 
> > All the documents I could find  related to this subject matter has the
> freebsd as an endpoint and not connecting two trunks.  Also the freebsd
> has to be an invisible hop on the network, so it can not route this
> traffic.  I had setup my freebsd in bridge mode but I could not get this
> setup to work.
> 
> You may need to increase your mtu to allow the full sized packets to
> pass
> through...  or you could setup a vlan w/ and id that isn't used and let
> that
> adjust the mtu for you..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-net mailing list