Re: ethernet over ip

From: Ruslan Ermilov (ru_at_freebsd.org)
Date: 07/30/04

  • Next message: Dinesh Nair: "Re: packet order, ipf or ipfw"
    Date: Fri, 30 Jul 2004 14:22:21 +0300
    To: "Nickolay A. Kritsky" <nkritsky@star-sw.com>
    
    
    

    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@FreeBSD.org
    FreeBSD committer
    
    



  • Next message: Dinesh Nair: "Re: packet order, ipf or ipfw"

    Relevant Pages

    • ethernet over ip
      ... How can a body do ethernet over ip on FreeBSD? ... with netgraph you can do that. ... To unsubscribe, ...
      (freebsd-net)
    • Re: ethernet over ip
      ... > How can a body do ethernet over ip on FreeBSD? ... > with netgraph you can do that. ... To unsubscribe, ...
      (freebsd-net)
    • DSL router when what I need is a bridge; ARP problem?
      ... My only choice for a DSL isp will only do G.lite in routing mode, ... the freebsd box handling routing and other duties for hosts connected ... to a hub on another ethernet card. ... From the arp man page, it seems like an arp -s entry should be ...
      (freebsd-questions)
    • Problems with inward PPTP tunnel
      ... I've routinely used FreeBSD to create firewall routers which protect the machines inside the firewall from attempted connections from the outside world, but allow an administrator to "tunnel into" the LAN using PPTP to do maintenance. ... I knew that the PPTP daemon invokes FreeBSD's userland PPP program, which creates the routing table entries that make the tunnel work. ...
      (freebsd-net)
    • network perf : em driver ?
      ... I'm the happy owner of a Tyan Tiger i7520SD motherboard, sporting two ethernet ports using a Intel 82571EB GbE controller and running FreeBSD 6.2 RC1. ...
      (freebsd-performance)