Re: distributed bridging

From: Julian Elischer (julian_at_elischer.org)
Date: 10/28/05

  • Next message: Julian Elischer: "Re: distributed bridging [script]"
    Date: Fri, 28 Oct 2005 12:28:35 -0700
    To: spoggle <dcornejo@gmail.com>
    
    

    spoggle wrote:

    >Greetings,
    >
    >I'm trying to create a configuration that would bridge interfaces on
    >different hosts. Each host would have at least two interfaces, one
    >would be the inter-host connection, the remaining would be the bridged
    >interfaces, so that a packet appearing on host a's bridged interface
    >would also appear on host b, c, etc. bridged interfaces and vice
    >versa.
    >
    >My equipment to try this is on order, so it's still somewhat of a
    >brain exercise.
    >
    >I would like to use if_bridge (for it's STP) and I was thinking of
    >bridging the local interfaces and then using netgraph (eiface?)
    >connected to some other plumbing like l2tp to connect the remote
    >bridges together.
    >
    >Does this sound feasible? Anyone have any other suggestions on how to
    >pull this off?
    >
    >I've also considered hacking if_bridge to allow the configuration of
    >remote bridges as pseudo ports, but not sure I'll have time.
    >
    >

    on machine A you have:
    NIC A 1.1.1.1
    NIC B 10.0.0.1
    on machine B you have:

    NIC A 2.2.2.2
    NIC B 10.0.0.2

    On each machine use a modification of
    /usr/share/examples/netgraph/ether.bridge

    so that one link of each bridge is set to an ng_ksocket instead of a
    real interface.
    then send messages to each or the sockets to connect to each other with UDP.

    how to do this is in /usr/share/examples/netgraph/udp.tunnel

    by combining the two you should create a tunnel between the two bridges
    which
    should result in a single bridged network.

    that should be about all you need.

    >spoggle
    >_______________________________________________
    >freebsd-net@freebsd.org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-net
    >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    >
    >
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Julian Elischer: "Re: distributed bridging [script]"

    Relevant Pages

    • Re: [PATCH 0/1] IPN: Inter Process Networking
      ... exiting tap interfaces would seem to do everything you are looking for. ... So, you say, it's a networking issue and we could live with tun/tap. ... at present, dealing with tun/tap, bridges, ... virtualization, but that's another topic). ...
      (Linux-Kernel)
    • Re: single host netmask (255.255.255.255)
      ... The routes from three interfaces, propagate via OSPF to the rest of network.... ... One way is to remember IP addresses assigned to each interfaces, but more smart solution is to assign to this machine one EXTERNAL LOOPBACK address (single IP with mask 255.255.255.255, in other words SINGLE HOST assigned to Microsoft loopback adapter), and propagate this address ... The address 255.255.255.255 denotes a broadcast on a local hardware network, ...
      (microsoft.public.win2000.networking)
    • Re: hostnames and interfaces
      ... > interface) and routers (multiple interfaces) can one define multiple ... > host names and IP addresses (strickly speaking that is what dns etc sees?) ... this can be a problem with a multi-homed host: ... Any machine will have a hostname -- that is the name which gets ...
      (freebsd-questions)
    • Re: Problem with Realtek 8139(It sends ARP but the reply is lost)
      ... Dynamic Configuration of IPv4 Link-Local Addresses ... To participate in wide-area IP networking, ... configured with IP addresses for its interfaces, ... Dynamic Host Configuration Protocol server. ...
      (comp.os.linux.networking)
    • Re: Two taps, one IP?
      ... either my Debian guests or Ubuntu host wrong. ... This creates two tap interfaces on the Ubuntu host, ... But each is unable to wget the ... The error message suggests some sort of routing problem, ...
      (Debian-User)