在新安装的debian stretch
我为lxc-s设置了一个桥接器。 系统启动后名称parsing失败。 networking生活,我可以SSH服务器,在服务器上我可以ping IP地址。
如果我手动重新启动networking,它开始工作。 我试图用cron启动后运行脚本来重新启动networking,但它不能解决问题。
我找不到应该做什么,甚至要求解决这个问题。
我添加了brctl addbr lxcbr0
和brctl addif lxcbr0 enp3s0
我的resolv.conf
使用avahi
填充正确的数据。 Resolvconf
没有安装。
我的接口文件包含
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto enp3s0 iface enp3s0 inet manual # Lxc bridge auto lxcbr0 iface lxcbr0 inet static address 10.11.12.42 netmask 255.255.0.0 gateway 10.11.255.254 bridge_ports enp3s0 bridge_stp off bridge_fd 0