From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 15:13:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13420106564A for ; Fri, 26 Aug 2011 15:13:41 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id CB1258FC0C for ; Fri, 26 Aug 2011 15:13:40 +0000 (UTC) Received: from mr12941.univ-rennes1.fr (mr129041.cri.univ-rennes1.fr [129.20.129.41]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 32E74FAA2DD3; Fri, 26 Aug 2011 17:13:39 +0200 (CEST) Received: from mr12941 (localhost.localdomain [127.0.0.1]) by mr12941.univ-rennes1.fr (Postfix) with ESMTP id DD11C7A000B; Fri, 26 Aug 2011 17:13:38 +0200 (CEST) Date: Fri, 26 Aug 2011 17:13:38 +0200 From: Patrick Lamaiziere To: Johan Hendriks Message-ID: <20110826171338.12dab256@mr12941> In-Reply-To: <6C3F8332272B7D4DA26909F15F1C90E1E5ABE6@SRV01.double-l.local> References: <6C3F8332272B7D4DA26909F15F1C90E1E5ABE6@SRV01.double-l.local> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "freebsd-questions@freebsd.org" Subject: Re: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 15:13:41 -0000 Le Fri, 26 Aug 2011 14:26:24 +0000, Johan Hendriks a écrit : > Ifconfig on the master > carp0: flags=49 metric 0 mtu 1500 > inet 192.168.50.45 netmask 0xffffff00 > nd6 options=29 > carp: MASTER vhid 1 advbase 1 advskew 30 > > Ifconfig on the slave > carp0: flags=49 metric 0 mtu 1500 > inet 192.168.50.45 netmask 0xffffff00 > nd6 options=29 > carp: BACKUP vhid 1 advbase 1 advskew 20 > > So even with the higher advskew value the master stays master. > > Am i doing something wrong. May be the difference is not big enough. Did you try with a greater advskew value ? advskew is added to the advbase with a advskew/256 (see man carp(4)). Regards.