Date: Fri, 26 Mar 2010 11:02:23 +0100 From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me> To: freebsd-ports-mailinglist <freebsd-ports@freebsd.org> Subject: net/ucarp : New rc script with multiple VHID and FIB support Message-ID: <3131aa531003260302j2e2521cayd2c77bfff6476261@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I've improved the startup script for net/ucarp by adding multiple VHID support, and FIB support. Now, you can have this example of rc.conf configuration with net/ucarp (up to the 255 VHID): # uCarp ucarp_enable="YES" #ucarp_VHID_option="value" ucarp_1_if="ed1" ucarp_1_src="10.0.1.2" ucarp_1_addr="10.0.1.1" ucarp_1_shutdown="NO" ucarp_3_if="ed3" ucarp_3_src="10.0.3.2" ucarp_3_pass="passcarp" ucarp_3_addr="10.0.3.1" ucarp_3_fib="3" ucarp_4_if="ed4" ucarp_4_src="10.0.4.2" ucarp_4_pass="passcarp4" ucarp_4_addr="10.0.4.1" ucarp_4_fib="2" If you want to try it, you can get it here: http://bsdrp.svn.sourceforge.net/viewvc/bsdrp/trunk/Files/usr/local/etc/rc.d/ucarp I've got only one bug to solve (if someone have an idea): If ucarp is already started, and you start it again, the rc.subr should detect already running ucarp processes and prevent to launch other ucarp processes. But there is a bug somewhere, and rc.subr didn't prevent to start them again :-( Regards, Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3131aa531003260302j2e2521cayd2c77bfff6476261>