carp questions

Mark Jayson Alvarez jay2xra at
Wed Nov 23 09:10:35 GMT 2005

 I have 2 machines running freebsd 6.0 compiled with "device carp". The example in the carp manual slightly confuses me. I can't make those 2 machines to appear as one... I hope you can help me.
 machine A has xl0 with assigned ip of
 machine B has xl0 with assigned ip of
 Now following the example on carp(4) manual:
 On machine A:
 ifconfig carp0 create
 ifconfig carp0 vhid 1 pass mypasswd
 so now, machine A shows these in ifconfig:
 carp0: flags=41 mtu 1500
 inet netmask 0xffffff00
 carp: BACKUP vhid 1 advbase 1 advskew 0
 meanwhile on machine B
 ifconfig carp0 create
 ifconfig carp0 vhid 1 advskew 100 pass mypasswd
  and I got is duplicated by xl0 (
 What I wanted to do is to do some failover... ssh to and see what machine it would connect to.. then pull the utp out... and repeat the process.. this time i should be able to ssh to the backup server instead..

 Yahoo! FareChase - Search multiple travel sites in one click.  

More information about the freebsd-net mailing list