Mailinglist Archive: opensuse (1196 mails)
| < Previous | Next > |
Re: [opensuse] what does 127.0.1.1 mean?
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Mon, 02 Apr 2012 02:10:33 +0200
- Message-id: <4F78EE79.4090602@telefonica.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-04-01 22:53, lynn wrote:
But I don't have any entry for 127.0.1.1 and hostname -f works fine.
If you need an entry for that IP in the DNS, you can write it, it is fixed
because it is always localhost, by definition.
127.*.*.* == localhost
You can not assign 127.0.1.1 to any client, that will not work.
- --
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk947nkACgkQIvFNjefEBxoQ9ACfa4aie32KBgKoSFoei6fX5Q5U
WqEAoJZGRExBW2tFQibMoGpcudTkSbcZ
=k3iN
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
Hash: SHA1
On 2012-04-01 22:53, lynn wrote:
El 01/04/12 22:35, Carlos E. R. escribió:
I have three entries in /etc/hosts on each Linux client:
But "127.0.1.1" is your own localhost. The entire 127 network is your
localhost, always, not another machine. Tri pinging, it works.
127.0.0.1 localhost
127.0.1.1 host.domain host
192.168.1.3 server.domain server
with /etc/HOSTNAME
containing
host
only
Without the 127.0.1.1, hostname -f does not work and not much else does
either.
But I don't have any entry for 127.0.1.1 and hostname -f works fine.
If you need an entry for that IP in the DNS, you can write it, it is fixed
because it is always localhost, by definition.
127.*.*.* == localhost
An alternative is to give the clients a fixed IP and use that instead of
the 127.0.1.1. But if the windows clients can use dhcp, why can't our
openSUSE clients use it from the same server?
You can not assign 127.0.1.1 to any client, that will not work.
- --
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk947nkACgkQIvFNjefEBxoQ9ACfa4aie32KBgKoSFoei6fX5Q5U
WqEAoJZGRExBW2tFQibMoGpcudTkSbcZ
=k3iN
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
| < Previous | Next > |