# LXC NIC Passthrough

On the rare occation you have a good reason to forgo the small overhead of an _veth_ [(Virtual Ethernet)](https://man7.org/linux/man-pages/man4/veth.4.html) device connected to an [ethernet bridge](https://wiki.archlinux.org/index.php/Network_bridge) it is possible to pass a physical network interface directly to a LXC host.

To pass a physical device you just need to provide `lxc.net.[index].type` and `lxc.net.[index].link` parameters in the LXC config. You may optionally provide a name for the link as well with `lxc.net.[index].name`. Just be sure your index value is unique among all network interfaces fot the LXC container including those Proxmox may add if you running your LXC hosts on Proxmox.

```
lxc.net.0.type: phys
lxc.net.0.link: enp1s0
# optional
lxc.net.0.name: eth0
```