From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 07:05:35 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2F9916A417 for ; Thu, 6 Dec 2007 07:05:35 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E388513C43E for ; Thu, 6 Dec 2007 07:05:34 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.1) with ESMTP id lB675DaR041227; Thu, 6 Dec 2007 07:05:14 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <47579F29.4030601@infracaninophile.co.uk> Date: Thu, 06 Dec 2007 07:05:13 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: "Michael K. Smith - Adhost" References: <17838240D9A5544AAA5FF95F8D52031602E54396@ad-exh01.adhost.lan> In-Reply-To: <17838240D9A5544AAA5FF95F8D52031602E54396@ad-exh01.adhost.lan> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 06 Dec 2007 07:05:14 +0000 (GMT) X-Virus-Scanned: ClamAV 0.91.2/5019/Thu Dec 6 05:28:17 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: questions@freebsd.org Subject: Re: PF - Carp and vhid limitations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 07:05:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Michael K. Smith - Adhost wrote: > I'm interested in using PF to front a web farm where there will be > lots of static IP addresses for SSL affinity. As such, I expect to > have many more than 255 CARP interfaces. But, as I understand it, > I'm limited to 255 vhid's and I have to have a discreet vhid per CARP > interface. > > Is there a way to configure my CARP interfaces such that I can get > around this limitation? Right now, I configure everything as: carp interfaces are synthetic NICs. You can use more than one IP per carp interface just by adding them as aliases: ifconfig_carp0="vhid 100 pass XXXXXXXXXXXXX 12.34.56.78/24" ifconfig_carp0_alias0="inet 12.34.56.79/32" ifconfig_carp0_alias1="inet 12.34.56.80/32" You should only need as many carp interfaces as there are fail-over pairs of physical servers in your configuration. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHV58p8Mjk52CukIwRCGG0AJ9QYNiqFmZh68bO9CNPkwRrNgNnFgCfaejM 2FDwtxY6JcmhToOujViuacY= =GpU/ -----END PGP SIGNATURE-----