Is there a way to find the IP address from the MAC address?
I have a MikroTik switch, i know the port a device is plugged in to, i can see it on the interface, but i do not know the IP.
running an ARP command doesn’t work as on the interface screen, the switch seems to have assigned the port a different mac address.
So there is there a way to get the IP address of the device from this information?
On a switch the IP->MAC entry (created by ARP) is normally not present when the switch is not routing.
You need to find a device on the network that does IP routing for that device (router, server) and look in the ARP table there.
Or, when the IP is assigned using DHCP, look in the DHCP leases table on the device that is DHCP server.
Or just a client device in the same (L2) network might have seen the arp request and answer.
“arp -a” shows the ARP table in cmd-box on a Windows PC.
Other protocols may also use a MAC table, like the old Netbios over TCP/IP (“nbtstat -c”)
Click Windows Start or press the Windows key.
In the search box, type cmd.
Press the Enter key.
A command window displays.
Type ipconfig /all.
Press Enter.
A physical address displays for each adapter. The physical address is your device’s MAC address.