From owner-freebsd-net@freebsd.org Sat Sep 23 08:21:40 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F5FFE2A87C for ; Sat, 23 Sep 2017 08:21:40 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.krpservers.com", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7095B6BE1F for ; Sat, 23 Sep 2017 08:21:38 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [192.168.42.118] (vo.getonline.co.uk [62.13.128.251]) (authenticated bits=0) by smtp.krpservers.com (8.15.2/8.15.2) with ESMTPSA id v8N8LZkt089300 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Sep 2017 09:21:36 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) Date: Sat, 23 Sep 2017 09:21:35 +0100 From: Karl Pielorz To: Steven Hartland , freebsd-net@freebsd.org Subject: Re: CARP under 10.3 - can't "ifconfig down" one or more VHIDs? Message-ID: <3F8D64F72B72084041550C1E@Mac-mini.local> In-Reply-To: <22f64f3e-5572-4324-5e4c-ab5680e8e612@multiplay.co.uk> References: <1183C95F3417890F2D0B1756@[10.12.30.106]> <22f64f3e-5572-4324-5e4c-ab5680e8e612@multiplay.co.uk> 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 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2017 08:21:40 -0000 --On 22 September 2017 at 20:16:25 +0100 Steven Hartland wrote: > CARP on 9 and 10 are very different its not a separate interface anymore, > its a property on the parent interface, so the behavior your described is > expected. > > If you want to disable carp just remove it, if however you want for fail > to the other virtual host, just bump the advskew or force the state > change. Ok, thanks for confirming that - bit of a shame 'ifconfig carpX down' was a very quick way of temporarily removing CARP (i.e. so the host didn't participate in the pool) for maintenance while leaving the base / parent interface available - and then putting it back 'as-was' with messing around with the other values. Do you know if there's any interoperability issues having some 9.x and some 10.x sharing the same CARP system? I'll probably replace with a script to store the skews, push them to a very high value, mark as 'BACKUP' all the VHID's - and something to undo it all again - though actually just removing it might be easier (providing adding it doesn't cause a moment of "I'm MASTER, uh, no, I'm BACKUP"). -Karl