I am trying to create sit tunnel in my lxd container and getting error
add tunnel “sit0” failed: No Such device
failed to bring up sit0.
Here’s my interface file content
systemctl status networking.service
I am trying to create sit tunnel in my lxd container and getting error
add tunnel “sit0” failed: No Such device
failed to bring up sit0.
Here’s my interface file content
systemctl status networking.service
Try loading the sit module on the host. (Add sit to /etc/modules on the host to load it automatically during boot.)
I was using unprivileged LXD container, making it priviledged solved my problem.
lxc config set $CONTAINER_NAME security.privileged true
You don’t have to use a privileged container since containers should get cap_net_admin by default which is enough to add sit tunnels if the module is loaded.