From owner-freebsd-net@FreeBSD.ORG Thu Oct 16 09:41:37 2014 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A36FE31F for ; Thu, 16 Oct 2014 09:41:37 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C477827 for ; Thu, 16 Oct 2014 09:41:37 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id u20so2369843oif.14 for ; Thu, 16 Oct 2014 02:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EGKR722EVvLJmUwXuCdK8pzfOKsvwxLXs2v0qD9NfAU=; b=YKQABR9SH+P2QxDdjeTSBpCd6YMre+P+y+dghn+sPERWQN9lQtd6y0vm4rjOrv3Im3 0TxXAKFVs+EZyl/gL640oXjkW8Ur/nlLJlH5aEmd8YFhy4WK6dLoPniO/12mIJisAaoN zRbtk7IDqnydGW4YYG6Qmc9D8se9D3ftniEBO9mp2jhJ9QUTDnz5UMxz5GOeO6pVScZP 2BpuckR6WbNdXK/idaLm6fnbR04HCUdFc/8R5LBc8wjUuMbzo2EzeuGb/qxZ80WSM92F hnFZXdkZqTNRrH4hYh9jtpz09jZGtMjrx0qeRJJMtTUXSgtIBjwSqldK9G1UtLK0GH+b djOw== MIME-Version: 1.0 X-Received: by 10.60.52.229 with SMTP id w5mr69929oeo.85.1413452496812; Thu, 16 Oct 2014 02:41:36 -0700 (PDT) Received: by 10.202.104.195 with HTTP; Thu, 16 Oct 2014 02:41:36 -0700 (PDT) Received: by 10.202.104.195 with HTTP; Thu, 16 Oct 2014 02:41:36 -0700 (PDT) In-Reply-To: <543F7AC7.1020603@gmail.com> References: <102a877d8483473bbd4a5c701c23aaa7@SERVER.ad.usd-group.com> <1C4FB5A0-E106-46CE-B458-21030E32CAD3@userve.net> <543F7AC7.1020603@gmail.com> Date: Thu, 16 Oct 2014 02:41:36 -0700 Message-ID: Subject: Re: Carp stuck in INIT From: Freddie Cash To: Sascha Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-net , Matt Churchyard X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 16 Oct 2014 09:41:37 -0000 FreeBSD 9 and FreeBSD 10 have very different implementations of CARP, and they are configured differently. On 9, you need to have an IP configured on the interface before you configure the shared IP, and the subnet of the shared IP is used to determine the interface to use. And there's carpX pseudo-interface created. This requires at least 3 IPs in a subnet to work correctly. On 10, CARP configuration is done directly on an interface via ifconfig and is added directly to the specified IP. You only need 1 IP for this to work correctly. There's no longer carpX pseudo-interfaces to deal with. Highly recommend using 10+ if you're using carp.