tunneling L2 tagged traffic over IP

Victor Sudakov vas at mpeks.tomsk.su
Sun Apr 26 12:36:37 UTC 2015


Nikos Vassiliadis wrote:
> >
> > Could you advise a solution for tunneling L2 (Ethernet) traffic over IP?
> >
> > There is a solution in bridge(4) using the EtherIP protocol, but it
> > works with untagged frames only. I need to tunnel 802.1q tagged frames
> > as well.
> >
> > Any ideas?
> >
> >
> You can do this with netgraph. Check this post:
> 
> http://lists.freebsd.org/pipermail/freebsd-net/2005-October/008861.html
> 

It's a modification of the /usr/share/examples/netgraph/ether.bridge
script. How do you know that it would pass 802.1q tagged frames? It
references a "fxp0" interface which passes untagged traffic unless a
vlan(4) interface is configured on top thereof.

I thought there would be a VPN solution involving tap(4) devices or
something. 

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


More information about the freebsd-questions mailing list