From owner-freebsd-net@FreeBSD.ORG Fri Feb 1 23:49:22 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 69253CFB for ; Fri, 1 Feb 2013 23:49:22 +0000 (UTC) (envelope-from ask@develooper.com) Received: from mbox1.develooper.com (mbox1.develooper.com [207.171.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 529A5656 for ; Fri, 1 Feb 2013 23:49:21 +0000 (UTC) Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) by mbox1.develooper.com (Postfix) with ESMTP id 6D4EB175ACD for ; Fri, 1 Feb 2013 15:24:37 -0800 (PST) Received: (qmail 26666 invoked from network); 1 Feb 2013 23:24:37 -0000 Received: from unknown (HELO ask.bur.sol) (ask@mail.dev@64.235.248.131) by smtp.develooper.com with ESMTPA; 1 Feb 2013 23:24:37 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Carp configuration errors From: =?iso-8859-1?Q?Ask_Bj=F8rn_Hansen?= In-Reply-To: Date: Fri, 1 Feb 2013 15:24:37 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <4946BA07-B722-42C7-B5B0-505167541EBA@develooper.com> References: <0154442B-C0E9-4731-A85E-1A44F3ED1F47@develooper.com> To: Anton Yuzhaninov X-Mailer: Apple Mail (2.1499) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 23:49:22 -0000 On Jan 25, 2013, at 2:13, Anton Yuzhaninov wrote: > ABrH> After upgrading to 9.1 it seems like carp doesn't pay attention = to advskew anymore. I have two boxes each setup with carp0 and carp1; = the intention is that in regular operation proxy1 is master for carp0 = and proxy2 for carp1. However, whichever box comes up second is BACKUP = for both. >=20 > 1. Do your have sysctl net.inet.carp.preempt=3D1 ? With preempt=3D0 = box > comes up second should be in backup state. Indeed, that fixed it! And thank you for the hint about = net.inet.carp.log. Thank you again. Ask=