Netplan Bonding

From wikieduonline
Revision as of 15:30, 18 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

Netplan example

network:
  version: 2
  renderer: networkd
  bonds:
    bond0:
      dhcp4: yes
      interfaces:
        - enp3s0
        - enp4s0
      parameters:
        mode: active-backup
        primary: enp3s0
network:
  version: 2
  renderer: networkd
  bonds:
    bond0:
      interfaces:
        - ens3f0
        - ens3f1
      parameters:
        mode: active-backup
        primary: ens3f0
   bond-wan:
      interfaces: [enp1s0, enp4s0]
      addresses: [192.168.1.252/24]
      gateway4: 192.168.1.1
      nameservers:
        search: [local]
        addresses: [8.8.8.8, 8.8.4.4]
      parameters:
        mode: active-backup
        primary: enp1s0

https://netplan.io/examples


See also

Advertising: