I have a bridge running in this way:
The guest1 is newly added and should connect as shown.
The problem: jail1 and jail2 cannot see each other anymore, and report each other as
All the others can see and connect everything (except tap1/guest1, which is not yet configured). But ARP requests from jail1 do not appear at jail2, and vice versa (everybody else does see them).
When I disconnect tap1, everything starts to work correctly again. Also when I connect tap1 to the bridge after the jails, things do work.
What is happening here? Does the bridge walk it's links in the order of creation (from bottom to top in the list) to broadcast the arp, gets some hiccup at link4 (because probably something is wrong with tap1), and then forgets to broadcast the remaining links?
I was thinking I can attach a tap to a bridge just like any physical interface, i.e. connect the lower wire.
Code:
other_machine ----- | physif -- BRIDGE --- HOST
other_machine ----- | physif -- --- jail1
--- jail2
--- guest1
The guest1 is newly added and should connect as shown.
Code:
Name: lanswitch Type: bridge ID: 00000009 Num hooks: 7
Local hook Peer name Peer type Peer ID Peer hook
---------- --------- --------- ------- ---------
link16 nge_jail1_1l eiface 0000003a ether
link17 nge_jail2_1l eiface 00000032 ether
link4 tap1 ether 00000028 lower
link3 nge_host_1u eiface 00000015 ether
link2 re0 ether 00000001 lower
link1 fxp3 ether 00000005 lower
link0 fxp1 ether 00000003 lower
The problem: jail1 and jail2 cannot see each other anymore, and report each other as
Host is down
. All the others can see and connect everything (except tap1/guest1, which is not yet configured). But ARP requests from jail1 do not appear at jail2, and vice versa (everybody else does see them).
When I disconnect tap1, everything starts to work correctly again. Also when I connect tap1 to the bridge after the jails, things do work.
What is happening here? Does the bridge walk it's links in the order of creation (from bottom to top in the list) to broadcast the arp, gets some hiccup at link4 (because probably something is wrong with tap1), and then forgets to broadcast the remaining links?
I was thinking I can attach a tap to a bridge just like any physical interface, i.e. connect the lower wire.