From owner-freebsd-stable@FreeBSD.ORG Tue Feb 11 22:10:05 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 316724EE for ; Tue, 11 Feb 2014 22:10:05 +0000 (UTC) Received: from mail.ultra-secure.de (static.88-198-178-88.clients.your-server.de [88.198.178.88]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 895EC1803 for ; Tue, 11 Feb 2014 22:10:03 +0000 (UTC) Received: (qmail 92575 invoked by uid 89); 11 Feb 2014 22:08:51 -0000 Received: from unknown (HELO ?192.168.1.201?) (rainer@ultra-secure.de@217.71.83.52) by static.88-198-178-88.clients.your-server.de with ESMTPA; 11 Feb 2014 22:08:51 -0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: CARP in FreeBSD10 From: Rainer Duffner In-Reply-To: <52FA6BAD.7030302@tefre.com> Date: Tue, 11 Feb 2014 23:08:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6D8778FD-67A1-4296-9BF6-4B896F057F14@ultra-secure.de> References: <52FA665B.8050802@motumweb.com> <52FA6BAD.7030302@tefre.com> To: Erik Stian Tefre X-Mailer: Apple Mail (2.1827) Cc: FreeBSD Stable , =?windows-1252?Q?Efra=EDn_D=E9ctor?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 22:10:05 -0000 Am 11.02.2014 um 19:27 schrieb Erik Stian Tefre : > On 11. feb. 2014 19:05, Efra=EDn D=E9ctor wrote: >> Hello. >>=20 >> 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=3D"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: >>=20 >> "ifconfig: SIOCIFCREATE2: Invalid argument". >>=20 >> Then after that I rebuilded the kernel putting the option: >>=20 >> device carp >>=20 >> But afther rebuilding and installing I still get the message = "ifconfig: SIOCIFCREATE2: Invalid argument". > [...] >=20 > http://people.freebsd.org/~glebius/newcarp/README >=20 > And of course: > man carp >=20 BTW: the handbook=92s CARP-section still shows the old syntax. I=92ve opened a PR for this http://www.freebsd.org/cgi/query-pr.cgi?pr=3Ddocs/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=92d advocate to have = both syntaxes reflected in the handbook (if possible).