Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 14:19:56 -0700
From:      Steven Stremciuc <steve@freeslacker.net>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: carp not setting interfaces
Message-ID:  <4623E87C.50006@freeslacker.net>
In-Reply-To: <200704162305.11182.max@love2party.net>
References:  <4623C7C3.8080305@freeslacker.net> <200704162305.11182.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4623E87C.50006>