Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2007 22:29:36 +0100 (BST)
From:      "Ross Draper" <ross@virtualgeek.net>
To:        "Alexander Leidinger" <Alexander@Leidinger.net>
Cc:        Ross Draper <ross@virtualgeek.net>, freebsd-cluster@freebsd.org
Subject:   Re: Vrrp/CARP/UCarp Problems
Message-ID:  <2615.192.168.5.13.1175117376.squirrel@192.168.5.12>
In-Reply-To: <20070328073154.j62ahkhwggc04wg4@webmail.leidinger.net>
References:  <48279.83.104.128.109.1174847030.squirrel@virtualgeek.net> <20070328073154.j62ahkhwggc04wg4@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Quoting Ross Draper <ross@virtualgeek.net> (from Sun, 25 Mar 2007
> 19:23:50 +0100 (BST)):
>
>> Freevrrpd - Pros: Mac address changing removes some of the arp timeout
>> issues/gratuitus arp problems and it supports start/stop scripts
>> Cons: I'm finding that upon rebooting the backup unit it correctly
>> starts
>> as a backup, then three seconds later syslogs that it is the master and
>> changes its mac address accordingly. although a sniff of the network
>> traffic indicates it is sending the right advertisements, it never goes
>> into backup mode again.
>
> That's not normal, can you post your config?
>
> Bye,
> Alexander.
>
> --
> Economics is extremely useful as a form of employment for economists.
> 		-- John Kenneth Galbraith
>
> http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
> http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
>

Hi Alexander

Thanks for your reply.

My config is:
Master
[VRID]
serverid = 5
interface = em0
useVMAC = yes
sendgratuitousarp = yes
priority = 255
addr=10.73.122.205/24, 10.2.200.1/32
masterscript = /usr/local/etc/master.sh
backupscript = /usr/local/etc/backup.sh

Backup
[VRID]
serverid = 5
interface = em0
useVMAC = yes
sendgratuitousarp = yes
priority = 250
addr=10.73.122.205/24, 10.2.200.1/32
masterscript = /usr/local/etc/master.sh
backupscript = /usr/local/etc/backup.sh

I posted this message to the freebsd-net group as well(actually by
mistake, but thats another story), and as part of my investigations from
replies received there, I was starting to believe that my problem was
related to different types of network card/drivers.

However, I have now built two boxes on identical hardware as well as a
mixture of xl/em and things work fine.  I am now starting to believe that
the problems I experienced in freevrrpd may be as a result of having carp
compiled into my kernel.  The two new machines I have now built are stock
6.2, with no carp in the kernel.  (Note, the original machines had no carp
interfaces defined on them when using freevrrpd)

I cant confirm fully until I am back in the office, but I will post back
as soon as I am able.

Kind Regards

Ross





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