0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ヤマハルーター VRRP トリガー設定のTips

Last updated at Posted at 2025-12-15

VRRPのシャットダウントリガーとして、
ip lan1 vrrp shutdown trigger 1 lan2
とする参考例があったりしますが、ISP側の障害であったり、なぜか回線終端装置のリンクアップだけは生きていた場合に正常動作しないので、次の形の方が良いのかなと考えています。

# VRRP インターフェイス設定
ip lan1 vrrp 1 192.168.100.254 priority=200

# 通常の経路設定: Keepaliveとweight 0 を組み合わせて異常時に経路が消えるようにする
ip route default gateway tunnel 1 keepalive 1 weight 0
ip keepalive 1 icmp-echo 5 5 x.x.x.x

# VRRP トリガー設定 デフォルト経路が消失するとトリガーをひく
ip lan1 vrrp shutdown trigger 1 route default

他にも気を付けること

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?