Ubuntu netplan arp-ip-targetの問題

Ubuntu netplan arp-ip-targetの問題

Netplanバージョンを実行するubuntu 20.04があり、オプションを使用してボンドを構成しようとしてい0.102-0ubuntu1~20.04.2ます。active-backuparp-ip-target

  bonds:
        bond0:
          dhcp4: no
          interfaces:
            - eno49
            - eno50
          parameters:
            mode: active-backup
            arp-ip-targets: [ 10.64.0.1 ]
            arp-interval: 3000

これが私の債券出力です

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eno49
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Peer Notification Delay (ms): 0
ARP Polling Interval (ms): 3000
ARP IP target/s (n.n.n.n form): 10.64.0.1

Slave Interface: eno50
MII Status: down
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 5c:b9:01:9d:ac:ad
Slave queue ID: 0

Slave Interface: eno49
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 5c:b9:01:9d:ac:ac
Slave queue ID: 0

テストのためにボンディングフェイルオーバーを確認するためにアップストリームスイッチポートを無効にしましたが、正しく機能しないようです。問題を解決するにはどうすればよいですか?

ベストアンサー1

追加するarp_validate: allだけです! !

parameters:
  mode: active-backup
  arp-ip-targets: [ 10.64.0.1 ]
  arp-interval: 3000
  arp-validate: all

おすすめ記事