From owner-freebsd-net@FreeBSD.ORG Thu Jul 31 10:03:22 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCDC137B401 for ; Thu, 31 Jul 2003 10:03:21 -0700 (PDT) Received: from phoenix.gargantuan.com (rrcs-se-24-73-171-238.biz.rr.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 045C543FB1 for ; Thu, 31 Jul 2003 10:03:21 -0700 (PDT) (envelope-from michael@gargantuan.com) Received: from cyclops.gargantuan.com (cyclops.gargantuan.com [3ffe:c00:8034:a00::300]) by phoenix.gargantuan.com (Postfix) with ESMTP id 334B02B4; Thu, 31 Jul 2003 13:03:20 -0400 (EDT) From: "Michael W. Oliver" To: "Bryce Edwards" , Date: Thu, 31 Jul 2003 13:03:01 -0400 User-Agent: KMail/1.5.2 References: <01ae01c35785$127d1500$6501010a@gis2.com> In-Reply-To: <01ae01c35785$127d1500$6501010a@gis2.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200307311303.18950.michael@gargantuan.com> Subject: Re: freevrrp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michael@gargantuan.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 17:03:22 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +--- On Thursday, July 31, 2003 12:59, | Bryce Edwards proclaimed: | | I'm trying to run freevrrpd on a server with two interfaces for | redundancy. I want them both to act as one IP in a master/slave setup.=20 | Here's the errors I'm getting: | | Jul 31 11:07:34 ns freevrrpd[207]: launching daemon in background mode | Jul 31 11:07:34 ns freevrrpd[208]: initializing threads and all VRID | Jul 31 11:07:34 ns freevrrpd[208]: reading configuration file | /usr/local/etc/freevrrpd.conf | Jul 31 11:07:34 ns freevrrpd[208]: cannot set ip addr a.b.c.131 for | interface fxp0 (ioctl SIOCAIFADDR): File exists | Jul 31 11:07:34 ns freevrrpd[208]: send ip =3D a.b.c.186, eth =3D xxxxxxx= xxxx | Jul 31 11:07:34 ns freevrrpd[208]: server state vrid 10: master | Jul 31 11:07:34 ns freevrrpd[208]: server state vrid 10: backup | Jul 31 11:07:37 ns freevrrpd[208]: cannot set ip addr a.b.c.131 for | interface fxp1 (ioctl SIOCAIFADDR): File exists | Jul 31 11:07:37 ns freevrrpd[208]: server state vrid 10: master | Jul 31 11:07:37 ns freevrrpd[208]: send ip =3D a.b.c.186, eth =3D xxxxxxx= xxxx | Jul 31 11:08:08 ns last message repeated 30 times | Jul 31 11:10:09 ns last message repeated 120 times | Jul 31 11:19:03 ns last message repeated 529 times | Jul 31 11:19:03 ns freevrrpd[208]: server state vrid 10: backup | Jul 31 11:19:03 ns freevrrpd[208]: server state vrid 10: backup | Jul 31 11:19:03 ns freevrrpd[208]: select on readfds fd_set failed: | Interrupted system call | Jul 31 11:19:04 ns freevrrpd[208]: cannot set ip addr a.b.c.131 for | interface fxp1 (ioctl SIOCAIFADDR): File exists | Jul 31 11:19:04 ns freevrrpd[208]: server state vrid 10: master | Jul 31 11:21:13 ns freevrrpd[208]: restoring real MAC address: | xxxxxxxxxxx for interface fxp0 | Jul 31 11:21:13 ns freevrrpd[208]: restoring real MAC address: | xxxxxxxxxxx for interface fxp1 | | Here's my config: | | [VRID] | serverid =3D 10 | interface =3D fxp0 | priority =3D 255 | addr =3D a.b.c.131/26 | password =3D test | | [VRID] | serverid =3D 10 | interface =3D fxp1 | priority =3D 254 | addr =3D a.b.c.131/26 | password =3D test | | And in rc.conf: | | ifconfig_fxp0=3D"inet a.b.c.186 netmask 255.255.255.192" | ifconfig_fxp1=3D"inet a.b.c.187 netmask 255.255.255.192" | | TIA, | | Bryce Ni Bryce, Try setting the mask on the VIP to /32 instead of /26. IIRC, an alias=20 address must have a /32 mask, as the routing table already has an entry for= =20 a.b.c.128/26 (in your case), which is why it is rejecting the VIP address=20 assignment. =2D --=20 +-------------------------------------+------------------------------+ | Michael W. Oliver, CCNP | "The tree of liberty must be | | IPv6 & FreeBSD mark | refreshed from time to time | | michael@gargantuan.com | with the blood of patriots | | http://michael.gargantuan.com/ | and tyrants." | | ASpath-tree, Looking Glass, etc. | - President Thomas Jefferson | | +------------------------------+ | gpg key - http://michael.gargantuan.com/gnupg/pubkey.asc | +--------------------------------------------------------------------+ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/KUvWsWv7q8X6o8kRAk49AJ9LRes55+k+HHyzciVY9GSYdXlwpgCfZN8O =46DovoIyfgFXTKtcP6vDlmLQ=3D =3DJ2vb =2D----END PGP SIGNATURE-----