MAC address (Media Access Control address) is a quasi-unique identifier consists of a six byte number that attached to most network adapter card or network interface card (NIC). As such, all network cards, whether it’s of Ethernet NIC, Gigabit Ethernet NIC or wireless 802.11a/b/g/n WiFi or HiperLAN adapter, should have different MAC addresses, which also known as Ethernet Hardware Address (EHA) or adapter address.
Sometimes it is needed to know MAC address of the devices like computers, routers, switch or some others. This article describes how to use MAC address ipconfig command.
If you are using Mac OS X, the command ipconfig grep inet displays detailed information about your computer signification in the network. The IP address is usually displayed beside last inet, however, this command does not work on macOS High Sierra. Back to Table of Contents Find your external IP address. At the command prompt, type 'ipconfig /all' without quotes. (space between g and /) Alternatively, if using Windows XP, you can use the command 'getmac'. Your MAC Address is listed under 'Physical Address' as a series of 6 groups of two digits, letters and numbers, separated by dashes, such as in the image below.
- After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty. Get an ip address for en0: ipconfig getifaddr en0 Same thing, but setting and echoing Continue reading Mac Network Commands Cheat Sheet.
- This can be used to get mac address for remote computers also. Below are few examples on how to use this command. It works on XP, Vista, Windows 7, Server 2003 and Server 2008 operating systems. Get mac addresses from CMD. Just run the command getmac to get the mac.
- Click on the Start Menu.
- Click on 'Run..'
- Type 'cmd' without quotes and press Enter.
- At the command prompt, type 'ipconfig /all' without quotes. (space between g and /)
- Alternatively, if using Windows XP, you can use the command 'getmac'.
- Your MAC Address is listed under 'Physical Address' as a series of 6 groups of two digits, letters and numbers, separated by dashes, such as in the image below. Make sure you get the physical address of the correct network adapter - usually there are several listed.
Figure - MAC Address ipconfig command
Run Ipconfig On Mac
Figure - MAC Address ipconfig command result