From owner-freebsd-net@FreeBSD.ORG Thu Aug 15 18:33:43 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B7C6E97 for ; Thu, 15 Aug 2013 18:33:43 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7E5112197 for ; Thu, 15 Aug 2013 18:33:43 +0000 (UTC) Received: from study64.tdx.co.uk (study64.tdx.co.uk [62.13.130.231]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r7FIXZqE035766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Aug 2013 19:33:35 +0100 (BST) Date: Thu, 15 Aug 2013 19:33:38 +0100 From: Karl Pielorz To: Damien Fleuriot Subject: Re: Create CARP interface in state INIT? Message-ID: In-Reply-To: <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd> References: <20130813133458.GA31184@insomnia.benzedrine.cx> <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-net@FreeBSD.org, Daniel Hartmeier 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: Thu, 15 Aug 2013 18:33:43 -0000 --On 15 August 2013 17:13:15 +0200 Damien Fleuriot wrote: >> Hmmm, I tried that - and it leaves the interface in a 'weird' state (at >> least not the state I was expecting): >> >> carp0: flags=9 metric 0 mtu 1500 >> inet 192.168.107.21 netmask 0xffffff00 >> nd6 options=21 >> >> Subsequently doing a 'ifconfig carp0' doesn't bring it up either :( > Running CARP in production from rc.conf fine here. Yeah, we have a number of boxes also using it from rc.conf - I'm trying to avoid rc.conf here though - as I need the interfaces to come up as INIT (i.e. not enabled / up) - to avoid any possibility of the box coming up, and 'stealing' MASTER even if the other machine is down... (something which you apparently can't achieve with rc.conf). > What version of the OS are you using ? 9.2-RC2 on amd64. -Karl