Networking Forums

Networking Forums > Computer Networking > Linux Networking > reading adjecent pc's name

Reply
Thread Tools Display Modes

reading adjecent pc's name

 
 
kernel.lover
Guest
Posts: n/a

 
      02-26-2005, 04:45 AM
Hello,
How can i read adjecent pc's name provided i have its IP
address. can it be possible in an Internetwork that if a I got Linux
based Software Router then by looking into Routing table and receving
IP address of next Router from it, I will get name of that next Router
IP's machine or its domain Name??
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      02-26-2005, 06:15 AM
On 2005-02-26, kernel.lover <(E-Mail Removed)> wrote:
> How can i read adjecent pc's name provided i have its IP


host ip.of.the.pc will tell you the 'name' of the PC. If this is
what you want. Otherwise, explain,

Davide

--
The Weak Lusethropic Principle states: "As more idiot-proof software
becomes avalable, more idiots are able to use computers. Idiot-proof
software did not make or cause computer lusers; it simple allowed lusers
to use computers where they could not before." --Ben Cantrick
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      02-26-2005, 05:56 PM
On 25 Feb 2005 21:45:26 -0800, kernel.lover <(E-Mail Removed)> wrote:
> Hello,
> How can i read adjecent pc's name provided i have its IP
> address. can it be possible in an Internetwork that if a I got Linux
> based Software Router then by looking into Routing table and receving
> IP address of next Router from it, I will get name of that next Router
> IP's machine or its domain Name??


In order to find the the name of an IP, you need something that maps that
IP to a name, for example, /etc/hosts, DNS or other method. But even if
the IP resolves to a name (which is not required), that name might have
nothing to do with hostname or machine name.

For example my Linux router has 3 interfaces, its pppoe resolves to an ISP
name, its two LAN interfaces (one wireless) resolve to private names
(private DNS). NONE of those IPs resolves to its hostname (which is one
of 3 no-ip.com names that point to its pppoe IP). So there is no way
anyone from the internet could discover my hostname unless they already
know it (hostname resolves to IP, but IP does not resolve to that name).
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Light Reading Jeff Liebermann Wireless Internet 6 08-13-2007 04:34 PM
Worth Reading david.buckner79@gmail.com Wireless Internet 0 04-30-2007 06:53 AM
Worth Reading david.buckner79@gmail.com Wireless Internet 0 04-27-2007 09:27 AM
reading external ip stephen Linux Networking 15 09-01-2004 01:51 AM
Please recommend some reading pjl Wireless Internet 1 08-03-2004 11:39 PM



1 2 3 4 5 6 7 8 9 10 11