RE: what to do after an IP change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-08-04 at 08:05, Lars E. Pettersson wrote:
> On Wed, 2004-08-04 at 14:48, Jeff Vian wrote:
> > For this, you are slightly wrong.  Each IP address line lists all names
> > that are applicable.  If you use multiple hostnames with the same IP
> > they should all be listed on that line in /etc/hosts.
> 
> Yes, correct, I should have mentioned that... A given IP-address can
> have several names, all these can/should be placed after the IP-number
> associated with them.
> 
> One has to careful with the 127.0.0.1 line though, as it is easy to mess
> things up by removing localhost.localdomain, and/or localhost for that
> line.
> 

I agree, and that is why the warning in that file.  Adding extra
information is good, removing the localhost entries is bad.

> > Also, when doing an install with FC2, FC1, and earlier RedHat versions,
> > the hostname given during the install is (in my experience) usually also
> > placed on the 127.0.0.1 line of this file.
> 
> As I mentioned in my anser to William Hooper I have not seen this
> myself, but that is probably because I seldom install from scratch, and
> when I do, I have static IP-numbers and hostnames that gets put
> correctly in /etc/hosts (se my answer to William Hooper.)
> 
> /Lars
> -- 
> Lars E. Pettersson <lars@xxxxxxxx>
> http://www.sm6rpz.se/
> 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux