From nobody Sat Dec 04 16:22:47 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 55E8418C2B10 for ; Sat, 4 Dec 2021 16:22:51 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5w2y2rpNz4X0V; Sat, 4 Dec 2021 16:22:50 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by fc.opsec.eu with local (Exim 4.95 (FreeBSD)) (envelope-from ) id 1mtXoF-000ICw-M2; Sat, 04 Dec 2021 17:22:47 +0100 Date: Sat, 4 Dec 2021 17:22:47 +0100 From: Kurt Jaeger To: bz@freebsd.org Cc: freebsd-net@freebsd.org Subject: Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ? Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4J5w2y2rpNz4X0V X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 2001:14f8:200:4::4 is neither permitted nor denied by domain of pi@freebsd.org) smtp.mailfrom=pi@freebsd.org X-Spamd-Result: default: False [-1.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; FREEFALL_USER(0.00)[pi]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.12)[-0.120]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Hi! > > 10:20:16.889185 IP x.x.x..1 > y.y.y.1: ICMP redirect z.z.z.z to host 0.0.0.0, length 48 > > whoops. > > This has been stopped by net.inet.ip.redirect=0 on rtr1, but my question is: > > > > Why is rtr1 sending those multi-hop icmp redirects at all ? > > Could you elaborate on: > (a) Do rtr1 or rtr2 have a default route or are they carrying a full DFZ > without default route? rtr1 runs frr, has full route, either with or without default route. rtr2 has only static routes, default points to rtr1. > Assumption: if both rtr2 and rtr1 are running 13 and not 12, rtr2 > does have a default route and rtr1 has a full DFZ only and no > default route? Seeo above. > (b) At the time this happens does rtr1 have a route to z.z.z.z ? > route -4 get z.z.z.z Yes. -- pi@FreeBSD.org +49 171 3101372 Now what ?