I thought the answer to this was obvious, but I recently added a second container with a static IP address to a host, and this new container appears to be having intermittent network issues.
Suppose I already have one container with networking assigned like this:
lxc network attach lxdbr0 my_container1 eth0
lxc config device set my_container1 eth0 ipv4.address 10.248.83.3
Is it OK to set up networking on a second container using the same device?
lxc network attach lxdbr0 my_container2 eth0
lxc config device set my_container2 eth0 ipv4.address 10.248.83.4
I assumed obviously yes, since the device is internal to the container, but then I’m having intermittent network issues and realized I don’t actually know what these commands do.