Layer2 VPN

Andrew Thompson thompsa at freebsd.org
Tue Oct 3 16:02:04 PDT 2006


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.
> 
> The 2 methods I thought of are:-
> 
> a) Create a tunnel between the 2 gateways using gif interfaces, and
> bridge the gifs onto a real NIC.
>
> Both methods seem to work fine, unless I try and put 802.1Q traffic down
> the VPN, in which case neither method works.

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.

Grab a tcpdump at the sending bridge0, sending interface, receiving
interface, receiving bridge0. You can send them to me if you need help
deciphering them.


cheers,
Andrew


More information about the freebsd-net mailing list