Then run perl pfacter for a look at the total picture. Your MAC Address should be in the format: M:M:M:S:S:S. From the upper menu, click Hardware, and look for the MAC Address. In the Network window that just opened, click the Wi-Fi, Ethernet, or Airport icon on the left. you can get an ip address binded to a mac-address or nic address as you may say, regarding this there is lot of info already provided my monksįor something a little different, try downloading pfacter to your cwd, then run perl pfacter macaddress ipaddress. The code doesnt work because youre trying to convert an IP to string and then parse that into an int -> int.Parse (address.ToString ()). In System Preferences, click the View menu and select Network. its not possible that given a mac address you can get the ip address from it. Swaroop i think what your trying to do is totally different from the what help your seeking. In a nutshell, a switch learns which MAC addresses are associated with which switch ports. Re^2: How to convert MAC address to IP address ?ĭownload angry ip scanner, select the extra column MAC Address in the options and do a ping sweep of your network, this is the easiest way to do it. In that case, see the referenced nodes in the above replies. Thus, there is no way to simply convert from a MAC address to an IP address with no further information.īut of course, you probably have more information. Re: How to convert MAC address to IP address ?Īlthough it might be clear, I think it should be stated for those who do not know: the MAC address of a network card is relatively fixed by the hardware (disregarding spoofing and such), whereas an IP address can vary greatly, based on the network, DHCP, and other factors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |