-----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. | 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 = a.b.c.186, eth = xxxxxxxxxxx | 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 = a.b.c.186, eth = xxxxxxxxxxx | 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 = 10 | interface = fxp0 | priority = 255 | addr = a.b.c.131/26 | password = test | | [VRID] | serverid = 10 | interface = fxp1 | priority = 254 | addr = a.b.c.131/26 | password = test | | And in rc.conf: | | ifconfig_fxp0="inet a.b.c.186 netmask 255.255.255.192" | ifconfig_fxp1="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 address must have a /32 mask, as the routing table already has an entry for a.b.c.128/26 (in your case), which is why it is rejecting the VIP address assignment. - -- +-------------------------------------+------------------------------+ | Michael W. Oliver, CCNP | "The tree of liberty must be | | IPv6 & FreeBSD mark | refreshed from time to time | | [EMAIL PROTECTED] | 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 | +--------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/KUvWsWv7q8X6o8kRAk49AJ9LRes55+k+HHyzciVY9GSYdXlwpgCfZN8O FDovoIyfgFXTKtcP6vDlmLQ= =J2vb -----END PGP SIGNATURE----- _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"