public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Allow users to give source address with --gateway also for IPv6
@ 2026-07-22 23:26 Stefano Brivio
  2026-07-22 23:26 ` [PATCH 1/2] conf: Honour --address, --gateway, --netmask in local mode as well Stefano Brivio
  2026-07-22 23:26 ` [PATCH 2/2] conf, fwd: Prefer same-scope address as inbound source address from host Stefano Brivio
  0 siblings, 2 replies; 6+ messages in thread
From: Stefano Brivio @ 2026-07-22 23:26 UTC (permalink / raw)
  To: passt-dev; +Cc: Jan Rodák, Paul Holzinger, David Gibson

...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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-23  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 23:26 [PATCH 0/2] Allow users to give source address with --gateway also for IPv6 Stefano Brivio
2026-07-22 23:26 ` [PATCH 1/2] conf: Honour --address, --gateway, --netmask in local mode as well Stefano Brivio
2026-07-23  3:26   ` David Gibson
2026-07-22 23:26 ` [PATCH 2/2] conf, fwd: Prefer same-scope address as inbound source address from host Stefano Brivio
2026-07-23  3:36   ` David Gibson
2026-07-23  9:42     ` Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).