Hi
I'd like to have my hypervisor on a trunk port and the management UI reachable from SERVER VLAN.
I could set this up with a static ip like this :
But as soon as I switch the vmbr0.10 to DHCP, boot hangs on "Raise network interfaces" and the server won't get an IP.
However, it instantly gets an ip when I run dhclient vmbr0.10
What can cause this hang/failed dhcp ? Bridge VLANs are raised before bridges ?
I'd like to have my hypervisor on a trunk port and the management UI reachable from SERVER VLAN.
I could set this up with a static ip like this :
Code:
root@proxmox-1:~# cat /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 parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp0s25 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp0s25
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.10
iface vmbr0.10 inet static
address 192.168.10.2/24
gateway 192.168.10.1
vlan_raw_device vmbr0
But as soon as I switch the vmbr0.10 to DHCP, boot hangs on "Raise network interfaces" and the server won't get an IP.
Code:
root@proxmox-1:~# cat /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 parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp0s25 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp0s25
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.10
iface vmbr0.10 inet dhcp
vlan_raw_device vmbr0
However, it instantly gets an ip when I run dhclient vmbr0.10
What can cause this hang/failed dhcp ? Bridge VLANs are raised before bridges ?