https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296106

            Bug ID: 296106
           Summary: [carp] [vlan] [bridge] CARP IP not responding on top
                    of bridge
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Trying to follow the way that is recommended (man bridge) to do host IP
connectivity with bridge members, I create vlan on top of bridge and assign my
IPs there, and I notice that normal IP works, but not CARP:

Host A: (client)

ifconfig vmx1 inet 192.168.20.1/24

Host B: (server with CARP)

ifconfig bridge1 create
ifconfig bridge1 addm vmx1 untagged 3400
ifconfig bridge1.3400 create
# main IP
ifconfig bridge1.3400 inet 192.168.20.2/24
# CARP IP
ifconfig bridge1.3400 vhid 99 pass 123 alias 192.168.20.3/24

Host A connectivity with Host B main IP works, but not with CARP IP:

hosta:~# ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2): 56 data bytes
64 bytes from 192.168.20.2: icmp_seq=0 ttl=64 time=1.150 ms
64 bytes from 192.168.20.2: icmp_seq=1 ttl=64 time=2.384 ms
^C
--- 192.168.20.2 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.150/1.767/2.384/0.617 ms

hosta:~# ping 192.168.20.3
PING 192.168.20.3 (192.168.20.3): 56 data bytes
^C
--- 192.168.20.3 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss


hosta:~# ifconfig 
vmx1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
       
options=4e403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether 00:50:56:a8:0b:e3
        inet 192.168.20.1 netmask 0xffffff00 broadcast 192.168.20.255
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


hostb:~# ifconfig
vmx1: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP>
metric 0 mtu 1500
       
options=4e403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether 00:50:56:a8:55:0c
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
bridge1: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP>
metric 0 mtu 1500
        options=10<VLAN_HWTAGGING>
        ether 58:9c:fc:10:d8:fc
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        bridge flags=1<VLANFILTER>
        member: vmx1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 2 priority 128 path cost 2000 vlan protocol 802.1q
untagged 3400
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>
bridge1.3400: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1496
        options=0
        ether 58:9c:fc:10:d8:fc
        inet 192.168.20.2 netmask 0xffffff00 broadcast 192.168.20.255
        inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.255 vhid 99
        groups: vlan
        carp: MASTER vhid 99 advbase 1 advskew 0
              peer 224.0.0.18 peer6 ff02::12
        vlan: 3400 vlanproto: 802.1q vlanpcp: 0 parent interface: bridge1
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


Is CARP supposed to work when on top of bridge ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to