LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2012, 01:53 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Find ipaddress of the remote systems


Hi,

I want to find the ipaddress of the remote systems where i have the hostnames but they are not registered in DNS so not pingable. Is there any other way to find the ipaddress of the remote systems in a network ??

Also all the remote systems are in Ubuntu plateform.

Any solution will be appretiated.
 
Old 02-03-2012, 02:29 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
If you can login to the systems, run ifconfig and it will show their IP. If they're not in DNS maybe they're in an /etc/hosts file somewhere? You haven't really given us enough information about your setup to provide much of any help, I'm afraid. If the host names don't appear in DNS there must be some other method (host file, NIS map, etc.) to resolve them.
 
Old 02-03-2012, 02:44 AM   #3
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Actually the hosts can only be pingable through ipddress & through hostnames
 
Old 02-07-2012, 08:10 AM   #4
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
actually i want to find the ipaddresses of the users in the network but only able to ping/ssh the host through ip address & not through
the hostname.

Can anyone provide any assistance.
 
Old 02-07-2012, 08:27 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
you can use nmap to find the list of machines in your network.

Code:
#nmap -v -sP 192.168.0.0/24
for more details

Code:
#man nmap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error in getting Hostname&ipaddress of remote machine using shell scripts jsaravana87 Linux - Server 4 09-02-2011 11:56 AM
Perl File::Find work on remote systems ? hattori.hanzo Programming 0 11-19-2010 05:08 PM
how to find ipaddress of the device connected with system in ubuntu bskumar7080 Linux - Newbie 17 03-26-2010 07:09 AM
How to Find IPAddress of Client duryodhan Programming 9 11-05-2006 12:49 AM
how to find ipaddress of the other system when we r chatting.. ramabrahmam Linux - Networking 1 04-29-2006 09:50 AM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration