====== Vyatta VRRP ====== VRRP(Virtual Router Redundancy Protocol) {{:05_network:04_vyatta:vrrp2.png?600|}} HOST1のGatewayを 192.168.5.1 にしておけば、\\ switch1(vyatta-A)が落ちても問題無く通信できる。 ===== switch1(vyatta-A) ===== # set interfaces ethernet eth1 vrrp vrrp-group 99 # set interfaces ethernet eth1 vrrp virtual-address 192.168.5.1 # set interfaces ethernet eth1 vrrp preempt true # set interfaces ethernet eth1 vrrp priority 255 ===== switch2(vyatta-B) ===== # set interfaces ethernet eth1 vrrp vrrp-group 99 # set interfaces ethernet eth1 vrrp virtual-address 192.168.5.1 # set interfaces ethernet eth1 vrrp preempt true # set interfaces ethernet eth1 vrrp priority 150 確認 $ sh vrrp summary VRRP Addr Interface Address VRRP Interface Group Type Address State Owner State --------- ----- ---- ------- ----- ----- ----- eth1 99 vip 192.168.5.1 up no master