From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: Jon Maloy <jmaloy@redhat.com>, dgibson@redhat.com, passt-dev@passt.top
Subject: Re: [PATCH v12 3/9] arp/ndp: send ARP announcement / unsolicited NA when neigbour entry added
Date: Fri, 10 Oct 2025 10:46:22 +1100 [thread overview]
Message-ID: <aOhJTjfwmEhuNECN@zatzit> (raw)
In-Reply-To: <20251009212912.510f860e@elisabeth>
[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]
On Thu, Oct 09, 2025 at 09:29:12PM +0200, Stefano Brivio wrote:
> On Thu, 9 Oct 2025 14:51:02 +1100
> David Gibson <david@gibson.dropbear.id.au> wrote:
> > On Wed, Oct 08, 2025 at 12:01:18PM +0200, Stefano Brivio wrote:
> > > On Wed, 8 Oct 2025 11:27:32 +1100
> > > David Gibson <david@gibson.dropbear.id.au> wrote:
[snip]
> > > but that wasn't the case, hence (I think) the
> > > current struggle. If we go in that direction, I hope it's possible.
> >
> > Thinking a bit more closely, I don't think it is, for much the same
> > reason it wasn't in this draft.
> >
> > According to the rules Jon and I thrashed out elsewhere in the thread,
> > there are certain guest side addresses that must be locked to use
> > our_tap_mac. We're essentially shadowing something that might exist
> > on the host side, so we should use our MAC not the MAC of whatever is
> > shadowed.
> >
> > Just pre-populating an entry won't do the trick, because it could be
> > overwritten if the right events occur for the shadowed host.
>
> Right, sorry, I omitted another bit of context: I've been suggesting to
> Jon that he'd introduce some kind of "permanent" or "administrative"
> bit, and keep those entries at the beginning of the chain, exactly for
> the reason you mention.
Ah, right. Yes, that's a good idea.
> I can imagine we'll need those at some point if we ever want to offer
> explicit link-layer address mapping in the future, and they're probably
> convenient the day one can change map_guest_addr and map_host_loopback
> at runtime.
>
> We can also happily skip that for the moment, though, it's another
> problem we can keep for later.
Right.
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-10-09 23:50 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 0:34 [PATCH v12 0/9] Use true MAC address of LAN local remote hosts Jon Maloy
2025-10-03 0:34 ` [PATCH v12 1/9] netlink: add subsciption on changes in NDP/ARP table Jon Maloy
2025-10-03 4:01 ` David Gibson
2025-10-06 22:33 ` Stefano Brivio
2025-10-03 0:34 ` [PATCH v12 2/9] fwd: Add cache table for ARP/NDP contents Jon Maloy
2025-10-03 1:03 ` Jon Maloy
2025-10-03 4:31 ` David Gibson
2025-10-05 15:52 ` Jon Maloy
2025-10-06 22:33 ` Stefano Brivio
2025-10-07 3:33 ` David Gibson
2025-10-06 22:40 ` Stefano Brivio
2025-10-03 0:34 ` [PATCH v12 3/9] arp/ndp: send ARP announcement / unsolicited NA when neigbour entry added Jon Maloy
2025-10-03 4:41 ` David Gibson
2025-10-07 10:10 ` Stefano Brivio
2025-10-08 0:27 ` David Gibson
2025-10-08 10:01 ` Stefano Brivio
2025-10-09 3:51 ` David Gibson
2025-10-09 19:29 ` Stefano Brivio
2025-10-09 23:46 ` David Gibson [this message]
2025-10-06 22:51 ` Stefano Brivio
2025-10-03 0:34 ` [PATCH v12 4/9] arp/ndp: respond with true MAC address of LAN local remote hosts Jon Maloy
2025-10-03 4:48 ` David Gibson
2025-10-03 0:34 ` [PATCH v12 5/9] flow: add MAC address of LAN local remote hosts to flow Jon Maloy
2025-10-03 0:34 ` [PATCH v12 6/9] udp: forward external source MAC address through tap interface Jon Maloy
2025-10-03 4:52 ` David Gibson
2025-10-03 0:34 ` [PATCH v12 7/9] tcp: " Jon Maloy
2025-10-03 4:54 ` David Gibson
2025-10-03 0:34 ` [PATCH v12 8/9] tap: change signature of function tap_push_l2h() Jon Maloy
2025-10-03 0:34 ` [PATCH v12 9/9] icmp: let icmp use mac address from flowside structure Jon Maloy
2025-10-03 4:57 ` David Gibson
2025-10-03 5:33 ` [PATCH v12 0/9] Use true MAC address of LAN local remote hosts David Gibson
2025-10-05 13:39 ` Jon Maloy
2025-10-07 0:56 ` David Gibson
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=aOhJTjfwmEhuNECN@zatzit \
--to=david@gibson.dropbear.id.au \
--cc=dgibson@redhat.com \
--cc=jmaloy@redhat.com \
--cc=passt-dev@passt.top \
--cc=sbrivio@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).