From owner-freebsd-net@FreeBSD.ORG Tue Aug 3 14:19:42 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9749B16A4CE for ; Tue, 3 Aug 2004 14:19:42 +0000 (GMT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 290EF43D69 for ; Tue, 3 Aug 2004 14:19:37 +0000 (GMT) (envelope-from pawmal@unia.3lo.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id 0C34A3474C1; Tue, 3 Aug 2004 16:17:32 +0200 (CEST) Date: Tue, 3 Aug 2004 16:17:31 +0200 From: Pawel Malachowski To: freebsd-net@freebsd.org Message-ID: <20040803141731.GA52816@shellma.zin.lublin.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2i Subject: Re: ethernet over ip X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 14:19:42 -0000 On Tue, Aug 03, 2004 at 09:36:11AM -0400, Dave Dolson wrote: > > How can a body do ethernet over ip on FreeBSD? I have heard that > > with netgraph you can do that. Has anybody tried this or maybe some > > other way? The goal is to connect two L2 networks on remote sites. > > I have tried it. > You can connect a lower hook of ng_ether to a ng_ksocket to bridge ethernet > packets over UDP. > (Set this up at both ends.) > > I don't remember the specifics; see man ng_ether and ng_ksocket. One can also try with userland tunnel daemon (like vtund), associate tunnel with tap(4) interfaces and turn on bridging on tap and LAN-side interfaces. -- Paweł Małachowski