Restarting network everytime after reboot??

Stefan Pettersson

Renowned Member
Feb 7, 2015
34
0
71
Stockholm, Sweden, Sweden
Hello, I am running Proxmox 4.2-13/3dd7731b on two nodes and after everytime I restart the nodes I have to "service networking restart" in order to get an IP adress for the nodes.

Is it a bug or have I missed something in the configuration for network?

Her is output of /etc/network/interfaces

# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

allow-vmbr0 pve0mngmnt
iface pve0mngmnt inet static
address 10.0.0.9
netmask 255.255.255.0
gateway 10.0.0.1
ovs_type OVSIntPort
ovs_bridge vmbr0

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds eth0 eth1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast

auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 pve0mngmnt
 
There was an issue a while back with an OVS upgrade somehow causing the /var/run/network directory not being created in time causing debian's network scripts to fail. Try purging and reinstalling openvswitch-switch, it seemed to have worked for some people.