LinuxQuestions.org
Review your favorite Linux distribution.
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

Closed Thread
 
Search this Thread
Old 11-17-2011, 12:42 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,191

Rep: Reputation: 32
can i use nmap to scan a router to view the computers connected to it


i want to use nmap to be able to scan a router that is not on the lan and see the computers that are connected to it and also see their ip addresses
 
Old 11-17-2011, 01:26 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Normally, I will do a ping sweep on my router to see what all is connected, like so:
Code:
nmap -sP 192.168.2.1/24
Now as far as a router that is not on your network, technically speaking, you can, but you can't. Hard for me to explain.... What is the subnet and the IP address of the router?
 
Old 11-17-2011, 05:45 AM   #3
Rajan Chatterjee
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
dude if the router is not on a LAN that means you are not in organisation whick sense that firstly you have to find the organisation ip adress which is then divided virtually which is not seen by normal outsiders you have to first proxy connection with whom inside that router nad then you can ping the entire network this is whole about scanning and best of luck......
 
Old 11-17-2011, 06:33 PM   #4
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
No nmap can not identify which hosts are connected to a router. You can use it to scan the router and the hosts.
 
Old 11-17-2011, 10:01 PM   #5
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,191

Original Poster
Rep: Reputation: 32
how do i scan the hosts from outside the lan because i can only view my router from outside the lan and i also want to know how to view all of the hosts connected to it from outside the lan as well
 
Old 11-20-2011, 05:08 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Testing your firewall isn't bad but the techniques to attack your own IP could be used to attack others, and so is against LQ rules. This thread has been closed.

Last edited by jschiwal; 11-23-2011 at 05:54 AM. Reason: typo
 
1 members found this post helpful.
  


Closed Thread


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
DDwrt/OpenVPN, vpn works on router, not for computers connected Nadine88 Linux - Newbie 0 08-11-2011 04:04 AM
How can I scan for other devices connected to that router? LinusStallman Linux - Networking 4 04-23-2011 07:19 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 09:10 AM
nmap scan sucram2g Linux - Security 2 03-18-2006 02:21 AM
Scan behind Router With nMap? arpanet1969 Linux - Security 1 01-28-2005 05:38 AM


All times are GMT -5. The time now is 08:12 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