From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: "Jan Rodák" <jrodak@redhat.com>,
"Paul Holzinger" <pholzing@redhat.com>,
"David Gibson" <david@gibson.dropbear.id.au>
Subject: [PATCH v2 0/2] Allow users to give source address with --gateway also for IPv6
Date: Thu, 23 Jul 2026 17:16:01 +0200 [thread overview]
Message-ID: <20260723151603.2967615-1-sbrivio@redhat.com> (raw)
...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, 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.
v2: In 2/2, use the address passed as --gateway as source for inbound
NAT from the host also when we're not in local mode
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 | 25 +++++++++++++++++++++----
fwd.c | 6 +++++-
passt.h | 2 ++
3 files changed, 28 insertions(+), 5 deletions(-)
--
2.43.0
next reply other threads:[~2026-07-23 15:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 15:16 Stefano Brivio [this message]
2026-07-23 15:16 ` [PATCH v2 1/2] conf: Honour --address, --gateway, --netmask in local mode as well Stefano Brivio
2026-07-23 15:16 ` [PATCH v2 2/2] conf, fwd: Prefer same-scope address as inbound source address from host Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260723151603.2967615-1-sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=jrodak@redhat.com \
--cc=passt-dev@passt.top \
--cc=pholzing@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).