|
Filed Under (Co-Op PC Game) by STARTNET on 27-07-2010
How to find a MAC address on your LAN. Locating a MAC address on your network. CMD run as admin. Then type in: “getmac /s But the best way is just to run the great cc-get-mac-address application. Robert Citek wrote about this on the CWE-LUG list a while back, & I thought y’all might find it interesting. For example, when I want to know all the MAC address and IP addresses on my LAN, I do the following: # ping -b -c 2 -W 1 192.168.1.255 although I find this for-loop gives me more complete results: # for i in $(seq 1 254) ; do ping -c 2 -W 1 192.168.1.$i >& /dev/null & done The above works great if I know the network I’m on. But what if there is a device that is using a different network IP, e.g. 10.1.1.1? For example, we discovered serendipitously through using ethereal that one of our wireless switches was doing just that. Now, here’s how I would do the same thing, using the fantabulous nmap: # nmap -sP -PI -PT 192.168.0.1/24 Of course, Robert’s examples assume that his network’s addressing uses 192.168.1.x, while mine assumes 192.168.0.x, but you probably saw that anyway. :) You must be logged in to post a comment. |