Hello, first of all i have to say its great work what you are doing. I love LXD.
So i am playing around a bit, still exploring the greatness of Containers and their behaviour.
I made a macvlan Profile. The interesting part looks like this:
devices: eth0: nictype: macvlan parent: eth0 type: nic
My Routers IP is 10.0.1.1
some times when i start a new container it does not assign a correct IP from my Router. Or it will, but not really.
e.g. i launch Container1 and it gets the IP if i look into “lxc list” 192.168.10.133 (where the last digit matches the assigned IP from my Router, if i look into the connected devices on my Router there is shown Container1 with IP 10.0.1.133)
But the problem is i can not ping the Container.
I can still access by “lxc shell Container1”, additionally the Container has Internet Access BUT it can not ping my router (lol).
If i start 10 Containers (no matter if i start one and wait a bit or start them in a bunch) its like 3 to 5 which get a “wrong” IP.
The other Containers get a correct IP (like 10.0.1.134 for example) and can ping the router.
One could say, just launch another Container but i’d like to understand this circumstance.
Can anyone explain this ?