After long time I got a chance to write the blog.
This time it is related to networking.
Finding out which all the system up on the network
cmd> nmap –sP < regex IP >
cmd> nmap –sP 192.168.1.*
Finding MAC address of a device which is connected in same network
cmd> ping <broadcast address>
cmd> arp –a [ <IP address> ]
cmd> ping 192.168.1.255
cmd> arp –a –> Gives all the IP address and MAC address in the same subnet network
cmd> arp –a 192.168.1.25 –> Give the MAC of the specified IP address
arp –a : Lists all the IP addresses which are recently got into network with its MAC addresses
Finding MAC address of a device which is connected in same network but different subnet
nbtstat –A <IP address>
nbtstat –A 192.168.2.45