Feb 6, 2012

Scanning Home Network on OSX

Posted by Knick

I had an issue tonight where I changed my IP scheme in my house from a 10.0.1.X Scheme to a 192.168.1.X scheme. I failed to remember what the IP of my static assigned NAS was and was unable to log in until I remembered the IP. I downloaded a tool called NMAP and started running some scans on the network to find my missing IP.

Read More for details.

Downloading and installing the tool was straightforward, once downloaded I opened a terminal and verifyed that it was installed by funning the following:

nmap --version
I got the expected output of:
Nmap version 5.51 ( http://nmap.org )
I then had to run the scan on my old IP scheme, since I had already moved everyhitng on the DHCP server to the 192 addresses I had to manually assign the 10.0 address to my wireless card (i was running 192 on wired ethernet) so I could scan that network. Then I ran the following command:
nmap -sn 10.0.1.0/24
and got the following output:
Starting Nmap 5.51 ( http://nmap.org ) at 2012-02-06 21:25 EST
Nmap scan report for 10.0.1.2
Host is up (0.014s latency).
Nmap scan report for 10.0.1.5
Host is up (0.00011s latency).
Nmap scan report for 10.0.1.18
Host is up (0.0084s latency).
Nmap scan report for 10.0.1.30
Host is up (0.0072s latency).
Nmap scan report for 10.0.1.201
Host is up (0.0041s latency).
Nmap done: 256 IP addresses (5 hosts up) scanned in 20.70 seconds
With this information I was able to determine that I had a few rogue static clients left on the network that I had to move over to the new addresses. The rest was a pice of cake.

0 comments:

Post a Comment