Re: CARP on -CURRENT
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 1=
9:21:12 EST 2012 =A0 =A0 root@testbox.ai.net:/usr/obj/usr/src/sys/CARP =A0a=
md64
>
> I can't seem to create a carp interface despite having compiled a kernel =
with "device =A0 =A0 =A0carp" in it. Attempts to create a carp interface fa=
il;
> # ifconfig carp create
> ifconfig: SIOCIFCREATE2: Invalid argument
>
> >From what I've read in the handbook entry on CARP (http://www.freebsd.or=
g/doc/handbook/carp.html), I should be able to either compile in the carp d=
evice, as above, or load the if_carp.ko kern module. There doesn't appear t=
o be a if_carp.ko module in the -CURRENT source tree, however. Only the car=
p module itself;
> # ls -ald /usr/src/sys/modules/*carp*
> drwxr-xr-x =A02 root =A0wheel =A0512 Dec 27 15:12 /usr/src/sys/modules/ca=
rp
>
> Am I missing something completely obvious? Was the functionality of if_ca=
rp.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.
--=20
wbr,
pluknet
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 6 篇):