Hi,
SOLVED - LXC is privileged as per Jellyfin's documentation which disables nesting by default. Adding nesting resolves the issue.
I'm trying out Proxmox for the first time and everything was going well but all of a sudden IP settings have stopped working for new LXCs (I haven't tried VMs). The only thing I remember doing when it stopped working was to delete and re-create a container. When I start a new container with a static IP or DHCP the result is as follows.
If I set the address manually as below, it works fine until I restart the container. I know the commands below are not persistent, but I'm just showing that the network is working, it's just not getting the IP via the Proxmox config file. The IP is reserved on the router and I've checked for conflicts.
Here is the config file for the LXC:
If I restart an existing container it keeps the IP and connects as expected. I've tried DHCP, different IP addresses, deleting the container again and re-creating it, creating a completely different container with a different name and ID, restarting the host and restarting the router. I'm using Proxmox 9.0.5 and the container is Ubuntu 24.04. I've tried 25 too, but for some reason I just get a black screen and cursor when I use that. Anybody know what might be causing the problem please?
Thanks
SOLVED - LXC is privileged as per Jellyfin's documentation which disables nesting by default. Adding nesting resolves the issue.
I'm trying out Proxmox for the first time and everything was going well but all of a sudden IP settings have stopped working for new LXCs (I haven't tried VMs). The only thing I remember doing when it stopped working was to delete and re-create a container. When I start a new container with a static IP or DHCP the result is as follows.
Bash:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eth0@if58: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether bc:24:11:05:07:30 brd ff:ff:ff:ff:ff:ff link-netnsid 0
If I set the address manually as below, it works fine until I restart the container. I know the commands below are not persistent, but I'm just showing that the network is working, it's just not getting the IP via the Proxmox config file. The IP is reserved on the router and I've checked for conflicts.
Bash:
ip addr add 192.168.0.202/24 dev eth0
ip link set eth0 up
ip route add default via 192.168.0.1
ping google.com
PING google.com (142.250.151.100) 56(84) bytes of data.
64 bytes from st-in-f100.1e100.net (142.250.151.100): icmp_seq=1 ttl=112 time=20.2 ms
64 bytes from st-in-f100.1e100.net (142.250.151.100): icmp_seq=2 ttl=112 time=19.5 ms
Here is the config file for the LXC:
Bash:
arch: amd64
cores: 2
dev0: /dev/dri/renderD128,gid=993,mode=0660,uid=0
hostname: lxc-jellyfin
memory: 6144
net0: name=eth0,bridge=vmbr0,gw=192.168.0.1,hwaddr=BC:24:11:05:07:30,ip=192.168.0.202/24,type=veth
ostype: ubuntu
rootfs: local-lvm:vm-202-disk-0,size=200G
swap: 512
If I restart an existing container it keeps the IP and connects as expected. I've tried DHCP, different IP addresses, deleting the container again and re-creating it, creating a completely different container with a different name and ID, restarting the host and restarting the router. I'm using Proxmox 9.0.5 and the container is Ubuntu 24.04. I've tried 25 too, but for some reason I just get a black screen and cursor when I use that. Anybody know what might be causing the problem please?
Thanks
Last edited: