Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 16:43:24 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org, Nikos Vassiliadis <nvass@gmx.com>
Subject:   Re: tunneling L2 tagged traffic over IP
Message-ID:  <20150428104324.GA21238@admin.sibptus.tomsk.ru>
In-Reply-To: <20150428034047.GA4874@admin.sibptus.tomsk.ru>
References:  <20150425174935.GA48023@admin.sibptus.tomsk.ru> <553C1F66.4060901@gmx.com> <20150426123629.GA48916@admin.sibptus.tomsk.ru> <20150427093355.GA86151@admin.sibptus.tomsk.ru> <553E400F.2040906@gmx.com> <20150427143952.GA94033@admin.sibptus.tomsk.ru> <553E9A07.1020900@gmx.com> <20150428034047.GA4874@admin.sibptus.tomsk.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Victor Sudakov wrote:
> > 
> > STP frames are not forwarded. As well as other special frames:
> > 
> > >                 /*
> > >                  * Check if its a reserved multicast address, any address
> > >                  * listed in 802.1D section 7.12.6 may not be forwarded by the
> > >                  * bridge.
> > >                  * This is currently 01-80-C2-00-00-00 to 01-80-C2-00-00-0F
> > >                  */
> > 
> > FreeBSD does that unconditionally. That could probably be a tunable:)
> > If you have a "simple" ethernet bridge (without STP) you should
> > forward STP frames. I guess a patch would be welcome!
> 
> That's from src/sys/net/if_bridge.c
> 
> Fine. Maybe there are other ways to tunnel Ethernet without relying on
> if_bridge ?
> 
> Besides, I also need to tunnel 802.1q tagged frames, so if_bridge is
> unsuitable anyway.

I have tried a very simple netgraph configuration:

connect re0: tap0: lower lower
connect re0: tap0: orphans orphans

Result: STP frames are being passed successfully from re0 to tap0,
802.1q tagged frames are not. How very sad.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20150428104324.GA21238>