Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
1.1 KiB
HCL
33 lines
1.1 KiB
HCL
# Configuración WAN1 estática de los firewalls MX
|
|
# El nombre debe coincidir exactamente con el nombre del dispositivo en el Dashboard
|
|
# Dashboard > Security & SD-WAN > Appliance > nombre del dispositivo
|
|
|
|
# Warm Spare (HA): VIP flotante entre primary y spare
|
|
# La IP de salida del tráfico será siempre la VIP
|
|
mx_warm_spare = {
|
|
enabled = true
|
|
spare_name = "BCN01-F04-MX02"
|
|
uplink_mode = "virtual"
|
|
virtual_ip1 = "213.229.159.148" # VIP WAN1
|
|
virtual_ip2 = "10.212.160.40" # VIP WAN2
|
|
}
|
|
|
|
mx_wan_uplinks = [
|
|
{
|
|
# MX Primary
|
|
name = "BCN01-F04-MX01" # TODO: ajustar al nombre real en el Dashboard
|
|
wan1_static_ip = "213.229.159.145"
|
|
wan1_static_subnet_mask = "255.255.255.240" # /28
|
|
wan1_static_gateway_ip = "213.229.159.147"
|
|
wan1_static_dns = ["8.8.8.8", "8.8.4.4"]
|
|
},
|
|
{
|
|
# MX Spare (Warm Spare / HA)
|
|
name = "BCN01-F04-MX02" # TODO: ajustar al nombre real en el Dashboard
|
|
wan1_static_ip = "213.229.159.146"
|
|
wan1_static_subnet_mask = "255.255.255.240" # /28
|
|
wan1_static_gateway_ip = "213.229.159.147"
|
|
wan1_static_dns = ["8.8.8.8", "8.8.4.4"]
|
|
},
|
|
]
|