I am using a profile with macvlan interface defined because I need a public IP for the container. The fact that the container cannot access services on the host turns out to be too problematic.
Is there a way around this problem? Would it be possible to add an extra interface? For example have a normal eth0 and a second macvlan eth1? Or would that still not work because of the way macvlan works.
Another approach for me could be to use default private ip addresses and expose ports on a node to get in with http and ssh. Can I expose ports? How? Are these addresses then fixed after creation. Stop start does not change them? Can fix or set fixed static addresses?
What is the recommended approach if you want access to nodes using SSH for example when using Ansible? Or access to for example a reverse proxy server?
devices:
eth0:
nictype: macvlan
parent: enp9s0
type: nic
root:
path: /
pool: default
type: disk