Пример конфигурации сети netplan с бондом и VLAN

netplan

Пример конфигурации сети netplan с бондом и VLAN

network:

version: 2

renderer: networkd

ethernets:

enp5s0f0: {}

enp5s0f1: {}

bonds:

bond0:

interfaces:

- enp5s0f0

- enp5s0f1

paramerers:

lacp-rate: slow

mode: 802.3ad

transmit-hash-policy: layer3+4

vlans:

vlan100:

id: 100

link: bond0

addresses:

- 192.168.100.8/24

gateway4: 192.168.100.1

nameservers:

- 192.168.100.3

- 10.33.0.4

search:

- omega.local

****