Do you have spanning tree enabled on the switch? The firewall ports should be in portfast mode, otherwise the backup may become master after a reboot or when bouncing the physical interface.
And do you have carp preempt enabled? (net.inet.carp.preempt=1) On 2-3-2012 16:31, favar wrote: > hi list, we have same problem with carp. (with 45 ip addresses) > and after reboot, host with advskew 200 became master, and with > advskew 1 - slave. > > 2012/3/2 PP;QQ P(P8P?P8QP8P= <chipits...@gmail.com>: >> no, I copied hostname.carpXX, just added "advskew 200" >> parameters are the same. >> >> 2 MARTA 2012 G. 15:25 POLXZOWATELX Otto Moerbeek <o...@drijf.net> NAPISAL: >> >>> On Fri, Mar 02, 2012 at 01:53:17PM +0500, ???? ??????? wrote: >>> >>>> hello! >>>> >>>> we are running CARP-ed load balancers (carp over different vlans). >>>> it was running just great with 6 carp addresses. >>>> >>>> when we added 7th, randomly we get MASTERs on both server for certain >>> carp >>>> interface. After reboot we can get different carp interface on dual >>> MASTER >>>> state, and so on. >>>> carp negotiations are ok, tcpdump shows them all. both peers see each >>> other. >>>> >>>> if I put one interface to BACKUP state, it goes to mASTER soon. >>>> >>>> we are runnung 5.0/amd64 >>>> >>>> Cheers, >>>> Ilya Shipitsin >>> >>> Carefully compare the address lists (including masks) on both >>> machines. Likely they are not the same. >>> >>> B B B B -Otto