[FUG-BR] Duvida sobre CARP
Tiago Cruz
tiagocruz em forumgdh.net
Qui Mar 30 17:17:34 BRT 2006
On Thu, 2006-03-30 at 17:02 -0300, ((-: Fran :-)) wrote:
> Só que quando eu reinicio a maquina ele perde as configurações do CARP
Voce precisa chumba-las no rc.conf, algo que não está na documentação
oficial, mas que você pode fazer assim:
Firewall Master:
### Redudancia Samurai
network_interfaces="lo0 xl0 xl1 bge0"
cloned_interfaces="carp0"
ifconfig_xl0="200.222.222.10/29"
ifconfig_xl1="192.168.0.254/22"
ifconfig_bge0="10.0.0.1/24"
ifconfig_carp0="vhid 1 advskew 1 pass SENHA 192.168.0.1/22"
ifconfig_pfsync0="up syncif bge0"
pfsync_enable="YES"
pfsync_syncdev="bge0"
defaultrouter="200.222.222.1"
####################
Firewall Backup:
### Redudancia Samurai
# rl0 = lan, xl1 = wan, xl0 = pfsync
network_interfaces="lo0 xl0 xl1 rl0"
cloned_interfaces="carp0"
ifconfig_xl1="200.111.111.11/29"
ifconfig_rl0="192.168.0.253/22"
ifconfig_xl0="10.0.0.2/24"
ifconfig_carp0="vhid 1 advskew 50 pass SENHA 192.168.0.1/22"
ifconfig_pfsync0="up syncif xl0"
pfsync_enable="YES"
pfsync_syncdev="xl0"
defaultrouter="200.111.111.1"
####################
--
Tiago Cruz
http://linuxrapido.org
"Windows Vista" is the abbreviation for:
"Windows with Viruses, Instability, Spyware, Trojans and Adware"
_______________________________________________
freebsd mailing list
freebsd em fug.com.br
http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br
Mais detalhes sobre a lista de discussão freebsd