Carp master problem

Chris McGee chris at xecu.net
Thu Jun 30 15:27:46 GMT 2005


On Jun 30, 2005, at 10:56 AM, Constant, Benjamin wrote:

>
>> I see multicast advertisements going out on em0 on what
>> should be the master (test1) and I see those advertisements
>> on test2 also.  The only firewall rules are the default, pass
>> in all, and pass out all. No firewall rules have been setup
>> yet since this is a test environment.
>>
>> Chris
>>
>
> I don't know what is the problem, I've good experience with em driver 
> and
> carp.
> Is the log showing up something? Is the carp ifconfig password the 
> same on
> either boxes?
> It seems that carp0 interfaces are not communicating together. It 
> works when
> you do ifconfig
> down carp1 because preemption force carp0 to failover.
>
> Benjamin Constant
> TI Automotive

In /var/log/messages on both servers, I see this:

Jun 30 11:13:32 test1 kernel: arp_rtrequest: bad gateway 192.168.1.10 
(!AF_LINK)
Jun 30 11:14:05 test1 last message repeated 11 times

Here are the lines from /etc/rc.conf for the 2 servers.  The passwords 
don't matter since they are just test boxes:

test1:
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid 1 pass monkey 192.168.1.10/24"
ifconfig_carp1="vhid 2 pass monkey2 10.10.10.1/29"

test2:
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid 1 pass monkey advskew 100 192.168.1.10/24"
ifconfig_carp1="vhid 2 pass monkey2 advskew 100 10.10.10.1/29"

Is there another log for carp stuff?

Chris



More information about the freebsd-pf mailing list