Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2008 09:57:03 -0700
From:      Rudy <crapsh@MonkeyBrains.NET>
To:        freebsd-net@freebsd.org
Subject:   Re: carpdev?
Message-ID:  <4844265F.4000405@MonkeyBrains.NET>
In-Reply-To: <48442389.9000602@MonkeyBrains.NET>
References:  <48442389.9000602@MonkeyBrains.NET>

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

Ah, someone already asked for this...http://lists.freebsd.org/pipermail/freebsd-pf/2007-July/003624.html

Would this work?  (I will test later today...) 

routerA
 ifconfig em0  10.0.0.8/24
 ifconfig carp0 create
 ifconfig carp0 vhid 1 pass mekmitasdigoat 10.0.0.2/24
 ifconfig carp0 1.2.3.4/30   <--- my "real" ip for my router

routerB
 ifconfig em0  10.0.0.9/24
 ifconfig carp0 create
 ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat 10.0.0.2/24
 ifconfig carp0 1.2.3.4/30   <--- my "real" ip for my router

if so, would rc.conf be something like this:
 
/cloned/*_*/interfaces="carp 0"/

ifconfig_carp0="vhid 1 pass mekmitasdigoat 10.0.0.2/24"
ifconfig_carp0_alias0="1.2.3.4/30"


Rudy




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4844265F.4000405>