Find Manual Ip Address Of A Device Mac
Finding a device’s MAC address based on IP address: Type ‘arp –a ip address on a command prompt Checking Device IP Address Based on the Device ID If you would like to find the device’s IP based on the MAC address you can follow the steps below. On your Mac, choose Apple menu System Preferences, then click Network. Select the network connection you want to use (such as Ethernet) in the list. Click the Configure IPv4 pop-up menu, then choose an option: If your address will be assigned automatically, choose Using DHCP.
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:15pm
Great 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:15pm
Thanks 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:04pm
Good 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:09pm
Unfortunately 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:53pm
Spiceworks 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:06pm
Thanks 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:45pm
Hey 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:34pm
Keep 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:51pm
Great 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!
A Media Access Control (MAC) address is a unique numeric identifier used to distinguish a device from others on a network. The address is assigned by the manufacturer, for Ethernet and Wi-Fi cards. Your device therefore is likely to have two MAC addresses.
Windows
Get your computer's Wired or Wireless MAC address from the Command Prompt Screen:
- Select the Start button.
- Type command in the search box (Start->Run for Windows XP) and press Enter.
*At the Command Prompt, type *ipconfig /all Note: Be sure to put a space between ipconfig and /all!
- Press Enter to list the connection information for your wired and/or wireless connections.
- To find the Physical Address for your connection:
- The wired physical address will be listed under Ethernet adapter Local Area Connection
- The wireless physical address will be listed under Ethernet adapter Wireless Network Connection
- Write down or copy/paste the addresses for future reference.
Find Manual Ip Address Of A Device Mac Os
Copy this information from the command prompt screen into a notepad document:
- Right-click anywhere in the command prompt window and choose Select All.
- Press Enter to copy the text from the Command Prompt screen.
- Open up Notepad (Start->All Programs->Accessories->Notepad).
- Right-click and choose Paste to put the information into the document.
- Save and Print the document and keep it with your important papers.
Mac (OSX)
To get your computer's Wired or Wireless MAC address from the Terminal Screen:
- Locate and open Terminal from Applications->Utilities->Terminal.
- At the Terminal Prompt, type ifconfig and press Enter. This will list all of your network settings, including the physical addresses of your wired and wireless hardware.
- To find the Physical Address for your connection:
> The wired physical address will be listed under en0
> The wireless physical address will be listed under en1 - Write down or copy/paste the addresses into a document for future reference. You can also directly print it by going to Shell->Print. Keep this document with your important papers.
Apple TV
- On the box: Look for the Wireless ID near the UPC label
- On the Apple TV: Go to Menu > Settings > About and look for the Wireless ID
Chromecast
PLEASE NOTE that Chromecasts do NOT currently work at Brown. Sorry!
In most cases, it will be listed on the page which asks you to select a wireless network (below are screenshots for Android and Mac). On a PC, you may have to click Settings to get to this page.
Amazon Echo
- Download the Amazon Alexa app to your phone or computer and sign in with your Amazon account.
- Connect to the wireless network transmitted by your Echo device.
- The wireless MAC address for your Echo can be found at the bottom of the Echo Setup screen in the Alexa app.
PlayStation 2
- Install the network adapter given in the installation guide or on the PlayStation 2 Network Adapter Web site. Once you have the network adapter installed you are ready to begin the ISP Setup process.
- Power up the PlayStation 2 and load the Network Adaptor Startup Disc.
- Once it has loaded, select ISP Setup and press X.
- The ISP SETUP will begin to load, and you will be presented with a license agreement. Select Agree and press X to continue.
- For connection type, choose Local Area Network (LAN) and press X to continue.
- Select Automatic Configuration and press X to continue.
- At the connection test screen, select Advanced and press X to continue.
- At the Advanced Broadband Settings screen, make sure Automatic is selected. While you are at this screen, make note of the MAC Address at the bottom. You will need this number to register your game console.
Playstation 3
- Power up the PlayStation 3 without any disc in the drive.
- Once the PlayStation 3 operating system has loaded, select 'Settings.'
- Once you are in 'Settings' select 'Network Settings.'
- When the 'Network Settings' list appears, select the first option which is titled 'Settings and Connection Status List.'
- The physical address will be listed under 'MAC Address'
Samsung Smart TV
- Go to your TV's menu and choose Network > Network Settings
- Choose Wireless for your connection type
- Choose to connect to the Brown-Guest network
- On some Smart TVs, you will see the MAC Address on the next screen.
If it is not displayed, go back to the menu and choose Network > Network Status.
Wii
The Nintendo Wii is unable to access the Brown network via wireless connection and will require the purchase and use of the Wii LAN Adapter.
- When at the Wii menu screen, click the Wii icon in the lower left corner.
- Select Wii Settings.
- Click the arrow on the right side of the screen to advance to the next page of settings.
- Select Internet.
- Select Console Information.
- The MAC address for your console will be displayed under the LAN Adapter MAC Address listing(the second line).
Xbox
Find Mac By Ip
- Insert your Xbox Live DVD in the drive. The software will automatically run and update the Xbox dashboard to show the Xbox Live option. Once this is complete, eject the CD and make sure you have your network cable plugged into your Xbox and in the network port. Open the Settings menu.
- From Settings, go to Network Settings.
- Within the Network Settings Menu, go to IP Addresses.
- Once in the IP Addresses Menu, be sure the configuration is set to Automatic.
- Press B and go back to the Network Settings menu, then go to DNS Servers.
- Once in the DNS Servers Menu, be sure the configuration is set to Automatic.
- Press B and go back to the Network Settings menu, there you will then see the MAC address in the lower right hand part of the screen. Write this MAC address down somewhere.
Xbox One
If you are able to reach the main menu on your Xbox, follow the steps below to locate the wired MAC address of your console.
- If you are signed into your profile, navigate to My Games & Apps. **Skip this step if you are not signed into a profile.
- From there, select Settings.
- In the settings pane, select Network.
- Select Advanced Settings.
- Record the Wired MAC address on this screen. It should be in the format '00:00:00:00:00:00.'
Xbox 360
- Go to the System area of the Xbox Dashboard and select Network Settings.
- Select Edit Settings.
- Under Basic Settings, check to make sure the IP Settings is on Automatic.
- Now go to Additional Settings, select Advanced Settings.
- At the bottom of this screen you'll see a heading called Wired MAC Address.
Testing your Xbox Live Connection
- Once you have registered your Xbox 360 with the BGSU network, you can test your Xbox Live Connection. Go to the System area of the Xbox Dashboard and select Network Settings. From this menu then select 'Test Xbox Live Connection'.
- The next screen will warn you that testing your network connection will sign everyone out. Select 'Yes' to continue.
- Testing of all Xbox Live connection will then take place.
- To begin using your Xbox Live connection, Go to the Xbox Live area of the Xbox Dashboard and select the graphic that reads 'Xbox Live'.