julian at elischer.org
Fri Oct 28 12:28:36 PDT 2005
>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
>My equipment to try this is on order, so it's still somewhat of a
>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
>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 220.127.116.11
NIC B 10.0.0.1
on machine B you have:
NIC A 18.104.22.168
NIC B 10.0.0.2
On each machine use a modification of
so that one link of each bridge is set to an ng_ksocket instead of a
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
should result in a single bridged network.
that should be about all you need.
>freebsd-net at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net