Re: Address 127.0.1.1
On Fri, May 24, 2024 at 08:05:43AM -0400, Paul M Foster wrote:
> Folks:
>
> In my /etc/hosts file, there's a line:
>
> 127.0.1.1 yosemite.mars.lan yosemite
>
> I think Debian put it there.
Correct. This is the address that will be used if you don't have a
static LAN address.
> Later in the file, I've got:
>
> 192.168.254.30 yosemite.mars.lan yosemite
Since you *do* have a static LAN address, you can use this one instead.
(Assuming this address actually *does* get assigned to an interface.)
The 127.0.1.1 address isn't needed in this case.
Reply to: