Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2005 11:23:39 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Nickolay Kritsky <Nickolay.Kritsky@astra-sw.com>
Cc:        sferreira@comcast.net, freebsd-net@freebsd.org, freebsd-ipfw@freebsd.org
Subject:   Re: FREEBSD between two trunks
Message-ID:  <20050606182338.GE655@funkthat.com>
In-Reply-To: <D86BF562467D944EB435513F725B236A0D7940@exchange.stardevelopers4msi.com>
References:  <D86BF562467D944EB435513F725B236A0D7940@exchange.stardevelopers4msi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@resnet.uoregon.edu] 
> Sent: Saturday, June 04, 2005 10:15 PM
> To: sferreira@comcast.net
> Cc: freebsd-ipfw@freebsd.org; freebsd-net@freebsd.org
> Subject: Re: FREEBSD between two trunks
> 
> sferreira@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."



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