Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I have machine where I can ping to loopback address on another machine. I want to know what is the machine ip of the second machine that has the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    7

    traceroute


    Hi,

    I have machine where I can ping to loopback address on another machine.
    I want to know what is the machine ip of the second machine that has the loopback.

    If I try traceroute I dont recieve the in the last line the physical address of the machine but the loopback address.

    How can i find the machine address ?

    Thanks

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,378
    You canīt ping to the loopback device of another machine.

    Also I am a bit confused on what you are looking for.
    - IP Adress of the remote machine?
    - MAC address of the remote machine?

    Can you maybe describe the local and remote machine and the commands you used?
    ie: which IP/netmask/gateway does each of them have?
    You must always face the curtain with a bow.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    If the lo is what you are tracrouting to then the device will echo back the ip address of the lo and not the physical ip address

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by Irithori View Post
    You canīt ping to the loopback device of another machine.
    Yes you can as long as that lo can be routed. You are aware that you can have more then one lo interface and that the lo interfacres can be something other then 127.0.0.1?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    7

    traceroute

    I have one machine with address 10.56.116.91.
    I have several machine and on each machine several loopback address.
    For example I have another machine with ip 10.56.56.86 and on that machine I have loopback address 169.254.24.24 .

    I want to find on which machine the loopback 169.254.24.24 exists.

    Is it possible to add all loopback address to the dns so traceroute will return the name of machine ?

  6. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,378
    Quote Originally Posted by Lazydog View Post
    Yes you can as long as that lo can be routed. You are aware that you can have more then one lo interface and that the lo interfacres can be something other then 127.0.0.1?
    Ok, you are right.

    And with that in mind, also traceroute makes sense here.
    I was on the wrong trail with the thought : loopback = only local machine

    Is it possible to add all loopback address to the dns so traceroute will return the name of machine ?
    Yes, as long as the loopback IPs are uniq, ie: One IP is only used on one machine.
    Maybe the HINFO desc1 dns record could be used for that, as in
    Code:
    someservice  IN A 169.254.24.24 
    someservice  IN HINFO "desc1" "running on machine <name> 10.56.56.86"
    You must always face the curtain with a bow.

Posting Permissions

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