carp not setting interfaces

Steven Stremciuc steve at freeslacker.net
Mon Apr 16 21:18:03 UTC 2007


Hi Max,

>
> You didn't say, can you configure the carp interfaces by manual ifconfig?  
> That would indicate a problem in the netstart/rc.d part.  Maybe 
> mergemaster again?

I get an error when trying to configure it manually via ifconfig. I 
don't know what this means.

test# ifconfig carp0 create
test# ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 10.1.0.201 netmask 0xffffff00 broadcast 10.1.0.255
        ether 00:30:48:11:64:85
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
fxp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 00:30:48:11:6f:68
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
carp0: flags=8<LOOPBACK> mtu 1500

and then:

test# ifconfig carp0 vhid 801 pass mekmitasdigoat 10.1.0.101/24
ifconfig: SIOCSVH: Invalid argument

thanks,

steve


More information about the freebsd-net mailing list