Hello,
I made a big mistake by attaching a bridged interface to a LXD container : I use the physical interface instead of the bridge interface :
lxc network attach eth0 my-container eth0
Instead of
lxc network attach lxdbr0 my-container eth0
Since then, my server no longer accesses the network (it is a dedicated server) and no longer recovers its IP configuration after a restart.
Do you have any idea how to solve this problem?
Thanks in advance, I’m a little desperate…
System : Ubuntu 20.04 - LXD 4.0.9
Cyril
Do lxc config device remove <instance> eth0 and then you’ll likely need to rename the interface back to its original name using ip link set eth0 name <new name> and/or reboot to have the host network config be applied.
Thanks for your answer.
I called this morning the company where I rent the server, and after some manipulations, they realized that the problem came from the virtual port where the server was connected.
I’ve been up all night stressing for nothing…