Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3908

Re: ping to non-existent addresses on the local loopback succeed!

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups comp.os.linux.networking
Subject Re: ping to non-existent addresses on the local loopback succeed!
Date 2016-11-03 07:41 +0100
Organization Plouf !
Message-ID <nvem7o$204q$1@saria.nerim.net> (permalink)
References <nvd05h$pk3$1@dont-email.me> <27dped-40d.ln1@Telcontar.valinor>

Show all headers | View raw


Le 02/11/2016 à 16:26, Carlos E.R. a écrit :
> On 2016-11-02 16:19, Charles T. Smith wrote:
>> Can someone explain to me why?
>>
>> E.g.
>>
>> $ ping 127.0.2.1
>> PING 127.0.2.1 (127.0.2.1) 56(84) bytes of data.
>> 64 bytes from 127.0.2.1: icmp_seq=1 ttl=64 time=0.064 ms
>> ...
>
> Works as expected.

As per the following route in the "local" routing table :

ip route show table local
...
local 127.0.0.0/8 dev lo  proto kernel  scope host  src 127.0.0.1
...

Note that all these addresses are reserved to the local host, but a host 
does not have to use them all. Linux does.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ping to non-existent addresses on the local loopback succeed! "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-11-02 15:19 +0000
  Re: ping to non-existent addresses on the local loopback succeed! "Carlos E.R." <robin_listas@invalid.es> - 2016-11-02 16:26 +0100
    Re: ping to non-existent addresses on the local loopback succeed! "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-11-02 15:39 +0000
      Re: ping to non-existent addresses on the local loopback succeed! Andy Furniss <spam@spam> - 2016-11-02 15:52 +0000
        Re: ping to non-existent addresses on the local loopback succeed! "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-11-02 16:32 +0000
    Re: ping to non-existent addresses on the local loopback succeed! Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-03 07:41 +0100
      Re: ping to non-existent addresses on the local loopback succeed! "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2016-11-03 08:51 +0000

csiph-web