carpdev?

Rudy crapsh at MonkeyBrains.NET
Mon Jun 2 16:57:00 UTC 2008


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



More information about the freebsd-net mailing list