On Mon, Mar 01, 2021 at 09:41:03PM +0100, Uwe Kleine-König 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 <[email protected]> hat am 26.02.2021 14:24 geschrieben:
> > > > 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=0 ttl=64 time=9.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=0 ttl=64 time=1.209 ms
>       64 bytes from ::1: seq=1 ttl=64 time=4.836 ms
>       64 bytes from ::1: seq=2 ttl=64 time=3.668 ms
> 
>       --- ip6-localhost ping statistics ---
>       3 packets transmitted, 3 packets received, 0% packet loss
>       round-trip min/avg/max = 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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to