Community discussions

MikroTik App
 
MGNurse95
just joined
Topic Author
Posts: 1
Joined: Wed Nov 25, 2020 3:10 pm

Finding IP from Mac Address

Wed Nov 25, 2020 3:14 pm

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?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10221
Joined: Mon Jun 08, 2015 12:09 pm

Re: Finding IP from Mac Address

Wed Nov 25, 2020 3:30 pm

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.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: Finding IP from Mac Address

Wed Nov 25, 2020 5:04 pm

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")
 
jeniferdaisal
just joined
Posts: 1
Joined: Thu Nov 26, 2020 12:42 pm

Re: Finding IP from Mac Address

Thu Nov 26, 2020 12:44 pm

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.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: Finding IP from Mac Address

Wed Dec 09, 2020 10:41 am

Who is online

Users browsing this forum: Bing [Bot] and 85 guests