Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2008 12:56:45 -0700
From:      "Mike Sweetser - Adhost" <mikesw@adhost.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Oddities with VLAN/CARP Interfaces on Primary/Failover Setup
Message-ID:  <17838240D9A5544AAA5FF95F8D52031604D8C217@ad-exh01.adhost.lan>

next in thread | raw e-mail | index | archive | help
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)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17838240D9A5544AAA5FF95F8D52031604D8C217>