Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 11:27:44 -0400
From:      Chris McGee <chris@xecu.net>
To:        "Constant, Benjamin" <bconstant@be.tiauto.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Carp master problem
Message-ID:  <48427759bea33b69566b2b974aca2abb@xecu.net>
In-Reply-To: <B6D948D84090A54ABCD88AA391DAAC8C018963F7@tiasbel00ex00.be.eu.tiauto.com>
References:  <B6D948D84090A54ABCD88AA391DAAC8C018963F7@tiasbel00ex00.be.eu.tiauto.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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