It is not possible to assign both a virtual network interface and a passthrough network interface to an LXC container.

liuhonglu

New Member
Aug 5, 2023
17
0
1
I created an lxc container for an openwrt system. I assigned four network interfaces to the openwrt container, two virtual interfaces and two pass-through interfaces. After the configuration was completed, the container failed to start and displayed the following error:
1720497062720.jpeg
I can only start openwrt by restarting PVE.This is the container configuration:
1720497280863.jpeg
After the container is started successfully, openwrt can only recognize the virtual interface eth0 and the pass-through interfaces enp2s0 and enp3s0. The wan and iptv interfaces cannot be displayed. If I remove the pass-through interface, the wan and iptv interfaces can be recognized normally. I don't understand why this happens. eth0 can coexist with enp2s0 and enp3s0, but it cannot be done after one of the pass-through interfaces is converted into a virtual interface. Now I can only add all virtual interfaces to use openwrt normally.
 

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!