ethernet over ip

Ruslan Ermilov ru at freebsd.org
Fri Jul 30 04:22:41 PDT 2004


On Fri, Jul 30, 2004 at 01:31:44PM +0400, Nickolay A. Kritsky wrote:
> Hello freebsd-net,
> 
>   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.
> 
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,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040730/863674cd/attachment.bin


More information about the freebsd-net mailing list