Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Mar 2023 04:12:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 269908] CARP feature breaks the network
Message-ID:  <bug-269908-7501-3ZiRSMafhM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269908-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269908-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269908

--- Comment #3 from franklin.suvi@gmail.com <franklin.suvi@gmail.com> ---
Details:
Machine 1:=20
    Physical MAC: 00:50:56:a7:0f:7f
    IP Address:   10.10.4.17
Machine 2:=20
    Physical MAC: 00:50:56:a7:e3:41
    IP Address:   10.10.4.18
CARP:=20
    Virtual MAC: 00:00:5e:00:01:01
    Virtual IP: 10.10.4.19

Steps followed:
1.  Configure CARP on Machine 1.=20
    ifconfig nic0 vhid 1 pass testing alias 10.10.4.19/28 advskew 10
    This box becomes the MASTER
2.  Configure CARP on Machine 2.=20
    ifconfig nic0 vhid 1 pass testing alias 10.10.4.19/28 advskew 20
    This box becomes the BACKUP
3.  Re-configure CARP on Machine 1, to trigger a failover.
    ifconfig nic0 vhid 1 pass testing alias 10.10.4.19/28 advskew 30
    Since now the advskew value of Machine 1 is higher than the Machine 2's
value,   Machine 1 will become the BACKUP and Machine 2 will become the MAS=
TER.=20

Observation / Failure.=20
At step 3, the moment Machine 2 becomes the MASTER, it makes the ARP
announcement.
To this announcement when the Machine 1, who is in BACKUP state, which is
supposed to be quiet, responds with "Duplicate use of <ip> detected" GARP
message. Interestingly at this point, the Source MAC address is the physical
MAC address and the Source IP address is the Virtual IP address. Please find
the attached tcpdump files captured from both the machines.=20

Due to this error, the CISCO ACI endpoint table messed up and is routing
traffic  to the wrong device.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269908-7501-3ZiRSMafhM>