Find IP addresses of a private network | Easy 4 Way To Find IP addresses of a private network
1.Install nmap,sudo apt-get install nmap then nmap -sP 192.168.1.*
This does a simple ping scan in the entire subnet to see which all host's are online.
Per the man page "In newer releases of nmap, -sP is known as -sn". If the wildcard is not working, you can try something like nmap -sn 192.168.1.0/24 or nmap -sn 192.168.1.100-199
Type ipconfig (or ifconfig on linux) at command prompt. This will give you ip address of your own machine. For example, your machine ip address is 192.168.1.6 So your broadcast IP address is 192.168.1.255.
Ping your broadcast IP address ping 192.168.1.255 (may require -b on linux)
Now type arp -a You will get the list of all IP addresses on your segment.
2. If you have a web access to your router, you may connect to your router and find the IP addresses of all networked devices. The router displays Static and Dynamic client lists with hostname, IP address and MAC address of the connected devices.
3. You may also try pinging your network from a computer connected to the network, and lookup an arp table. On your computer, click [Start] -> [Run...] and type "cmd" and [Enter]. Type "ipconfig" to find your network address. The network address is found by performing a logical AND operation on your IP address and the subnet mask. For example, if you IP is 192.168.1.101 and subnet mask is 255.255.255.0, then the network address is 192.168.1.0. Ping your network using a broadcast address, i.e. "ping 192.168.1.255". After that, perform "arp -a" to determine all the computing devices connected to the network.
4. You may also use "netstat -r" command to find an IP address of all network routes. However, if your printer has problem communicating with other network devices, you may not be able to find IP address of the printer using "netstat" command.
No comments:
Post a Comment