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
|