Last active
February 9, 2024 06:16
-
-
Save sainak/b6ffe7c6243c6aec2f4ff576f7caeb91 to your computer and use it in GitHub Desktop.
Netplan configuration for network interface failover.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
version: 2 | |
ethernets: | |
enp9s0: | |
dhcp4: false | |
wifis: | |
wlan0: | |
access-points: | |
"wifi": | |
password: "pass" | |
dhcp4: false | |
bonds: | |
bond0: | |
interfaces: [enp9s0, wlan0] | |
#macaddress: "xx:xx:xx:xx:xx:xx" | |
dhcp4: true | |
dhcp-identifier: mac | |
dhcp4-overrides: | |
use-dns: true | |
use-domains: true | |
ipv6-privacy: true | |
parameters: | |
mode: active-backup | |
fail-over-mac-policy: none | |
primary-reselect-policy: always | |
primary: enp9s0 | |
mii-monitor-interval: 100 | |
min-links: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment