Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2004 16:17:31 +0200
From:      Pawel Malachowski <pawmal@unia.3lo.lublin.pl>
To:        freebsd-net@freebsd.org
Subject:   Re: ethernet over ip
Message-ID:  <20040803141731.GA52816@shellma.zin.lublin.pl>
In-Reply-To: <A8535F8D62F3644997E91F4F66E341FC05DFC4@exchange.sandvine.com>
References:  <A8535F8D62F3644997E91F4F66E341FC05DFC4@exchange.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040803141731.GA52816>