LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2006, 11:20 PM   #1
mushtaq
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Rep: Reputation: 0
Question Network Scan


Hi,

is there any tool by which i can scan my LAN and see all the ip address assign to it as well as the name of the computers ?

i am using ubuntu

and all my client are on MS Winxp

thanks
best regds
mushtaq
 
Old 08-16-2006, 11:47 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Try nmap

Will tell you IP, but not the hostname. AFAIK it is impossible to discover the hostname remotely unless of course it is a FQDN....or written in your hosts file, but then you wouldn't need to scan, would you?
 
Old 08-16-2006, 11:55 PM   #3
mushtaq
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Smile i dont understand

i think nmap is not going to work as i am not use to this great tool but i will definately appreciate the great software.

i was using lately on windows a software that shows me ip and computer name for all the pc's and i am looking for similar software that can show me all the pc's on my network complete range of 255 numbers.

thanks

best regds
mushtaq
 
Old 08-17-2006, 12:20 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
So what's wrong with nmap?

Assuming your net is 192.168.0.* then just do:

Code:
# nmap 192.168.0.0/24
or
# nmap 192.168.0.0-255
or whatever. This _will_ reveal the IP address of every system that is alive in that subnet.

As I mentioned, getting the hostname is not so easy because a UNIX machine will not advertise it's hostname over the network unless it is hopelessly misconfigured.
 
Old 08-17-2006, 01:58 AM   #5
mushtaq
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Smile thanks

thanks for the nice reply

i am not using client from linux all client are ms xp

so will it reply

i will try hopefully

thanks
 
Old 08-17-2006, 02:03 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
i am not using client from linux all client are ms xp . so will it reply
Of course.
Any computer running any OS will show up in the nmap scan. If you give it the -A or -O flag it will take a guess as to which OS/version/kernel is running. It is quite a powerful tool with many options (see man nmap for bedside reading).

I just want to say, make sure you are scanning _your_ network, and that it is allowed or you may get in trouble with the net admin (unless the net admin is you...)
 
Old 08-18-2006, 08:52 PM   #7
mushtaq
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

i got it i used

nbtscan -e RangeOfIP

i got in the format of host file

192.168.2.2 abcPc



well i guess nmap is much more powerful but for my case this worked simply thanks

best regds
mushtaq
 
Old 09-28-2006, 06:06 AM   #8
lixp
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
You can scan the network with autoscan "autoscan.free.fr"
 
  


Reply



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 can I scan my network for IP addresses? dbc001 Linux - Software 4 08-06-2006 02:31 PM
Explaination of network scan ports. NuxIT Linux - Networking 1 06-17-2006 10:21 AM
How to scan network for active IP's? BuckRogers01 Linux - Networking 1 02-05-2006 11:33 AM
how can I scan my network :King_58: Linux - Networking 9 09-13-2004 08:38 AM
scan my network with nmap. amer_58 Linux - Networking 3 06-17-2004 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:33 PM.

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
Open Source Consulting | Domain Registration