I have a Dell Optiplex 3020 proxmox server with VMs and LXC containers. Some LXC containers have network connectivity without issue but when I create new containers they cannot reach my network or the internet. That happends wether IP is static or DHCP.
Working internet and network:
Non working internet and network:
Host managed or not, doesn't make a difference.
Proxmox's network config:
I have reinstalled proxmox because of this issue and it also happens on the fresh install. please help me and please tell me what I am doing wrong.
I'll add that VLANS also don't work on containers, even with the "working" network.
I created a new VM and tried to install Debian 12 on it. Now eve the VMs don't detect network. DHCP configuration failed in the setup.
Working internet and network:
Code:
root@proxmox:~# cat /etc/pve/lxc/100.conf
arch: amd64
cores: 1
features: nesting=1
hostname: wireguard
memory: 512
nameserver: 1.1.1.1
net0: name=eth0,bridge=vmbr0,gw=192.168.10.1,hwaddr=BC:24:11:DB:6C:85,ip=192.168.10.9/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-100-disk-0,size=8G
searchdomain: home
swap: 512
unprivileged: 1
Code:
root@proxmox:~# cat /etc/pve/lxc/104.conf
arch: amd64
cmode: shell
cores: 1
hostname: Technitium
memory: 512
net0: name=eth0,bridge=vmbr0,gw=192.168.10.1,host-managed=1,hwaddr=BC:24:11:0C:A8:34,ip=192.168.10.12/24,type=veth
ostype: fedora
rootfs: local-lvm:vm-104-disk-0,size=8G
swap: 512
unprivileged: 1
Proxmox's network config:
Code:
root@proxmox:~# 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
auto nic0
iface nic0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.6/24
gateway 192.168.10.1
bridge-ports nic0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
source /etc/network/interfaces.d/*
I'll add that VLANS also don't work on containers, even with the "working" network.
I created a new VM and tried to install Debian 12 on it. Now eve the VMs don't detect network. DHCP configuration failed in the setup.