From owner-freebsd-net@freebsd.org Thu Aug 13 22:58:13 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5283599FD17 for ; Thu, 13 Aug 2015 22:58:13 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21D6336F for ; Thu, 13 Aug 2015 22:58:13 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: by igui7 with SMTP id i7so1252814igu.0 for ; Thu, 13 Aug 2015 15:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Gt7pdJG6kafcl4wKItosJs9+6r2nnb0LKSHq/GBLISQ=; b=wdotS1ctZvCowfreUltGGaaNQejMumjdkXpYoBg0yKdXmHOt/KaTylst44UkTtwcgl m58jbjF7srf5IfTmwCgUkR4SStZLLs8UlDMsFIZqwPC49ns9i9ZenHFXl2XN6nSPI2GQ eJBaxQfA0WWrV8xfYANvqXu3SIJK6aw9lapd67IImLTZAUlEJGFyTOPU5nL6vXm6h+4P oBWH0FewEU8Ylm9pKBy0haFAs0D91t4t7nyvvsHHQaFDt1LQROoU3T0i63qKGyAOu5fL 6ue9OlYyLOkS5pko/vYyD1zm1g06vFrdpl0ha1v+ySdycRrBl91UAbwRali8iHCzfVXI HfkA== MIME-Version: 1.0 X-Received: by 10.50.78.133 with SMTP id b5mr5839106igx.32.1439506692198; Thu, 13 Aug 2015 15:58:12 -0700 (PDT) Received: by 10.107.131.163 with HTTP; Thu, 13 Aug 2015 15:58:12 -0700 (PDT) In-Reply-To: <55CD1CE6.2010502@lottspot.com> References: <55CD1CE6.2010502@lottspot.com> Date: Fri, 14 Aug 2015 01:58:12 +0300 Message-ID: Subject: Re: Ethernet tunneling options under FreeBSD From: Kimmo Paasiala To: James Lott Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 22:58:13 -0000 On Fri, Aug 14, 2015 at 1:40 AM, James Lott wrote: > Hello list, > > I am in the process of planning a build out of a L2 VPN, in which I'd like > to have my primary "switch" and DHCP server be a FreeBSD system. I would > like to join each new host to the VPN by establishing an IP tunnel with the > primary "switch" which transports ethernet frames over the tunnel. > > So far, the only protocol I have found supported by FreeBSD which seems > capable of this is EtherIP. As far as I can tell, it doesn't look like there > is any support for L2TPv3, and none of the PPP implementations available > appear to support BCP. > > I'm not completely opposed to using EtherIP, but if there is something more > modern which will meet my needs, I would probably try that first. So my > question becomes: > > * Does anyone know of a method supported under FreeBSD (other than EtherIP) > for tunneling ethernet over IP that they may be able to suggest I check out? > > Thanks for any suggestions! > First thing that comes to my mind is OpenVPN on a tap(4) interface. -Kimmo