LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-18-2008, 07:27 AM   #1
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Thumbs up Command for knowing IP address of the Systems connected in LAN


Hi All,

I want to know ip address of all the Systems connected in the Lan on my Linux system through command prompt.Can anybody tell me that command.

Regards,
Ravi
 
Old 03-18-2008, 10:43 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,839

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
You can do a ping sweep with nmap. Nmap has a gui, or you can run it command line. Here is a sweep of my home network.

Code:
nmap -sP -PT 192.168.1.1/24

Starting Nmap 4.20 ( http://insecure.org ) at 2008-03-18 11:41 EDT
Host 192.168.1.1 appears to be up.
Host presto_2 (192.168.1.15) appears to be up.
Host presto (192.168.1.22) appears to be up.
Host duelie (192.168.1.26) appears to be up.
Nmap finished: 256 IP addresses (4 hosts up) scanned in 2.232 seconds
BTW, I'm behind a firewall, using NAT.

Hope this helps.

Last edited by camorri; 03-18-2008 at 10:44 AM. Reason: Added info.
 
Old 03-19-2008, 05:23 AM   #3
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30
Smile

Dear Camorri,

The comman worked for me.

Thanks for your support.

Ravi
 
  


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
how to find the ip address of a computer that is connected to LAN gajaykrishnan Linux - Networking 7 12-03-2010 05:38 AM
ping myself w/o knowing my own address bullfrog1870 Linux - Networking 6 12-02-2006 12:07 PM
knowing remote ip address slack66 Slackware 8 09-14-2006 01:58 PM
How to chat between two systems connected in a LAN.I use Red hat linux 9. LIN_MINDS Linux - Newbie 0 03-04-2004 06:37 AM
knowing a mail server address juanb Linux - General 1 02-06-2003 07:04 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration