Hi
I want to have a Ubuntu Server (24 LTS) that runs Docker containers, LXC containers and Podman pods at the same time. Container services have to be able to communicate with each other and the rest of the network e.g. Internet.
The host has 2 NICs, one purely for management and the other for container services only (the host has no IP on this NIC).
Pods have to run in rootless mode.
I don’t understand how I have to implement this. I tried the following:
eth0 (parent for app_br)
└─ app_br (parent for all macvlans)
├─ macvlan_doc (attach Docker containers here; created with docker network create...)
├─ macvlan_pod (attach Pods here; created with podman network create)
└─ macvlan_lxc (attach LXC here)
This works for Docker, but I cannot get this to work for Podman. Even if I create the macvlan_pod and verify it’s there and attached to app_br podman run... throws the following error as soon as I try to attach something to macvlan_pod:
Error: netavark: Netlink error: No such device (os error 19)
I also tried to create a macvlan with netplan but all the netplan syntax I have found and tried fails.
AI could not help and let me run in circles.
This is what I would like to achieve:

How can I implement this? I would like for each container to have its very own ip but also mac address so that each appears as a real client on the network. That is the reason I tried to implement this with macvlan.
Any help is welcome. Thank you