CARP in FreeBSD10

Rainer Duffner rainer at ultra-secure.de
Tue Feb 11 22:10:05 UTC 2014


Am 11.02.2014 um 19:27 schrieb Erik Stian Tefre <erik at tefre.com>:

> On 11. feb. 2014 19:05, Efraín Déctor wrote:
>> Hello.
>> 
>> I am triying to enable CARP on FreeBSD 10.0-RELEASE, I have read the documentation (http://www.freebsd.org/doc/en/books/handbook/carp.html) I tried to enable the module of carp, putting if_carp_load="YES" on /boot/loader.conf, rebooted and after that I tried to enable it using the command/ifconfig carp0 create/. However after that I get the following message:
>> 
>> "ifconfig: SIOCIFCREATE2: Invalid argument".
>> 
>> Then after that I rebuilded the kernel putting the option:
>> 
>> device    carp
>> 
>> But afther rebuilding and installing I still get the message "ifconfig: SIOCIFCREATE2: Invalid argument".
> [...]
> 
> http://people.freebsd.org/~glebius/newcarp/README
> 
> And of course:
> man carp
> 



BTW: the handbook’s CARP-section still shows the old syntax.
I’ve opened a PR for this
http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/186464

The man-page is correct, though.
But the FreeBSD handbook is actually quite good, most of the time, and sometimes contains more examples than the man-pages.

So, I guess a lot of people actually first go to the handbook these days (especially those from the younger generation, who do *everything* in their browser)
;-)

With CARP being so different between 9 and 10, I’d advocate to have both syntaxes reflected in the handbook (if possible).



More information about the freebsd-stable mailing list