On 25/02/2021 21:03, Rusty Sapper wrote:
I’m having trouble setting up a macvlan. I created my config under /etc/cni/net.d and can successfully start my continater with the macvlan network.
However, when I exec into the container, it has no network access to anything except itself. I apologize, I'm new to podman. I need to be able to ssh into other hosts(jenkins nodes) to run tests. I am unable to use the host network due to other requirements.
Any help would be appreciated. here is my macvlan config: { "cniVersion": "0.4.0", "name": "testmac1", "plugins": [ { "type": "macvlan", "master": "eno1np0", "ipam": { "type": "host-local", "routes": [ { "dst": "0.0.0.0/0 <http://0.0.0.0/0>" } ], "ranges": [ [ { "subnet": "10.89.0.0/24 <http://10.89.0.0/24>", "gateway": "10.89.0.1" } ] ] } }, { "type": "portmap", "capabilities": { "portMappings": true } } ] } ~
I think that's how it "is". I do not know whether it's by design but with macvlan those namespaces are separate and _no_ container <=> host but that container should have access to "outside" and vice versa, that's what I get with macvlans.
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io