---
title: "Map IP addresses to switch ports from MAC and ARP | Mac Lookup"
description: "Paste switch MAC tables and gateway ARP output to get one CSV of switch, port, VLAN, MAC, vendor and IPv4 address."
url: https://usefultabs.com/tools/mac-lookup/
---

[All tools](https://usefultabs.com/tools/)

# Mac Lookup: Map IP addresses to switch ports from MAC and ARP

Paste switch MAC tables and gateway ARP output to get one CSV of switch, port, VLAN, MAC, vendor and IPv4 address.

Free No sign-up Runs in your browser

[Open Mac Lookup →](https://usefultabs.com/mac-lookup/)

## See it work

Two switches and one ARP table become a port list; the uplink sighting is set aside for the access port.

Lines from layouts it does not read are listed with their line numbers, never guessed.

## Before you start

As it opens: nothing to install, no sign-up.

The same tool on a phone.

## What it does

When you inherit an undocumented network, the switch MAC table shows the port and the gateway ARP table shows the IP address.

- Join output from several switches and ARP sources by MAC address in your browser.
- Look up vendor names using the bundled IEEE MA-L, MA-M and MA-S registries.

- Review matches, rows missing a port or IP address, and unread lines with their line numbers.
- Download the port map as one CSV.

## How to use it

- Run `show mac address-table` on Cisco IOS, IOS-XE, NX-OS or Arista EOS, or `show mac-address` on HP/Aruba ProVision. Include each command prompt to name its switch.
- Collect ARP output from the gateway or firewall for the VLANs you’re mapping. Use the device’s command, such as `show ip arp` on Cisco or Arista or `get system arp` on FortiGate.

- Paste each output into its matching box or choose the text files. Select **Join**, review the port map and any lines flagged below it, then select **Download CSV**.

## What it does not do

- It does not connect to or scan network devices. You supply the command output.
- Switch table support is limited to Cisco IOS/IOS-XE, Cisco NX-OS, Arista EOS and HP/Aruba ProVision (AOS-S) layouts. Juniper, Huawei, AOS-CX and FortiSwitch layouts are outside that set.

- It does not match IPv6 addresses. Each ARP match needs one distinct MAC and one distinct IPv4 address on the same line. The combined input limit is 5 MB (5 MiB of UTF-8 text).
- The uplink label is an estimate based on port names and MAC counts. Check the chosen port against your switch output before acting on it.

- Locally administered MACs have no registry vendor. The bundled data excludes the old IEEE IAB registry.

[Open Mac Lookup](https://usefultabs.com/mac-lookup/): it is free and runs in your browser.

Saved you some time? Tools here stay free and sign-up free. [Tip the maker on Ko-fi](https://ko-fi.com/usefultabs).

## More free tools

- [Acl Match](https://usefultabs.com/acl-match/) compare NTFS permissions after migration Compare two icacls exports from a file server migration and list every path that lost a group, changed rights or broke inheritance. Nothing is uploaded. [How it works](https://usefultabs.com/tools/acl-match/)

- [Acl Trace](https://usefultabs.com/acl-trace/) Cisco ACL checker and shadowed rule finder Paste a Cisco IOS extended ACL and a test packet. A network engineer sees the first match and every shadowed line, with no device. [How it works](https://usefultabs.com/tools/acl-trace/)

- [Ca Baseline](https://usefultabs.com/ca-baseline/) compare conditional access policies Compare Conditional Access JSON from several customers to one baseline. See missing policies, extra exclusions and weaker controls. Nothing is uploaded. [How it works](https://usefultabs.com/tools/ca-baseline/)

- [Dhcp Options](https://usefultabs.com/dhcp-options/) Mitel DHCP option 125 hex string builder Phone and network technicians build Mitel option 125 hex in the browser. The length byte is counted for this string. [How it works](https://usefultabs.com/tools/dhcp-options/)

- [Exposure Match](https://usefultabs.com/exposure-match/) Find machines below an advisory's safe software version Paste a software inventory CSV and a minimum safe version, and list each customer's machines running below it, compared as numbers. Nothing is uploaded. [How it works](https://usefultabs.com/tools/exposure-match/)

- [Fresh Hold](https://usefultabs.com/fresh-hold/) Recently published npm packages in a lockfile Drop a lockfile and flag pinned npm versions published in the last few days, newest first. The window runs from 1 to 90 days. [How it works](https://usefultabs.com/tools/fresh-hold/)
