I configured an LXC container using the PMG 9.0-1 template. I use DHCPv4 for IPv4 and SLAAC for IPv6, I do not have any DHCPv6 server in my network. These settings work for all my LXC containers. However, when configuring the pmg interface like that in the proxmox webui the container starts but the console times out. Only by setting the console mode to shell in the container options was I able to find the issue. I assume pct enter would have worked as well.
As you can see below dhclient -6 is run when IPv6 is set to SLAAC in the bridge settings. I assume dhclient failing is what holds up the boot process. When I set IPv6 to static and leave the configuration empty the container boots without issues (as far as I can tell, at least systemctl status shows 'running'). I even get a correct IPv6 address (I assume via RA).
As you can see below dhclient -6 is run when IPv6 is set to SLAAC in the bridge settings. I assume dhclient failing is what holds up the boot process. When I set IPv6 to static and leave the configuration empty the container boots without issues (as far as I can tell, at least systemctl status shows 'running'). I even get a correct IPv6 address (I assume via RA).
Code:
root@pmg:/# systemctl status
● pmg
State: starting
Units: 252 loaded (incl. loaded aliases)
Jobs: 26 queued
Failed: 0 units
Since: Fri 2025-11-21 08:28:32 CET; 48s ago
systemd: 257.8-1~deb13u2
Tainted: unmerged-bin
CGroup: /
├─.lxc
│ ├─203 /bin/bash
│ ├─209 systemctl status
│ └─210 less
├─init.scope
│ └─1 /sbin/init
└─system.slice
├─cron.service
│ └─97 /usr/sbin/cron -f
├─dbus.service
│ └─98 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
├─networking.service
│ ├─ 79 /bin/bash /usr/share/ifupdown2/sbin/start-networking start
│ ├─135 python3 /usr/sbin/ifup -a --perfmode --systemd
│ ├─164 /sbin/dhclient -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
│ ├─194 /sbin/dhclient -6 -pf /run/dhclient6.eth0.pid -lf /var/lib/dhcp/dhclient6.eth0.leases eth0
│ └─195 /sbin/dhclient -6 -pf /run/dhclient6.eth0.pid -lf /var/lib/dhcp/dhclient6.eth0.leases eth0
├─rrdcached.service
│ └─100 /usr/bin/rrdcached -g
├─rsyslog.service
│ └─101 /usr/sbin/rsyslogd -n -iNONE
├─systemd-journald.service
│ └─47 /usr/lib/systemd/systemd-journald
├─systemd-logind.service
│ └─102 /usr/lib/systemd/systemd-logind
└─systemd-networkd.service
└─152 /usr/lib/systemd/systemd-networkd
Code:
Nov 21 08:28:33 pmg systemd-networkd[152]: eth0: Link UP
Nov 21 08:28:33 pmg systemd-networkd[152]: eth0: Gained carrier
Nov 21 08:28:33 pmg systemd[1]: Starting systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd...
Nov 21 08:28:33 pmg systemd[1]: Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd.
Nov 21 08:28:34 pmg info[135]: executing /sbin/dhclient -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
Nov 21 08:28:34 pmg dhclient[164]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Nov 21 08:28:34 pmg dhclient[164]: DHCPOFFER of 192.168.178.112 from 192.168.178.253
Nov 21 08:28:34 pmg dhclient[164]: DHCPREQUEST for 192.168.178.112 on eth0 to 255.255.255.255 port 67
Nov 21 08:28:34 pmg dhclient[164]: DHCPACK of 192.168.178.112 from 192.168.178.253
Nov 21 08:28:34 pmg systemd[1]: Starting postfix-resolvconf.service - Updates postfix copy of resolv.conf...
Nov 21 08:28:34 pmg systemd[1]: proxmox-regenerate-snakeoil.service - "Regenerate pre-generated snakeoil certificate and key-pair once" was skipped because of an unmet condition check (ConditionFirstBoot=yes).
Nov 21 08:28:34 pmg systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
Nov 21 08:28:34 pmg dhclient[164]: bound to 192.168.178.112 -- renewal in 1839 seconds.
Nov 21 08:28:34 pmg info[135]: executing ip -o addr show eth0
Nov 21 08:28:34 pmg info[135]: eth0: dhclient: new address detected: 192.168.178.112/24
Nov 21 08:28:34 pmg info[135]: executing /sbin/dhclient -6 -x -pf /run/dhclient6.eth0.pid -lf /var/lib/dhcp/dhclient6.eth0.leases eth0
Nov 21 08:28:34 pmg dhclient[188]: Can't bind to dhcp address: Cannot assign requested address
Nov 21 08:28:34 pmg dhclient[188]: Please make sure there is no other dhcp server
Nov 21 08:28:34 pmg dhclient[188]: running and that there's no entry for dhcp or
Nov 21 08:28:34 pmg dhclient[188]: bootp in /etc/inetd.conf. Also make sure you
Nov 21 08:28:34 pmg dhclient[188]: are not running HP JetAdmin software, which
Nov 21 08:28:34 pmg dhclient[188]: includes a bootp server.
Nov 21 08:28:34 pmg dhclient[188]:
Nov 21 08:28:34 pmg dhclient[188]: If you think you have received this message due to a bug rather
Nov 21 08:28:34 pmg dhclient[188]: than a configuration issue please read the section on submitting
Nov 21 08:28:34 pmg dhclient[188]: bugs on either our web page at www.isc.org or in the README file
Nov 21 08:28:34 pmg dhclient[188]: before submitting a bug. These pages explain the proper
Nov 21 08:28:34 pmg dhclient[188]: process and the information we find helpful for debugging.
Nov 21 08:28:34 pmg dhclient[188]:
Nov 21 08:28:34 pmg dhclient[188]: exiting.