[CentOS] /etc/hosts - hostname alias for 127.0.0.1

Robert Nichols rnicholsNOSPAM at comcast.net
Tue Mar 8 05:10:03 UTC 2011


On 03/07/2011 08:21 PM, Nico Kadel-Garcia wrote:
>
> That said, it can be problematic when you "ping $HOSTNAME" and get a
> valid 127.0.0.1 response, and haven't actually tested your external
> port. It also requires thought for configuring SSH and SNMP and NFS to
> allow localhost access.

When you ping the IP address of your external link, that packet gets
short-circuited in the kernel and never goes to the physical port,
so you aren't testing your external port for that case either.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the CentOS mailing list