Hi,

 # ifconfig carp0
 carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         lladdr 00:00:5e:00:01:0a
         priority: 0
         carp: carpdev em0 advbase 1 balancing ip-stealth carppeer
 10.0.1.11
                 state MASTER vhid 10 advskew 0
                 state BACKUP vhid 11 advskew 100

Hmmm, why do you have different vhid ?

That is the way it is suggested by the manpage:

   LOAD BALANCING
In order to set up a load balanced virtual host, it is necessary to configure one carpnodes entry for each physical host. In the following example, two physical hosts are configured to provide balancing and
     failover for the IP address 192.168.1.10.

First the carp interface on Host A is configured. The advskew of 100 on the second carpnode entry means that its advertisements will be sent out slightly less frequently and will therefore become the designated backup.

# ifconfig carp0 192.168.1.10 carpnodes 1:0,2:100 balancing ip

The configuration for host B is identical, except the skew is on the
     carpnode entry with virtual host 1 rather than virtual host 2.

# ifconfig carp0 192.168.1.10 carpnodes 1:100,2:0 balancing ip

If ARP balancing or a different mode of IP balancing is desired the
     balancing mode can be adjusted accordingly.


-Michael

Reply via email to