Hello
I have no idea what happened, but my LXCs are no longer getting any IP addresses. My VMs are getting IPs just fine and are fully online, its just the LXCs. I have a Unifi UDM as my DHCP server.
Here is my hosts /etc/network/interfaces
The LXCs are set to DHCP. Below is one of the config from host /etc/pve/lxc/<cid>.conf
I use DHCP reservations, and not set static IPs on the containers themselves, if that helps any.
I have no idea what could be causing this, any assistance would be appreciated. Let me know if any additional information is required.
I have no idea what happened, but my LXCs are no longer getting any IP addresses. My VMs are getting IPs just fine and are fully online, its just the LXCs. I have a Unifi UDM as my DHCP server.
Here is my hosts /etc/network/interfaces
Bash:
root@rdu-pve01:~# 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 eno4 inet manual
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface enp65s0 inet manual
iface enp65s0d1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.20/24
gateway 192.168.0.1
bridge-ports eno4
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp65s0d1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 1000 1001 1002 1005 1030 1031 1032
The LXCs are set to DHCP. Below is one of the config from host /etc/pve/lxc/<cid>.conf
Bash:
root@rdu-pve01:~# cat /etc/pve/lxc/112.conf
arch: amd64
cores: 4
features: nesting=1
hostname: rdu-lxc-pihole
memory: 1024
nameserver: 1.0.0.1
net0: name=eth0,bridge=vmbr1,firewall=1,hwaddr=BC:24:11:13:91:BB,ip=dhcp,tag=1005,type=veth
onboot: 1
ostype: debian
rootfs: data:112/vm-112-disk-0.raw,size=8G
searchdomain: 1.1.1.1
swap: 0
unprivileged: 1
I use DHCP reservations, and not set static IPs on the containers themselves, if that helps any.
I have no idea what could be causing this, any assistance would be appreciated. Let me know if any additional information is required.