Carp master problem

Christopher McGee chris at xecu.net
Fri Jul 1 13:51:18 GMT 2005


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.


More information about the freebsd-pf mailing list