[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Contents of /etc/hosts
From: |
Hartmut Goebel |
Subject: |
Re: Contents of /etc/hosts |
Date: |
Sun, 9 Oct 2016 11:12:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 08.10.2016 um 16:08 schrieb John Darrington:
> > 127.0.0.2 gambrinus
> Now what happens if you "ping gambrinus"?
>
> ICMP packets will be sent to the local host.
Me fool. of course it does: the loopback interface has netmask /8
)defined in RFC 990 https://tools.ietf.org/html/rfc990
But for IPv6 the loopback interface has ::1/128, this ::2 would not got
there.
So if we follow your proposal adding "127.0.0.2 gambrius" to /etc/hosts,
we could not contently doe this for IPv6.
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |