From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 18:04:46 2014 Return-Path: Delivered-To: freebsd-stable@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 ESMTPS id 7C270FBC for ; Thu, 11 Sep 2014 18:04:46 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (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 42446EEF for ; Thu, 11 Sep 2014 18:04:46 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id g18so962136oah.35 for ; Thu, 11 Sep 2014 11:04:45 -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=hJpgbhGGxAr59O3MICsuS+7qHCQicQz8jKu7F3Ebcjo=; b=QcDjNsLQiSrqmMZ3R7NT67KBHIu2PPjE7hdJNWftDIMHzLnNd5vMHFRRQRiTEZIPmZ K6X2y1ItSAYf6Q/+qwboHtK18Z6ko//qRG/tEHry/AGDdfOLin3QvDMKJI8zIMgy1PHC oXB5b6yCwa7FmaMW0vnbQM2puX7hyp7BQTNl/JiyRbqNPBeTdypmtU9X4X6FYcgR8Dje Ol/AgXzmb+pjsih83lXpXnlb56iy5zOnJqBVmHBQSLAlwMIFpthM6jl5Wevss6rsQPZJ yg48UqLPxxeKsB+ZmotLd7JyaF2grhKiFeaxtSTUNv3ximLQ/O7LwhxLLqb5RhROQIXZ Da0A== MIME-Version: 1.0 X-Received: by 10.182.153.68 with SMTP id ve4mr3033036obb.60.1410458685567; Thu, 11 Sep 2014 11:04:45 -0700 (PDT) Received: by 10.202.199.11 with HTTP; Thu, 11 Sep 2014 11:04:45 -0700 (PDT) In-Reply-To: <2401599.spj3ijL0cc@overcee.wemm.org> References: <7925563B043E419996CD7FEE8C7DFDB6@multiplay.co.uk> <2401599.spj3ijL0cc@overcee.wemm.org> Date: Thu, 11 Sep 2014 11:04:45 -0700 Message-ID: Subject: Re: Using CARP with multiple IP aliases (FBSD 10.0) From: Freddie Cash To: Peter Wemm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Steven Hartland , FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 18:04:46 -0000 On Thu, Sep 11, 2014 at 10:39 AM, Peter Wemm wrote: > This is the method we use extensively in the freebsd.org cluster. eg: th= e > routers have public IP addresses, private RFC1918, IPv6 etc addresses, al= l > on > the same vhid for each interface. > > * One vhid presence, with multiple aliases on the same vhid. > * Configure vhid params once, aliases attached without params. > > carp state checking uses link local addresses to communicate. > > Having multiple IP's per vhid means they change master->backup state as a > group, not individually and that's what we wanted for things like router > default gateways. > =E2=80=8BExcellent. Thanks for the confirmation. =E2=80=8BI'll be testing the updated configuration tomorrow morning (set al= l vhid params in rc.conf.local, and only set vhid number in firewall scripts when adding IPs). --=20 Freddie Cash fjwcash@gmail.com