Thanks to all. Everything is working fine when using same vhid on both 
server (and also when the're no copy/paste not working error for 
password lol)

I read again the vhid part on carp faqs, both in french and in english 
and the word "unique" was what confused me. Now that I think about it, I 
saw that the carp mac address was based on this value and it's logic 
that it should not change will the other device become master so it 
don't need a refresh of the arp table of remote device.

Thanks again to all for your help.

Michel

2012/12/17 Loïc BLOT <[email protected] 
<mailto:[email protected]>>

    You need one common VHID for each virtual IP, Stuart said all fixes you
    need. CARP protocol identify nodes by VHID.

    --
    Cordialement,
    Loïc BLOT, UNIX systems, security and network expert
    http://www.unix-experience.fr

    Le lundi 17 décembre 2012 à 22:36 +0000, Stuart Henderson a écrit :

     > On 2012-12-17, Michel Blais <[email protected]
    <mailto:[email protected]>> wrote:
     >
     > > # cat /etc/hostname.carp0
     > > inet W.X.Y.B 255.255.255.248 W.X.Y.D vhid 1 carpdev em0 \
     >                                             ^
     > >          pass fdhnap483745y -inet6
     >
     > > # cat /etc/hostname.carp0
     > > inet X.W.Z.B 255.255.255.248 X.Y.Z.D vhid 2 carpdev em0 \
     >                                             ^
     > >          advskew 10 pass fdhnap483745y -inet6
     >
     > here, your vhids don't match
     >
     >
     > > # cat /etc/hostname.carp1
     > > inet 10.0.1.1 255.255.255.0 10.0.1.255 vhid 3 carpdev em1 \
     > >          pass 3orohasfv73 -inet6
     >
     > > # cat /etc/hostname.carp1
     > > inet 10.0.1.1 255.255.255.0 10.0.1.255 vhid 4 carpdev em1 \
     > >          advskew 10 pass -inet6
     >                       ^^^^^^^^^^^
     >
     > and here, same problem with vhids, plus you have set the
     > password on the second router to "-inet6".

Reply via email to