Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2015 12:08:35 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Nikos Vassiliadis <nvass@gmx.com>, freebsd-questions@freebsd.org
Subject:   Re: tunneling L2 tagged traffic over IP
Message-ID:  <20150430060835.GA72072@admin.sibptus.tomsk.ru>
In-Reply-To: <553F699C.9030409@gmx.com>
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> <553F699C.9030409@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nikos Vassiliadis wrote:
> 
> On 04/28/15 05:40, Victor Sudakov wrote:
> > Fine. Maybe there are other ways to tunnel Ethernet without relying on
> > if_bridge ?
> 
> Then there is netgraph bridging, netgraph bridging AFAIK doesn't have
> this feature, it doesn't filter out special MACs.
> 
> You can ask at net@ for a script/help I believe.

I definitely will because I have found a strange thing.

The re0 NIC receives both tagged and untagged frames from a switch.
When I monitor the incoming traffic with "nghook -a re0: lower", I see
that both tagged and untagged frames are merged into one untagged
stream, i.e. ng_ether somehow strips the vlan tag from frames.

If I only knew how to obtain unmodified frames for further processing
within the netgraph system, I would know how to build my transparent
tunnel.

I have not found any relevant messages or options I could set for
ng_ether (like NGM_ETHER_SET_DONT_TOUCH_ANYTHING_DAMN_YOU maybe).

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



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