Results 1 to 5 of 5

Thread: 2 hostnames on computer ?

  1. #1
    Join Date
    Jun 2008
    Location
    UK; deep south, far below Watford.
    Posts
    275

    Default 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?
    They said I wasn't fit to live with a pig; my brother stood up for me and said I was.

  2. #2
    Join Date
    Jun 2008
    Location
    Amor, Leiria, Portugal
    Posts
    55

    Default Re: 2 hostnames on computer ?

    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" ;-)

  3. #3
    ab@novell.com NNTP User

    Default Re: 2 hostnames on computer ?

    -----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" ;-)
    |
    |
    -----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-----

  4. #4
    Join Date
    Jun 2008
    Location
    UK; deep south, far below Watford.
    Posts
    275

    Default Re: 2 hostnames on computer ?

    OK. Thanks for this.

    That's one more worry off this 'student penguin's' ignorance-driven-list of worries.
    They said I wasn't fit to live with a pig; my brother stood up for me and said I was.

  5. #5
    ab@novell.com NNTP User

    Default Re: 2 hostnames on computer ?

    -----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-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •