Skip to main content

LXC NIC Passthrough

It is possible to pass a physical interface to a LXC container. Normally you'd pass a veth (Virtual Ethernet) device connected to a bridge but when

lxc.net.0.type: phys
lxc.net.0.link: enp1s0
lxc.net.0.name: eth0