Criar tabela de rotas Vyatta
set policy route pbr pfroute rule 10 address-family ipv4
set policy route pbr pfroute rule 10 action accept
set policy route pbr pfroute rule 10 source address X.X.X.X/X
set policy route pbr pfroute rule 10 destination address 0.0.0.0/0
set policy route pbr pfroute rule 10 table 1
set policy route pbr pfroute rule 11 address-family ipv4
set policy route pbr pfroute rule 11 action accept
set policy route pbr pfroute rule 11 source address X.X.X.X/X
set policy route pbr pfroute rule 11 destination address 0.0.0.0/0
set policy route pbr pfroute rule 11 table 2
set protocols static table 1 route 0.0.0.0/0 next-hop 'X.X.X.X' = IP do outro gateway
set interfaces bonding dp0bond0 vif 1456 policy route pbr pfroute
Comentários
Postar um comentário