From owner-freebsd-net@FreeBSD.ORG Thu Aug 15 14:01:35 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AF73A94 for ; Thu, 15 Aug 2013 14:01:35 +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 7467C2247 for ; Thu, 15 Aug 2013 14:01:35 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r7FE1LoA014593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Aug 2013 15:01:21 +0100 (BST) Date: Thu, 15 Aug 2013 15:01:24 +0100 From: Karl Pielorz To: Daniel Hartmeier Subject: Re: Create CARP interface in state INIT? Message-ID: <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> In-Reply-To: <20130813133458.GA31184@insomnia.benzedrine.cx> References: <20130813133458.GA31184@insomnia.benzedrine.cx> X-Mailer: Mulberry/4.0.8 (Win32) 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 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 14:01:35 -0000 --On 13 August 2013 15:34 +0200 Daniel Hartmeier wrote: > So, don't configure the carp interface in rc.conf, but do it in > /etc/rc.local, and be careful to add the address while the vhid is not > yet configured, as in: > > ifconfig carp0 create > ifconfig carp0 inet 192.168.107.21 > ifconfig carp0 down > ifconfig carp0 vhid 21 pass secret advskew 100 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 :( -Karl