2 hostnames on computer ?

When I examine my computer’s hostname with Yast I notice entries 127.0.0.1 and 127.0.0.2

The presence of 2 host IDs surprises me. Is this normal, or is it likely to cause problems? should I delete one of them?

The first time I saw this also was in OpenSUSE 11 but I believe it does no harm.

The loopback interface has the mask “255.0.0.0” this means that all the “127.xxx.xxx.xxx” addresses are routed to the same loopback interface. Try doing “ping 127.127.127.127” :wink:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yeah, this is normal per the TCP spec. 127.x.x.x by default maps to the
local machine… good way to test to see if the TCP stack is working
properly on your system. You’ll possibly notice sometime that your
default NTP server on your local system is configured by the following
in ntp.conf:

server 127.127.1.0

local clock (LCL)

fudge 127.127.1.0 stratum 10

Basically these addresses are used because you have tons of them (16+
million) and they are reliably on every system and only work on that one
system.

Good luck.

m4ktub wrote:
| The first time I saw this also was in OpenSUSE 11 but I believe it does
| no harm.
|
| The loopback interface has the mask “255.0.0.0” this means that all the
| “127.xxx.xxx.xxx” addresses are routed to the same loopback interface.
| Try doing “ping 127.127.127.127” :wink:
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIj5un3s42bA80+9kRAhVAAJ9OlP8jTjr4YLg859tbtDmTmFU+iQCghjTD
m4x4/s5EW11OPe5CEdpOqf4=
=f1Ig
-----END PGP SIGNATURE-----

OK. Thanks for this.

That’s one more worry off this ‘student penguin’s’ ignorance-driven-list of worries.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Definitely.

Good luck.

XEyedBear wrote:
| OK. Thanks for this.
|
| That’s one more worry off this ‘student penguin’s’
| ignorance-driven-list of worries.
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIkKG43s42bA80+9kRAviuAJ4nmYqyqtF8DpnUHTjDZ6InPdICagCfa2aC
DbqFAXEZia9LR5jFxNKzcMA=
=4Q9u
-----END PGP SIGNATURE-----