PBS LXC has no network connection after proxmox host reboot

epicurean

Member
Jun 21, 2021
44
1
13
54
I have PBS installed as a container in a proxmox 7 host, with CIFS share from a truenas server as its storage. It was working fine until a reboot (after recent proxmox updates) and now it has no network connection. The other VMs on the same host are fine.
"hostname 'PBS' does not resolves to any non-loopback address" - this is the error on front page. The PBS used to take an IP address via DHCP, which my pfsense router puts aside as a static address.

PBS Container:
/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

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
valid_lft forever preferred_lft forever
2: eth0@if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 62:8c:4b:fc:9d:5e brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::608c:4bff:fefc:9d5e/64 scope link
valid_lft forever preferred_lft forever

pct config CTID (on proxmox host)
arch: amd64
cores: 4
description: 192.168.1.165%0A
features: mount=nfs;cifs,nesting=1
hostname: PBS
memory: 35768
mp0: /mnt/PBS,mp=/mnt/PBS
net0: name=eth0,bridge=vmbr0,hwaddr=62:8C:4B:FC:9D:5E,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: HP600-VMS:311/vm-311-disk-1.raw,size=40G
swap: 4096


I do not know where to start to troubleshoot. Thanks for your help
 
Last edited:
check the boot log of the container - it doesn't seem to get an address via DHCP..
 
  • Like
Reactions: Zwa1234

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!