From owner-freebsd-net@FreeBSD.ORG Fri Jul 30 11:22:41 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 905D116A4CF for ; Fri, 30 Jul 2004 11:22:41 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1E0143D55 for ; Fri, 30 Jul 2004 11:22:40 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i6UBMTdw004593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jul 2004 14:22:30 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i6UBMLQ3039693; Fri, 30 Jul 2004 14:22:21 +0300 (EEST) (envelope-from ru) Date: Fri, 30 Jul 2004 14:22:21 +0300 From: Ruslan Ermilov To: "Nickolay A. Kritsky" Message-ID: <20040730112221.GB39558@ip.net.ua> References: <18822576687.20040730133144@star-sw.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: <18822576687.20040730133144@star-sw.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-net@freebsd.org 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: Fri, 30 Jul 2004 11:22:41 -0000 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 30, 2004 at 01:31:44PM +0400, Nickolay A. Kritsky wrote: > Hello freebsd-net, >=20 > 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. >=20 This is trivial with Netgraph. Basically, you bridge (ng_bridge(4)) an Ethernet node (ng_ether(4)) with a UDP socket (ng_ksocket(4)) representing your tunnel, on each side of a tunnel. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --CdrF4e02JqNVZeln Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBCi9tqRfpzJluFF4RAl4uAJ9GcSabpxCgUHhe469M7vPfQenVbACfRgI2 8+/ETyhGEZXeWQ09jAW4dqI= =HE3Z -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln--