Daniel Walsh <dwalsh(a)redhat.com> writes:
On 4/10/20 12:12, mh+podman(a)scrit.ch wrote:
> assuming a host has 2 ips: 192.168.1.1 and 192.168.1.2 (as an ip alias).
> By default outgoing traffic is on 192.168.1.1 - is it possible to tell a
> rootless container (actually slirp4netns), that 192.168.1.2 should be
> used as the src ip?
> I would assume that this would need to be done be slirp4netns, but I
> wasn't able to find such an option.
> thanks and best
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
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.