ethernet over ip

Pawel Malachowski pawmal at unia.3lo.lublin.pl
Tue Aug 3 07:19:42 PDT 2004


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


More information about the freebsd-net mailing list