From owner-freebsd-bugs@freebsd.org Thu Aug 20 10:07:31 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33E7E9BC807 for ; Thu, 20 Aug 2015 10:07:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06D141BFB for ; Thu, 20 Aug 2015 10:07:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7KA7UdE058961 for ; Thu, 20 Aug 2015 10:07:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Thu, 20 Aug 2015 10:07:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dam@my.gd X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 10:07:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202510 Bug ID: 202510 Summary: [CARP] advertisements sourced from CARP IP cause double MASTER situations Product: Base System Version: 10.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dam@my.gd CC: glebius@FreeBSD.org We're running Host A 10.2-BETA and Host B 10.2-PRERELEASE. Host A is MASTER and Host B is supposed to be BACKUP. When CARPs are configured from rc.conf on Host B, I get into a MASTER-MASTER situation. When CARPs are configured manually on Host B, I get the normal behaviour. The bug is 100% reproductible. We've managed to narrow it down to the syntax used in /etc/rc.conf to configure the physical IP for the interface : When using the following syntax, the physical IP address is configured AFTER the CARPs on the interface, which results in the CARP advertisements being sourced from the CARP IP, triggering the double MASTER situation : ipv4_addrs_int="1.2.3.4/24" ifconfig_int_alias0="1.2.3.6/32 vhid 1 pass test advskew 20" When using either of the following syntaxes, the physical IP address is configured BEFORE the CARPs, which results in the CARP advertisements being sourced from the physical IP and restoring normal functionality : ifconfig_int="inet 1.2.3.4/24" ifconfig_int_alias0="1.2.3.6/32 vhid 1 pass test advskew 20" OR ifconfig_int_alias0="1.2.3.4/24" ifconfig_int_alias1="1.2.3.6/32 vhid 1 pass test advskew 20" -- You are receiving this mail because: You are the assignee for the bug.