+-----net5501------+
| |
host1 ---+--vr0--? |
| |
host2 ---+--vr1--? |
| ?--re0--+----isp dhcp
host3 ---+--vr2--? |
| |
host4 ---+--vr3--? |
| |
+------------------+
On 4/26/12 2:17 AM, Jed Clear wrote:
> I'll assume you've seen http://www.openbsd.org/faq/faq6.html#Bridge
Yes, that was the first place I looked, along with various web pages on
bridging. It seems that bridging only two interfaces is what is covered.
> Can you expand on "does not work"? Do you mean host1-4 can't ping
> each other? Or they can't ping the IP on the net5501 bridge
> interface? Or they can't reach the Internet through the net5501
> (assuming that is the ultimate goal)?
The middle one, I'm not getting as far as pinging the net5501 bridge
interface.
I've bridged vr0 - vr3 and they show up in the bridge. I've assigned an
IP number to vr0 and serve DHCP to that ip range. If I connect to vr0,
I can get an address via DHCP. If I connect to the other ports, then I
cannot. If I understand correctly, connections from vr1 - vr3 will be
bridged to vr0 and will get DHCP from vr0 via the bridge, but that is
not happening.
Regards
/Lars
> If hosts1-4 can't ping each other, do you still have
> /etc/hostname.vr0-3 with the "up"? Can you post the output of
> "ifconfig -a"? Any network related log entries from a reboot?
====
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33196
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet 127.0.0.1 netmask 0xff000000
vr0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:00:24:cb:a9:24
priority: 0
media: Ethernet autoselect (none)
status: no carrier
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::200:24ff:fecb:a924%vr0 prefixlen 64 scopeid 0x1
vr1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:00:24:cb:a9:25
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecb:a925%vr1 prefixlen 64 scopeid 0x2
vr2: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:00:24:cb:a9:26
priority: 0
media: Ethernet autoselect (none)
status: no carrier
inet6 fe80::200:24ff:fecb:a926%vr2 prefixlen 64 scopeid 0x3
vr3: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu 1500
lladdr 00:00:24:cb:a9:27
priority: 0
media: Ethernet autoselect (none)
status: no carrier
inet6 fe80::200:24ff:fecb:a927%vr3 prefixlen 64 scopeid 0x4
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0a:fa:20:03:79
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::20a:faff:fe20:379%re0 prefixlen 64 scopeid 0x5
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33196
priority: 0
groups: pflog
bridge0: flags=41<UP,RUNNING>
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto
rstp
vr3 flags=3<LEARNING,DISCOVER>
port 4 ifpriority 0 ifcost 0
vr2 flags=3<LEARNING,DISCOVER>
port 3 ifpriority 0 ifcost 0
vr1 flags=3<LEARNING,DISCOVER>
port 2 ifpriority 0 ifcost 0
vr0 flags=3<LEARNING,DISCOVER>
port 1 ifpriority 0 ifcost 0
===
>From /var/log/daemon,
Apr 26 09:45:24 net5501 dhcpd[2122]: Can't listen on vr3 - it has no IP
address.
Apr 26 09:45:24 net5501 dhcpd[2122]: Can't listen on vr2 - it has no IP
address.
Apr 26 09:45:24 net5501 dhcpd[2122]: Can't listen on vr1 - it has no IP
address.
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech