I have never done this but I can look into it next week.   From a quick Google search I found this.   At least from my understanding, you have to add this to the config from the LXC container: lxc.cgroup2.devices.allow = c 10:200 rwm lxc.mount.entry = /dev/net dev/net none bind,create=dir