Difference between revisions of "Netplan Bonding"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
bonds: | bonds: | ||
bond0: | bond0: | ||
− | interfaces: [ | + | interfaces: [ens3f0, ens3f1] |
− | addresses: [ | + | addresses: [10.10.110.2/24] |
− | gateway4: | + | gateway4: 10.10.110.1 |
nameservers: | nameservers: | ||
search: [local] | search: [local] | ||
− | addresses: [ | + | addresses: [10.10.110.1] |
parameters: | parameters: | ||
mode: active-backup | mode: active-backup | ||
− | primary: | + | primary: ens3f0 |
</pre> | </pre> | ||
<pre> | <pre> |
Revision as of 15:34, 18 December 2019
Netplan example
network: version: 2 renderer: networkd bonds: bond0: interfaces: [ens3f0, ens3f1] addresses: [10.10.110.2/24] gateway4: 10.10.110.1 nameservers: search: [local] addresses: [10.10.110.1] parameters: mode: active-backup primary: ens3f0
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
See also
Advertising: