From nobody Fri Mar 03 04:12:31 2023 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PSZLl0zZ0z3wdD3 for ; Fri, 3 Mar 2023 04:12:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PSZLk6mWJz3PCk for ; Fri, 3 Mar 2023 04:12:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677816750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/E9mWqxQRM5vr5P3mu2TbN2B6w3dp7yQJ3ir/T61syM=; b=SDnU0u6mSl+seu+DtELsmcvK0hY27Hy7owXfGtNNOwNzbAbkqoZXpjzLJsIY84kgmT+0tH JsJ9WZlKe4TSFjU4p1spquQ+8oKMiJ/DkwO6scs87t4qQ0I0dFIB70YboIwPk/uHU8lAYW dXnYAeiOU+Kjb4SHBwa3hsqQ0OoGK6Fqu2yHBr5rBPkJ9NBkOxXWnBkKTKeSY0qZaL/uXT T9MnbMOZbOuDFri3qDoNyiuMzPgjOLee6GDb+tRYelvh7YrN27uCwsskLgkeS5qxEvX9cO cNP6da9o1InNv8HdAPJAQ5fh6/SAD9KQjvd1ok5pG3AWKJG9ItZhxh8jF4chnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677816750; a=rsa-sha256; cv=none; b=F5hb36M7/311ds31yAH7QJkbCQtc7RINMhtHCceQKtF+Sd1XsOCRI2CKCsoeyl3l9UX/xA 1LuE5uKoW63wBo2f4/5WCT6mhpnAjlYl9xFyIpIqqe19ihHc63UQ0qB3sI1I9Bn0nTBIV+ 96kTos/A5AKDsfAoq1UjQYTGOEDaodS3Z4/IxrVDtBeOqx6wDVsejXpKj20Nq/SEJED4QX ChlC1Eu3Fl/Q/tpAb5u8b53+JkIx/Fl70OBhjQ0cik0Zc877HOFO71eQ66PlzBLy4/nUhf KyntyWvWzMHznrlyUxf7ZnxCCqgM8ui8YF9wya6WY146XhDn2xHkjFCAogX3Fg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PSZLk5r42zk7m for ; Fri, 3 Mar 2023 04:12:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3234CUvf065177 for ; Fri, 3 Mar 2023 04:12:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3234CU5x065176 for net@FreeBSD.org; Fri, 3 Mar 2023 04:12:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 269908] CARP feature breaks the network Date: Fri, 03 Mar 2023 04:12:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: franklin.suvi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269908 --- Comment #3 from 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 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.=