Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-18-2008, 08:27 AM   #1
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.

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

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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.

nmap -sP -PT

Starting Nmap 4.20 ( ) at 2008-03-18 11:41 EDT
Host appears to be up.
Host presto_2 ( appears to be up.
Host presto ( appears to be up.
Host duelie ( 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 11:44 AM. Reason: Added info.
Old 03-19-2008, 06:23 AM   #3
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30

Dear Camorri,

The comman worked for me.

Thanks for your support.



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 06:38 AM
ping myself w/o knowing my own address bullfrog1870 Linux - Networking 6 12-02-2006 01:07 PM
knowing remote ip address slack66 Slackware 8 09-14-2006 02: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 07:37 AM
knowing a mail server address juanb Linux - General 1 02-06-2003 08:04 AM

All times are GMT -5. The time now is 07:49 PM.

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