Learning has never been so easy!
- As you can see, the 'sh arp' or 'sh ip arp' commands also give you the MAC addresses, so essentially the 'sh mac add' is only to get the port in which the device is connected. It helps to Ping the subnet's broadcast address.
- To check your Ethernet (or wired) IP and Network Hardware Addresses:6a Click on Ethernet on the main network page. 6b Click the Advanced button. 6c Your IP addresses will be shown in the window that opens. 6d To view your hardware address, Click on the Hardware tab. 6e The “MAC Address” listed in this window is your hardware address.
To Find your MAC or IP address follow the instructions for your operating system: Windows Mac (10.4) Linux Windows Click on: Start Select: Run In the box type: cmd In the command prompt box type: ipconifg /all A lists of all interfaces will appear: Find: 'Ethernet adapter Local Area Connect.
Find Ip For Mac Address In Networking
As a Network Administrator/Engineer you may be asked to find MAC addresses and/or IP Addresses, hopefully this can make your job a little bit easier. These commands work on most Cisco Switches and Routers but sometimes the commands can vary from device to device.
5 Steps total
Step 1: Connect to your Cisco Devices
Connect to the Switch/Router by using a console cable or a terminal emulator like Putty or Secure CRT. If you are successful it should look something like this.
Step 2: Find The MAC Addresses
On the layer 2 device (switch) enter the username and password if needed. Next enter 'enable' mode on the switch by typing enable. Next type the command 'show mac address-table'. If successful it should look like the picture. It's worth noting that on some Cisco devices the command 'show mac-address-table' also works.
Step 3: Find the IP Address
On the layer 3 device ( L3 switch or router) in my case I am using a router, enter the username and password if needed. Next enter 'enable' mode on the router by typing enable. Next type 'show ip arp' if done correctly you should get an output similar to the picture.
Step 4: Filtering the results on a Router
In the example I have provided there were only 9 IP addresses. However in the real world there could be dozens or even hundreds of IP addresses. To help filter the results on a router type 'show ip arp ?' You will see gigabitethernet' as an option this will let you filter results by interface or sub-interfaces. In my exmaple it typed 'sho ip arp gigabitEthernet 0/0.10' and that listed all IP's on my sub-interface.
Step 5: Filtering the results on a Layer 3 Switch
As stated in Step 4, you will likely have more than 9 IP Addresses. This can be made worse in a messy closet with a 48 port switch running the closet and maybe even some layer 2 switches under that. Luckily in addition to being able to filter by interface you can also filter by VLAN. So type in 'show ip arp ?' and you will see 'vlan' as a listed filter. As you can see I typed in 'sho ip arp vlan 20' and it listed only those IP's in vlan 20. In this case it was the vlan interface and a PC.
I hope this guide was helpful for you. If you aren't sure about something or feel like I missed a step, please let me know.
9 Comments
- AnaheimGDBJNC Apr 27, 2018 at 01:15pmGreat post.Another way to find that information is to first PING the address of the system you are looking for. Then issue:
show arp | i .This will then show you the MAC address associated with the IP address.Then issue:
show mac address-table | iThis will give you the port that the device is currently connected. - CayenneJim6795 Apr 27, 2018 at 01:15pmThanks for posting this *after* I finished a 'What's Connected Where' jihad on our network. :^D After beating Google to death over it, hoping for some useful tool, I ended up using exactly the same process (plus the online MAC address lookup to ID the device manufacturer), so I can affirm this works perfectly, if you work it.As you can see, the 'sh arp' or 'sh ip arp' commands also give you the MAC addresses, so essentially the 'sh mac add' is only to get the port in which the device is connected. It helps to Ping the subnet's broadcast address (e.g. '10.1.1.255') to load the ARP table. (Small tip: When you see a large number of MAC addresses showing up on a single port, there's a switch on that port into which those MAC addresses are connected. If you're all Cisco, 'show cdp neighbor' (or 'sh cdp nei') will get you to the next switch. Also, 'sh ip arp | i 0/24' will show just the MAC address(es) on that port.)The amazing thing to me is, this far into the 21st Century, this is still the only way I could find to get this information -- i.e. to find out what's connected where. Did I mention it's a *lot* of work?(ETA: What if you can't get to the Console port? How do you get the IP address of the switch in order to SSH or (if you must) Telnet in?)
- DatilCrimsonKidA Apr 27, 2018 at 02:04pmGood stuff, thanks for posting this! My go-to Cisco command is: show ip interface brief (show ip int bri). Another thing I've learned that is very helpful (I'm still a noob with Cisco stuff) is tab-completion and using a '?' after the start of a command, such as 'show ?'
- CayenneEd Rubin Apr 27, 2018 at 03:09pmUnfortunately dumping the mac table and working through it is the only way to reliably find stuff and identify its switch port. I've done a similar process with HP switches. One thing that helps a lot is an ip scanner application that does MAC vendor ID lookups for you. This can help with jim6795's problem of identifying an undocumented switch IP since you can look for the the switch maker's vendor ID and then try ssh or telnet, or http/https depending on the product.
- JalapenoTS79 Apr 27, 2018 at 06:53pmSpiceworks has the ability to harvest this information using SNMP and will create a map showing which device is on which switchport. It must have the correct MIB installed for your switch and you must configure SNMP. The feature could use some more work but basic components are there.
- JalapenoSadTech0 Apr 27, 2018 at 08:06pmThanks for posting this *after* I finished a 'What's Connected Where' jihad on our network. :^D After beating Google to death over it, hoping for some useful tool, I ended up using exactly the same process (plus the online MAC address lookup to ID the device manufacturer), so I can affirm this works perfectly, if you work it.As you can see, the 'sh arp' or 'sh ip arp' commands also give you the MAC addresses, so essentially the 'sh mac add' is only to get the port in which the device is connected. It helps to Ping the subnet's broadcast address (e.g. '10.1.1.255') to load the ARP table. (Small tip: When you see a large number of MAC addresses showing up on a single port, there's a switch on that port into which those MAC addresses are connected. If you're all Cisco, 'show cdp neighbor' (or 'sh cdp nei') will get you to the next switch. Also, 'sh ip arp | i 0/24' will show just the MAC address(es) on that port.)The amazing thing to me is, this far into the 21st Century, this is still the only way I could find to get this information -- i.e. to find out what's connected where. Did I mention it's a *lot* of work?(ETA: What if you can't get to the Console port? How do you get the IP address of the switch in order to SSH or (if you must) Telnet in?)Couldn't you just use CDP? #show cdp nei detail will show you the ip of the connected devices.
- Thai PepperTaylorC Apr 27, 2018 at 08:45pmHey everyone thanks for the great feed back, it's really cool having this featured. @SadTech0 if you cant to the console port and you don't know the IP Address you could use a tool like angry IP scanner and find the switch that way. CDP may or may not work depending on your network configuration and/or topology. Barring some major obstruction you should try to console in get the ip and start an inventory. Hope that helps.
- Thai PepperTodd_in_Nashville Apr 30, 2018 at 12:34pmKeep in mind, in some security minded environments, CDP may be disable if it's not needed. It's one of those things that give out unnecessary reconnaissance info to the bad guys. If one of your edge routers gets compromised, it can be used to start footprinting your internal network.
- Thai PepperJohn3367 Apr 30, 2018 at 08:51pmGreat info..Another helpful thing you should add!SHOW INVENTORY ---> To show the SERIAL number of the Cisco device you are on.**I always use those commands you show to troublshoot. They are very helpful. I usually PING an IP address. then I type a 'show arp' and get its MAC address.. then I will type 'show mac-address table' which will show me which PORT the device is connected to!
Topics Map > OS and Desktop Applications > Operating Systems
This document explains where to find instructions on how to find your device's MAC/WiFi Address.
Windows Computers
How to find the IP number and MAC address of a network card
- Press the Windows Start key to open the Start screen.
- Type cmd and press Enter to launch the command prompt.
- Note: You do not need to click on anything on the Start screen - typing will automatically initiate a program search.
- Type ipconfig /all at the command prompt to check the network card settings.
- The MAC address and IP address are listed under the appropriate adapter as Physical Address and IPv4 Address.
- You can copy the Physical Address and IPv4 Address from the command prompt by right clicking in the command prompt and clicking Mark.
- Select the text you want to copy with the mouse and hit the Enter key to copy it. You should now be able to paste the text elsewhere using the standard clipboard 'paste' function.
Mac Computers
- Open Network Utility by searching for it using Spotlight in the upper right corner or by pressing Command + Space.
- In Network Utility, under the Info tab, you will be able to see the Hardware Address (a.k.a. MAC address) and the IP Address under Interface Information
- Note: By default you will be shown this information for your Ethernet connection
- To check the MAC and IP address for your Wi-Fi (a.k.a. AirPort), click on the drop down arrow for Select a network interface for information and select Wi-Fi.
- Under Interface information you will be able to view the Hardware Address (MAC Address) and IP address for your Wi-Fi connection
Chromebooks
- At the bottom right, select the time.
- Select the Wi-Fi network.
- At the top of the box, select Information.
- You'll see your Chromebook's IP address and IPv6 address. The MAC address is labeled Wi-Fi.
iOS Devices (iPhone/iPad)
Mac Address
- Locate and open the Settings app.
- Tap General.
- Tap About.
- Note the current WiFi MAC address is listed by WiFi Address
Mac Address Vendor Lookup
IP Address
Find Ip Address Mac Os
- Locate and open the Settings app.
- Tap Wifi.
- Tap the info icon. It is the i inside the circle.
- Note the current IP address is listed by IP Address.
Android Phones/Tablets
Note: Due to the large variety of Android devices available and variance between software versions and interfaces, there may be slight differences between the instructions below and the procedure for your device. If these instructions do not work, consult the manufacturer documentation.
- Locate and tap the Settings app.
- Scroll to find, then tap About Device (on some phones it will say About Phone).
- Tap Status.
- The MAC address is listed under WiFi Address
Gaming Consoles (Xbox, PlayStation, Wii, etc.)
Xbox One:
- If you are signed into a profile, go to My Games & Apps and Settings. If you are not signed into a profile, just go to Settings.
- Select Network then Advanced Settings.
- Scroll down and select Network Settings. Then choose either Wired (Ethernet) or Wireless, depending on how you want to connect.
Xbox 360:
- Go the Xbox 360 Dashboard and navigate all the way to the right most tab labeled My Xbox and select the System Settings option.
- Select Network Settings then Configure Network
- Go to the Additional Settings Tab and select the Advanced Settings. In the next window you should see the MAC Address listed.
PlayStation 4:
- Go to Settings in the main menu (looks like a toolbox).
- Scroll down and select System. Then select System Information.
- Here you will see the MAC addresses for LAN (Ethernet) and Wi-Fi.
PlayStation 3:
- Go to Settings in the main menu (looks like a toolbox).
- In settings, go to System, then scroll down to System Information. Your MAC Address will be listed here.
PlayStation Vita:
- On the Home Screen, go to Settings.
- In settings, go to System, then select System Information. Your MAC address will be listed here.
Nintendo Switch:
- On the Home Menu, go to System Settings.
- In the menu on the left side, select Internet. The MAC Address will be under System MAC Address.
Wii U:
Note: This will also be the wireless MAC address.
- On the Wii U menu screen, select to the System Settings Icon
- Go to the Internet menu and select it. Then select the View MAC Address icon. The MAC address will be listed here
Wii:
![For For](/uploads/1/1/1/8/111865521/661144282.png)
Note: This mac address will be for the Wireless internet, so if you are connecting using an Ethernet to USB adaptor, you will have to use the MAC address of that adaptor.
- From the Wii Channel Menu, select the Wii Settings button the in the bottom left hand corner
- Navigate the settings menu to Internet, and the Console Settings. The MAC Address will be listed there.
Nintendo 3DS:
Mac Address Changer
- On the 3DS Home Screen, select System Settings. Then select Internet Settings.
- In the Internet Settings, select Other Information and then Confirm MAC Address. The MAC Address will be listed here.
Apple Watch
Note: Only select Apple Watch products have WiFi available. These instructions will only work for Apple Watch/WatchOS devices with WiFi built in.
- Locate and tap the Watch app.
- Tap General.
- Tap About.
- The WiFi/MAC address is listed by the Wi-Fi Address section.
If you are looking to register the Apple Watch on UWNet, follow the instructions for registering a device without a browser once you have located the MAC address: UWNet - Register a Device Without a Browser or Pre-registering a Device Before Arriving to Campus
E-Readers
This KB article from Indiana University has instructions on how to find the MAC address for various E-Readers:
https://kb.iu.edu/d/bbvk