LSB job for "raise network interfaces" times out but configuration works
Leroy Tennison
leroy at datavoiceint.com
Mon Mar 26 15:38:30 UTC 2018
I've found numerous posts on the web about this but all solutions fix the symptom, not the issue (adjust the networking timeout). Admittedly, the situation is more complex (bonding and bridging) but I would prefer something other than a work-around on production hypervisors. The configuration:
/etdc/modprobe.d/bonding.conf:
options bonding mode=1 miimon=100 downdelay=200 updelay=200
/etc/network/interfaces:
source /etc/network/interfaces.d/* (empty directory)
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto bond0 br0 enp2s0 enp3s0
iface enp2s0 inet manual
bond-master bond0
iface enp3s0 inet manual
bond-master bond0
iface bond0 inet manual
bond-primary enp2s0 enp3s0
post-up ifenslave bond0 enp2s0 enp3s0
pre-down ifenslave -d bond0 enp2s0 enp3s0
iface br0 inet static
address 10.222.110.95/24
gateway 10.222.110.1
up ip route add default via 10.222.110.1 dev br0
# dns-nameservers 10.222.110.1
dns-search ofc.datavoiceint.com colo.datavoiceint.com client.datavoiceint.com wifi.datavoiceint.com
bridge_ports bond0
bridge stp off
bridge_fd 0
bridge_maxwait 0
Because of the timeout, the DNS entries in /etc/network/interfaces aren't applied to the system. I have worked around this by using /etc/resolvconf/resolv.conf.d/tail.
Questions:
Why is this happening?
Is there anything I can do to prevent it while maintaining the bonding/bridging configuration?
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20180326/c5de39c3/attachment.html>
More information about the ubuntu-server
mailing list