tunneling L2 tagged traffic over IP
Victor Sudakov
vas at mpeks.tomsk.su
Tue Apr 28 10:43:30 UTC 2015
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 at sibptus.tomsk.ru
More information about the freebsd-questions
mailing list