Hi All,
> Akihiro or Giuseppe any ideas?
it should be done in slirp4netns but that is not possible now. I
don't see support for it in libslirp, so we'd first need to support
binding to a device into libslirp.
Thank you for the update.
The reasoning behind it would be to make it easily possible to recognize
traffic from pods in the underlying network, similar to how EgressIPs do
it in the k8s/OCP world.
But looking more into (thought about filing an RFE with
slirp4netns/libslirp) it seems, that this is already in progress:
https://github.com/rootless-containers/slirp4netns/issues/173
https://gitlab.freedesktop.org/slirp/libslirp/issues/14
https://gitlab.freedesktop.org/slirp/libslirp/-/merge_requests/30
So it looks like the necessary plumbing seems to be done, now needs to
expose the capability by slirb4netns and then later into podman.
best
mh