From nobody Sun Dec 05 18:20:08 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1340618B8425 for ; Sun, 5 Dec 2021 18:20:37 +0000 (UTC) (envelope-from jhay@meraka.org.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [146.64.28.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4J6ZcN51b2z4f2Q for ; Sun, 5 Dec 2021 18:20:36 +0000 (UTC) (envelope-from jhay@meraka.org.za) Received: from marge.meraka.csir.co.za (localhost [127.0.0.1]) by marge.meraka.csir.co.za (Postfix) with ESMTP id F20ED32218 for ; Sun, 5 Dec 2021 20:20:28 +0200 (SAST) X-Virus-Scanned: amavisd-new at meraka.org.za Received: from marge.meraka.csir.co.za ([127.0.0.1]) by marge.meraka.csir.co.za (marge.meraka.csir.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cXANZTrpNzks for ; Sun, 5 Dec 2021 20:20:25 +0200 (SAST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPSA for ; Sun, 5 Dec 2021 20:20:24 +0200 (SAST) Received: by mail-pj1-f54.google.com with SMTP id v23so6044361pjr.5 for ; Sun, 05 Dec 2021 10:20:24 -0800 (PST) X-Gm-Message-State: AOAM5312Wtq2x8NkEOaiyUnaYfDraqm43un7PBLMqNhWbHa/EN1il/fh FAdzVeU7NYNVdx9YeDfjukkQ/9dogSQTyQxvV2OXFA== X-Google-Smtp-Source: ABdhPJwu7tFQYR2mYnqSQiIacEgX3j7OOQIHesC3SK/TyI7Sx/VOlA/KVO0GNNpIQIfWYUHlRMq+RbanuUVcr5JPoN0= X-Received: by 2002:a17:902:7fcd:b0:142:8ab3:ec0e with SMTP id t13-20020a1709027fcd00b001428ab3ec0emr37949353plb.4.1638728419881; Sun, 05 Dec 2021 10:20:19 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: John Hay Date: Sun, 5 Dec 2021 20:20:08 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ? To: "Bjoern A. Zeeb" Cc: Kurt Jaeger , freebsd-net Content-Type: multipart/alternative; boundary="00000000000059d17905d26a3110" X-Rspamd-Queue-Id: 4J6ZcN51b2z4f2Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --00000000000059d17905d26a3110 Content-Type: text/plain; charset="UTF-8" Hi Bjoern, On Sun, 5 Dec 2021 at 19:19, Bjoern A. Zeeb wrote: > On Sat, 4 Dec 2021, Bjoern A. Zeeb wrote: > > > On Sat, 4 Dec 2021, Kurt Jaeger wrote: > > > > I can reproduce some of this problem in the lab: > > Here's a fix https://reviews.freebsd.org/D33274 for HEAD. > Something I have observed is that if you use FreeBSD 13 as a router with 2 subnets on the same interface, it will generate redirects when hosts send packets to the other subnet via the FreeBSD router. I think it is wrong. The host does not have a more direct way to get to the other subnet. RFC792 on page 13 does not talk about interfaces, but networks, "If G2 and the host identified by the internet source address of the datagram are on the same network...". Regards John > /bz > > -- > Bjoern A. Zeeb r15:7 > > --00000000000059d17905d26a3110--