Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2012 00:24:01 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Andrew Hobbs <andrew.hobbs@ai.net>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: CARP on -CURRENT
Message-ID:  <CAE-mSOJpFQ_NJ2_FBHYQ%2BxDYiky76Q039xgPc2j345Tjdce8rA@mail.gmail.com>
In-Reply-To: <D338D1613B32624285BB321A5CF3DB254804EC90C3@ginga.ai.net>
References:  <D338D1613B32624285BB321A5CF3DB254804EC90C3@ginga.ai.net>

index | next in thread | previous in thread | raw e-mail

On 19 January 2012 00:54, Andrew Hobbs <andrew.hobbs@ai.net> wrote:
> Is CARP implemented on -CURRENT (FreeBSD 10)?
>
> I'm playing around with some test boxes in the office running -CURRENT;
> testbox# uname -a
> FreeBSD testbox.ai.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jan 18 19:21:12 EST 2012     root@testbox.ai.net:/usr/obj/usr/src/sys/CARP  amd64
>
> I can't seem to create a carp interface despite having compiled a kernel with "device      carp" in it. Attempts to create a carp interface fail;
> # ifconfig carp create
> ifconfig: SIOCIFCREATE2: Invalid argument
>
> >From what I've read in the handbook entry on CARP (http://www.freebsd.org/doc/handbook/carp.html), I should be able to either compile in the carp device, as above, or load the if_carp.ko kern module. There doesn't appear to be a if_carp.ko module in the -CURRENT source tree, however. Only the carp module itself;
> # ls -ald /usr/src/sys/modules/*carp*
> drwxr-xr-x  2 root  wheel  512 Dec 27 15:12 /usr/src/sys/modules/carp
>
> Am I missing something completely obvious? Was the functionality of if_carp.ko rolled into another module?

You should definitely read this changeset:
http://svn.freebsd.org/changeset/base/228571

and the updated carp ifconfig syntax in man carp. As for if_carp.ko,
it was renamed into carp.ko as part of the CARP implementation overhaul.

This only affects CURRENT.

-- 
wbr,
pluknet


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJpFQ_NJ2_FBHYQ%2BxDYiky76Q039xgPc2j345Tjdce8rA>