Slow DHCP for some reasons

dynek

Member
Oct 30, 2019
5
0
23
41
Hello everyone,

Today I restarted a server running as single proxmox node, and it took several minutes for the IP address to be acquired through DHCP.
Until now I have no clue of the root cause, but other devices attached to the same switch/router do not have such issues, and setting static IP fixes it (but I prefer DHCP).

I'm using Openvswitch and here's the network configuration (with DHCP):
Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto enxa4f7d00029c0
iface enxa4f7d00029c0 inet manual

auto vlan100
iface vlan100 inet dhcp
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag=100
    ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
    hwaddress ether XX:YY:ZZ:XX:YY:ZZ
#VLAN100

auto bond0
iface bond0 inet manual
    ovs_bonds eno1 enxa4f7d00029c0
    ovs_type OVSBond
    ovs_bridge vmbr0
    ovs_options lacp=active bond_mode=balance-tcp tag=1 other_config:lacp-time=fast vlan_mode=native-untagged trunks=100,200,300

auto vmbr0
iface vmbr0 inet manual
    ovs_type OVSBridge
    ovs_ports bond0 vlan100

It used to work straight away, but since I'm not restarting very often, I couldn't say which update (kernel, openvswitch, or else) could have caused this.
Does anything obvious popup when reading the network config ?

Thank you
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!