Given the following:
Router <-----> Server [with multiple LXD containers]
How does one configure netplan so that:
This:
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
dhcp4: no
bridges:
npbr0:
interfaces:
- enp0s31f6
dhcp4: yes
is close except:
Here is how it used to be done under Network Manager
Решением для меня было использовать следующую конфигурацию:
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
match:
macaddress: 70:...
bridges:
br0:
interfaces:
- eth0
dhcp4: yes
dhcp6: no
macaddress: 70:...
И тогда я мог назначить статический IP-адрес в моем маршрутизаторе, который работал.