From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lH0Gz-0006gx-BL for ptxdist@pengutronix.de; Tue, 02 Mar 2021 09:20:53 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lH0Gz-0005yc-2n for ptxdist@pengutronix.de; Tue, 02 Mar 2021 09:20:53 +0100 Date: Tue, 2 Mar 2021 09:20:53 +0100 From: Michael Olbrich Message-ID: <20210302082053.GO7442@pengutronix.de> References: <20210226092643.165523-1-u.kleine-koenig@pengutronix.de> <20210226132419.sv64qoct7dgrlvwz@pengutronix.de> <1168127532.9248.1614577420738@seven.thorsis.com> <20210301084535.GA29021@pengutronix.de> <20210301204103.h7i3iycuxnnmithl@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210301204103.h7i3iycuxnnmithl@pengutronix.de> Subject: Re: [ptxdist] [PATCH] /etc/hosts: add local ipv6 definitions List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Mon, Mar 01, 2021 at 09:41:03PM +0100, Uwe Kleine-K=F6nig wrote: > On Mon, Mar 01, 2021 at 09:45:35AM +0100, Michael Olbrich wrote: > > Hi, > > = > > On Mon, Mar 01, 2021 at 06:43:40AM +0100, Alexander Dahl wrote: > > > > Roland Hieber hat am 26.02.2021 14:24 geschrie= ben: > > > > Hmmm, I wonder if this works even if GLOBAL_IPV6 is turned off. Or ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > = > > I just tried this: > > = > > root@DistroKit:~ ping ip6-localhost > > PING ip6-localhost (127.0.0.1): 56 data bytes > > 64 bytes from 127.0.0.1: seq=3D0 ttl=3D64 time=3D9.578 ms > = > Does it really say 127.0.0.1 if you ping ip6-localhost? It does if GLOBAL_IPV6 (and BUSYBOX_FEATURE_IPV6) is disabled. And for 'ping -4 ip6-localhost' if both are enabled. There seems to be some kind of fallback for this. Michael > On my distrokit build I cannot reproduce that: > = > root@DistroKit:~ ping -c3 ip6-localhost > PING ip6-localhost (::1): 56 data bytes > 64 bytes from ::1: seq=3D0 ttl=3D64 time=3D1.209 ms > 64 bytes from ::1: seq=3D1 ttl=3D64 time=3D4.836 ms > 64 bytes from ::1: seq=3D2 ttl=3D64 time=3D3.668 ms > = > --- ip6-localhost ping statistics --- > 3 packets transmitted, 3 packets received, 0% packet loss > round-trip min/avg/max =3D 1.209/3.237/4.836 ms -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@p= engutronix.de