ProxMox 7.4, pass through nic not working after updating.

SouthPawn

Active Member
Jan 3, 2019
3
1
43
43
Hello,

I updated recently from 6.x to 7.4, one of my containers no longer boots stating:
netdev_configure_server_phys: 1164 Invalid argument - No link for physical interface specified
lxc_create_network_priv: 3427 Invalid argument - Failed to create network device
lxc_spawn: 1840 Failed to create the network
startup for container '111' failed

arch: amd64
cores: 2
features: mount=nfs,nesting=1
hostname: snorby
memory: 2048
mp1: Datastore:111/vm-111-disk-3.raw,mp=/var/log/suricata,size=8G
net0: name=eth0,bridge=vmbr0,gw=192.168.0.1,hwaddr=9A:32:63:E7:26:5C,ip=192.168.0.32/24,type=veth
onboot: 1
ostype: centos
rootfs: Datastore:111/vm-111-disk-2.raw,size=8G
swap: 2048
lxc.net.1.link: ens192f1
lxc.net.1.type: phys
lxc.net.1.name: eth1

root@pve:/etc/pve/nodes/pve/lxc# ip link | grep ens192
2: ens192f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP mode DEFAULT group default qlen 1000
3: ens192f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
4: ens192f2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
5: ens192f3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
root@pve:/etc/pve/nodes/pve/lxc#

Is there something I'm missing here?
 
Last edited:
Apparently the order matters, and now it seems to work without issue.

lxc.net.1.type: phys
lxc.net.1.link: ens192f1
lxc.net.1.name: eth1
 
  • Like
Reactions: oscar13sd

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!