Re: ipv6 gateway on different subnet

Christof Meerwald <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
On Wed, Jan 22, 2025 at 07:37:24PM -0600, Peter Miller wrote:
> On Wed, Jan 22, 2025 at 3:23 PM Christof Meerwald <[email protected]> wrote:
> 
> > Want to try the attached patch to make NetBSD send a neighbor
> > advertisement that's similar to the one Linux sends to see if that
> > makes it work? (the patch seems to work on my VPS - although it
> > doesn't really make a difference there)
> >
> > BTW, my wild guess would be that your VPS provider is too aggressively
> > filtering neighbor advertisements (so only allow those that Linux
> > would send).
> 
> Woot! That appears to have worked. I've waited a while to see if
> anything breaks, but it's all working great.

Great!

It might be worth asking your VPS provider about that. I guess what
they are trying to do is to filter any neighbor advertisements for
IPv6 addresses that are not assigned to your VPS (but also filter
neighbor advertisements with a link-local source address - instead of
just looking at the target address of the neighbor advertisement).

It might also be worth raising a NetBSD PR for this - maybe the change
is worth applying in any case (at least it simplifies the code - I am
not sure there could be any cases where you wouldn't want to do it
that way). Not sure what other BSDs do here.


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.