Hi everyone,
I'm struggling to understand how pasta will behave when the host has multiple network interfaces. I can't see this mentioned in the website or man page. I'm using pasta with podman if that makes a difference.
Example Scenario - 2 interfaces - eth0 (with default route) and eth1 in a different subnet.
When the podman container is created, inside the container there is a single interface shown that mimics the eth0 interface name, IP, gateway.
If traffic is initiated from the container to an IP within the eth1 subnet - how does pasta make it appear to come from the eth1 IP address? Does it automatically apply NAT to achieve this?
If the host has a static route for a subnet not directly connected to either eth0 or eth1, but the static route uses a next hop IP address within the eth1 subnet - will pasta apply NAT to the eth1 IP address, and the use the static route to send it via the next-hop router?
Thanks in advance.
--
From: Ben Woods