Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...




ip -s -s link show dev bond0
repeat commandwatch

watch -n 1 ip -s -s link show dev bond0


netplan


Code Block
titlenetplan config
more /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
  ethernets:
    eno1:
      dhcp4: false
      dhcp6: false
    eno2:
      dhcp4: false
      dhcp6: false
 . . . 
  bonds:
    bond0:
      addresses:
        - 10.0.0.1/24
      interfaces:
        - eno1
        - eno2
      parameters:
        mode: 802.3ad
        lacp-rate: slow
        transmit-hash-policy: layer3+4
        mii-monitor-interval: 1
  version: 2