[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Contents of /etc/hosts
From: |
John Darrington |
Subject: |
Re: Contents of /etc/hosts |
Date: |
Sun, 9 Oct 2016 11:56:36 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sun, Oct 09, 2016 at 11:12:58AM +0200, Hartmut Goebel wrote:
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.
IPv6 is something I'm not really familiar with. Presumably there is an
equivalent way to do this in IPv6 ?
J'
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature