From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 3F7525A0265; Thu, 23 Jul 2026 01:26:39 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 0/2] Allow users to give source address with --gateway also for IPv6 Date: Thu, 23 Jul 2026 01:26:37 +0200 Message-ID: <20260722232639.1105561-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2UWJV3GWPS6JAUOK3ACTWVDNPSCCEXA5 X-Message-ID-Hash: 2UWJV3GWPS6JAUOK3ACTWVDNPSCCEXA5 X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: =?UTF-8?q?Jan=20Rod=C3=A1k?= , Paul Holzinger , David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ...just like it happens with IPv4. This offers a solution for https://bugs.passt.top/show_bug.cgi?id=217, as Podman can specify --address and --gateway for IPv6 local mode, and provide a unique local address, without the need to introduce other options. Further options might be more appropriate, strictly speaking, but as the future perspective is to eventually generalise NAT tables, it would be nice to avoid them right now. Stefano Brivio (2): conf: Honour --address, --gateway, --netmask in local mode as well conf, fwd: Prefer same-scope address as inbound source address from host conf.c | 23 +++++++++++++++++++---- fwd.c | 6 +++++- passt.h | 2 ++ 3 files changed, 26 insertions(+), 5 deletions(-) -- 2.43.0