debian通过virt-manager图形界面配置网桥:
7 之前,没任何问题!
8 启动时,32秒才过,但可以正常使用,极为不爽!
并且,/var/log/daemon.log:
Configuring network interfaces...set forward delay failed: Numerical result out of range
Waiting for br0 to get ready (MAXWAIT is 32 seconds).
done.
8 自动形成的配置,/etc/network/interfaces:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 192.168.1.208
netmask 255.255.255.0
bridge_ports eth1
bridge_stp on
gateway 192.168.1.1
bridge_maxwait 0
# bridge_fd 0.0
修复及结论:
新增:(bridge_maxwait 0 )
删除:(# bridge_fd 0.0)
启动无提示,日志正常,Configuring network interfaces...done.
问题解决!
如不删除:(bridge_fd 0.0)
日志中有错误提示:(set forward delay failed: Numerical result out of range)
如不新增:(bridge_maxwait 0 ),启动有32秒延时,(Waiting for br0 to get ready (MAXWAIT is 32 seconds). )但日志无错误记录!
时间: 2024-10-12 02:21:36