From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 19:56:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F174106564A for ; Mon, 13 Oct 2008 19:56:47 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-in02.adhost.com (mail-in02.adhost.com [216.211.128.132]) by mx1.freebsd.org (Postfix) with ESMTP id 562958FC14 for ; Mon, 13 Oct 2008 19:56:47 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in02.adhost.com (Postfix) with ESMTP id 8DF521EE840 for ; Mon, 13 Oct 2008 12:56:46 -0700 (PDT) (envelope-from mikesw@adhost.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 13 Oct 2008 12:56:45 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031604D8C217@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Oddities with VLAN/CARP Interfaces on Primary/Failover Setup Thread-Index: AcktbdHSHYaVVxHaSuCod2GpS/DAXA== From: "Mike Sweetser - Adhost" To: Subject: Oddities with VLAN/CARP Interfaces on Primary/Failover Setup 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: Mon, 13 Oct 2008 19:56:47 -0000 Hello: We currently have a primary/failover setup for two FreeBSD 6.3 servers running PF, and we're running into odd issues when setting up multiple subnets on a single VLAN and CARP interface. We have issues with them coming up properly, and even worse, having both servers believe they are master.=20 Here's a snippet of one of the VLANs and CARP interfaces in question: ifconfig_vlan10=3D"inet 10.142.255.252 netmask 255.255.0.0 vlan 10 = vlandev em2" =20 ifconfig_vlan10_alias0=3D"inet 10.210.0.2 netmask 255.255.0.0" ifconfig_carp10=3D"inet 10.142.255.254 netmask 255.255.0.0 vhid 10 = advskew 0 pass testpass" =20 ifconfig_carp10_alias0=3D"inet 10.210.0.1 netmask 255.255.0.0" The main difference between this and our other VLAN/CARP interfaces is that because it's separate subnets, the aliases here are set up with /16 netmasks, while the regular aliases on the others are set up with /32s. Is this correct, or should these also be set as /32s? Thanks, Mike Sweetser -------------------------- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA E mikesw@adhost.com W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1)