[nycbug-talk] ucarp question

Isaac Levy ike at lesmuug.org
Fri Sep 15 01:19:44 EDT 2006


Wordemup All,

I've been mucking about with ucarp for the night, and come to a  
standstill, hitting my head against a wall.

Basically, I'm not sure if it's my NIC's, or what- but I can't get it  
to bring up the IP address?

FreeBSD monkey.jmg.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7  
04:42:56 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/ 
SMP  i386

My ucarp line looks like this:
--
ucarp interface=rl0 --srcip=10.0.1.242 --vhid=1 --pass=mypassword \
       --preempt --addr=10.1.1.240 \
       --upscript=/etc/vip-up.sh --downscript=/etc/vip-down.sh

Running it looks like this:
--
[root at monkey ~]# ucarp interface=rl0 --srcip=10.0.1.242 --vhid=1 -- 
pass=mypassword --preempt --addr=10.1.1.240 --upscript=/etc/vip-up.sh  
--downscript=/etc/vip-down.sh
[INFO] Using [re0] as a network interface
[INFO] Local advertised ethernet address is [00:14:6c:c0:14:cc]
[WARNING] Switching to state: MASTER
[WARNING] Spawning [/etc/vip-up.sh re0]
hello up


I'm not daemonizing it, so it just hangs there.  No external ping to  
my new IP, and the IP address is not brought up on the machine on any  
interface.

I've tried this on boxes using rl(4) (RealTek), re(4) (again,  
RealTek) and xl0 (3com) cards- all doing the same thing.

Any urls or other suggestions?  I thought ucarp would just add the IP  
address as an alias, and start speaking CARP... ?  Sadly, there's not  
much documentation out there on ucarp.

Rocket-
.ike

--
Sidenote: PLEASE pretty please don't send any answers like 'just use  
carp(4)', I'm trying to get ucarp working for a definite reason  
here.  If you haven't heard of ucarp, check it out here:
http://www.ucarp.org/



More information about the talk mailing list