Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jul 2005 09:51:17 -0400
From:      Christopher McGee <chris@xecu.net>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Carp master problem
Message-ID:  <42C54A55.3060200@xecu.net>
In-Reply-To: <200506301743.41172.max@love2party.net>
References:  <B6D948D84090A54ABCD88AA391DAAC8C018963F7@tiasbel00ex00.be.eu.tiauto.com> <48427759bea33b69566b2b974aca2abb@xecu.net> <200506301743.41172.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Max Laier wrote:

>On Thursday 30 June 2005 17:27, Chris McGee wrote:
>  
>
>>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?
>>    
>>
>
>What does "netstat -ssp carp" give you?
>
>  
>
On test1(what should be master):
 >netstat -ssp carp
carp:
        40572 packets received (IPv4)
                326 discarded for bad vhid
        160550 packets sent (IPv4)

On test2(the slave);
 > netstat -ssp carp
carp:
        134298 packets received (IPv4)

And this is definitely still not working.



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