Hi there,
I have a setup with a raspberry pi, docker and portainer and a few containers running. One of the containers must be reached by the IP of the pi and another container needs it’s own IP, so I used the workaround with the macvlan with the network tab in portainer. I followed multiple tutorials, who all say the same: one network configuration named “blabla_config” (with all the IP settings (eth0, 192.168.5.0/24, 192.168.5.1, 192.168.5.220 as the static IP) and the second network configuration named “blabla_creation”, who is linked to the config.
This worked fine until yesterday:
Unfortunately, I recreated the docker image of the container who needs its own static IP, because of a software update.
And since then, the macvlan doesn’t work anymore. If I had set it up again, nothing happens - if I delete all the network adapters related to the macvlan and set them up again, nothing happens, even a ping isn’t reliable possible, many “Destination Host Unreachable” or sometimes “No route to host”. In the router the IP shows then up multiple times?!
It all seems very obscure to me since there is only one set of macvlan network adapter (config and creation) and it seems that there are many others in the back still working somehow.
docker network ls throws out this:
NETWORK ID NAME DRIVER SCOPE
2198e6cfec32 container1_default bridge local
5c087fa9c61b container2_default bridge local
62170a39b8c3 bridge bridge local
651e4aae97af host host local
ca1d64e45cc2 none null local
abc4d7546dae container3_config null local
cb7014aa95c8 container3_creation macvlan local
3a36110b2327 container3_default bridge local
Could someone help me please with this issue?
Thank you in advance!