CARP: trouble or feature



Hello ALL!
I have a problem with CARP on FreeBSD 6.2 in the following scheme:


+--------------+ +-----------------------+ +-----------------+
| A | | B | | C |
| vlan10 |--//-->| vlan20 vlan10 |---//---| vlan10 |
+--------------+ +-----------------------+ +-----------------+


vlan10 10.10.10.2/26 vlan20 10.10.10.1/26
gateway 10.10.10.1 vlan10 10.10.9.1/26 vlan10 10.10.9.2/26

carp10 10.10.9.3/26 carp10 10.10.9.3/26
advskew 0 advskew 1
carp11 10.10.9.4/26 carp11 10.10.9.4/26
advskew 1 advskew 0


i.e. server B MASTER for 10.10.9.3/26, BACKUP for 10.10.9.4/26
server C BACKUP for 10.10.9.3/26, MASTER for 10.10.9.4/26


But if to send icmp request from server A -> to server C on ip 10.10.9.4, server B replay from BACKUP iface carp11 !?!?

This is trouble or feature of realization ?????
-------------------------------------------------

serverB> ifconfig carp*
carp10: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
inet 10.10.9.3 netmask 0xffffffc0
carp: MASTER vhid 100 advbase 1 advskew 0
carp11: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
inet 10.10.9.4 netmask 0xffffffc0
carp: BACKUP vhid 101 advbase 1 advskew 1

serverC> ifconfig carp*
carp10: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
inet 10.10.9.3 netmask 0xffffffc0
carp: BACKUP vhid 100 advbase 1 advskew 1
carp11: flags=49<UP,LOOPBACK,RUNNING> mtu 1500
inet 10.10.9.4 netmask 0xffffffc0
carp: MASTER vhid 101 advbase 1 advskew 0
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: CARP-related error on 5.4RC3
    ... Sorry to follow up on my own post, but more CARP weirdness on 5.4RC3. ... When I reboot the master, the backup quickly takes over -- just as you ... > above the carp interfaces. ...
    (freebsd-stable)
  • Re: CARP not balancing automatically
    ... I need one carp interface to be master and one backup on box A, and the opposite master/backup on box B. Or am I totally misunderstanding with the preemtp sysctl is for? ... other host: ...
    (freebsd-stable)
  • carp/vrrp/ucarp advice
    ... When the backup box is rebooted it always seems to come up ... listen for advertisementsto see if a master exists. ... the creation and destroyal of a carp interface causes a kernel panic. ... any links to a perl based gratuitous arp utils would be great ...
    (freebsd-net)
  • master->backup CARP issue
    ... each one has 4 CARP interfaces in preempt ... Backup without any reason preempts Master and after a while (an hour ... MASTER vhid 1 advbase 1 advskew 10 ...
    (freebsd-questions)
  • CARP question (interpretation clarification)
    ... the carp enabled physical interfaces goes ... On my system, I've got preempt turned on, but as shown below on my ... "backup" machine, two carp interfaces are in BACKUP config, and one is ... MASTER. ...
    (freebsd-questions)