From owner-freebsd-net@FreeBSD.ORG Thu Aug 15 18:47:43 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 E2FB04A8 for ; Thu, 15 Aug 2013 18:47:43 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7C4CF227B for ; Thu, 15 Aug 2013 18:47:43 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id x55so881666wes.4 for ; Thu, 15 Aug 2013 11:47:36 -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=cIxgLcgEY2BEs2Scjz6An3uPRxFGwHobtUVIyLvFwZI=; b=h1TwZv8sNW2jbtDdDwS2ir2/heh72pmo61jbHCB3kEbnnG4sRdGxDQjibTUGW0ue4d w+s6ApfTbEjA/+JGtoPLetILUphz9AP35NNYIZMuVT0w9An2D50EBQVd75LpevxSAgkT avti1N6QSK2jlXtpgB8H5JvdQTVPqJW06pq9/wLTtJYVEA1OcPGHzJTxvrvPCbeYePdX OWsxQbZNVwNwlVJo5EyYfQ+PR0zoVW21V1THFVzQd8TSIbACh5YjrOHs9+X2nrRlTiuJ yHIJq17VVmtGiuKSyKVX9a++1TCj7f81m7AXjSDKwK84XZmPp9P/qr728JfDaMEHHB4j RewQ== X-Gm-Message-State: ALoCoQnnxy2GdWTnfBqI9Y4mpudB8EjXHDYdqMsy+oXkFh5574RQJKOYHu3GguKTBJgnLt1U5zIY X-Received: by 10.180.126.97 with SMTP id mx1mr2707926wib.10.1376591977715; Thu, 15 Aug 2013 11:39:37 -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 jf2sm1058467wic.2.2013.08.15.11.39.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 11:39:37 -0700 (PDT) References: <20130813133458.GA31184@insomnia.benzedrine.cx> <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <72C131E1-124B-4E60-852E-2C9C7A1C8180@my.gd> X-Mailer: iPhone Mail (10B144) From: Damien Fleuriot Subject: Re: Create CARP interface in state INIT? Date: Thu, 15 Aug 2013 20:37:54 +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:47:43 -0000 On 15 Aug 2013, at 20:33, Karl Pielorz wrote: >=20 >=20 > --On 15 August 2013 17:13:15 +0200 Damien Fleuriot wrote: >=20 >>> Hmmm, I tried that - and it leaves the interface in a 'weird' state (at >>> least 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 >> Running CARP in production from rc.conf fine here. >=20 > 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 's= tealing' MASTER even if the other machine is down... (something which you ap= parently can't achieve with rc.conf). >=20 >> What version of the OS are you using ? >=20 > 9.2-RC2 on amd64. >=20 > -Karl >=20 Oh I'm sorry I got that the other way around, thought you had it in INIT fro= m rc.conf and wanted to fix that. As has been pointed out, you prolly want to use rc.local My apologies for the noise.=