Layer2 VPN

Andrew Thompson thompsa at freebsd.org
Tue Oct 3 16:45:55 PDT 2006


On Wed, Oct 04, 2006 at 12:32:15AM +0100, Dunc wrote:
> Andrew Thompson wrote:
> >On Tue, Oct 03, 2006 at 11:41:07AM +0100, Dunc wrote:
> >  
> >>Hi folks,
> >>
> >>I've been trying to create a layer2 VPN using FreeBSD boxes as the 
> >>gateways.
> >>
> >This should work fine with vlan headers, do you have any indication of
> >where the problem is? you may need to get packet dumps at the sending
> >and receiving ends.
> >
> I couldn't see why it wouldn't either. It's just an ethernet frame with 
> an extra field filled in AIUI
> 

It may be because our bridge does not yet differentiate between vlans in
its forwarding table, you can confirm this by clearing the learn flag on all
the interfaces (ifconfig bridge0 -learn xxx0). Its not a proper solution
of course.

Andrew


More information about the freebsd-net mailing list