我正在尝试使用Netplan创建一座桥梁。
我抄袭了导游的这一部分。
但它给了我一个错误:
root@ubuntu:~# netplan generate
Error in network definition //etc/netplan/01-netcfg.yaml line 9 column 10: br0: interface eth0 is not defined发布于 2018-12-05 09:01:08
若要将eth0接口引用为桥中的接口,还必须在yaml中声明该物理接口,即使您没有其他配置可附加到它。即:
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: false
bridges:
br0:
dhcp4: yes
interfaces:
- eth0应该更新netplan.io示例以反映这一点。
https://askubuntu.com/questions/1096089
复制相似问题