From owner-freebsd-net@FreeBSD.ORG Thu Aug 15 18:04:33 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 889E9992 for ; Thu, 15 Aug 2013 18:04:33 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21F0D2FBB for ; Thu, 15 Aug 2013 18:04:32 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id q58so842448wes.20 for ; Thu, 15 Aug 2013 11:04:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=uW6L7yG3faQ5gga+Dlif+yUx2tKfsj3kX2hkzavgX2Q=; b=LZ4wa8L+SWn3327+ptEtxTnBMlkhgPZbxhhriRHm4rdFd4TV6ETwGolhbPLlWD6yi1 s/4PKm/e0Syy/93lLPP18YJYgUApHxWTcO7hajruae8+Q674QIefVXd/7oI4B3tzsyFM h8NIM30uKp6Vvl9YC4Wbl/eBVVa6VwuSXpCEjM/S3pockC0mMRWGanHXNlkr25AvXQfF LYrhzCCwEge5oO8tCunMVDQbuPk3ig+2U/enCsPH8suUCumq/hm2262Hq7QneYD0pkCK HrWdi1iFirxMGLkKV2aJJusAAtgzCWeJoIlEbculG81AQ31nSjZvIIJUSMzkr5EuDyqo fqdg== X-Gm-Message-State: ALoCoQmmUS0xvkS2ZpVv39xxA0GJX1TB9pnzkacDiUCQPg/QAV9OdW1wzsblrlKv0mXs6XEy2RAN X-Received: by 10.180.12.45 with SMTP id v13mr2099592wib.57.1376579699442; Thu, 15 Aug 2013 08:14:59 -0700 (PDT) Received: from [100.79.218.189] (22.26.90.92.rev.sfr.net. [92.90.26.22]) by mx.google.com with ESMTPSA id l5sm71744wia.6.2013.08.15.08.14.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 08:14:58 -0700 (PDT) References: <20130813133458.GA31184@insomnia.benzedrine.cx> <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> Mime-Version: 1.0 (1.0) In-Reply-To: <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd> X-Mailer: iPhone Mail (10B144) From: Damien Fleuriot Subject: Re: Create CARP interface in state INIT? Date: Thu, 15 Aug 2013 17:13:15 +0200 To: Karl Pielorz 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:04:33 -0000 On 15 Aug 2013, at 16:01, Karl Pielorz wrote: >=20 >=20 > --On 13 August 2013 15:34 +0200 Daniel Hartmeier wr= ote: >=20 >> 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: >>=20 >> ifconfig carp0 create >> ifconfig carp0 inet 192.168.107.21 >> ifconfig carp0 down >> ifconfig carp0 vhid 21 pass secret advskew 100 >=20 > Hmmm, I tried that - and it leaves the interface in a 'weird' state (at le= ast not the state I was expecting): >=20 > carp0: flags=3D9 metric 0 mtu 1500 > inet 192.168.107.21 netmask 0xffffff00 > nd6 options=3D21 >=20 > Subsequently doing a 'ifconfig carp0' doesn't bring it up either :( >=20 > -Karl >=20 Running CARP in production from rc.conf fine here. What version of the OS are you using ?