How to derive I.P. from MAC address

jdbrandt

Lifetime Supporting Member
Join Date
Oct 2002
Location
Pennsylvania
Posts
1,203
Is there a good way to derive a device's I.P. address, if you know the device's MAC address?

The net's general grouping is known (192.168.1.???)

In this case, the device is a rack-mounted TSX WMY 100 'Factory Connect' module.
 
If I understand, Select run and type in cmd and then type arp -a
in the DOS window. I believe this will return the IP and MAC address of the devices on the network.

Hope This Helps
 
If I understand, Select run and type in cmd and then type arp -a
in the DOS window. I believe this will return the IP and MAC address of the devices on the network.

Hope This Helps

I use ARP /A all the time, and, it only shows the addresses that it has resolved already, after you PING the port, or after some program on your computer access that I.P. address.

Great suggestion, however.

Everybody ought to know how to use ARP /A, in my opinion.
 
Only to expound on what Bob O said - the arp table is the way to go but will only be populated on a PC if there has been recent device-PC comms. If you just plug in a laptop to the network, chances are you won't see it. If you have been talking to it, then it will show.

Some other options if the arp table doesn't have it:

1. Set up Wireshark and sniff the ethernet frames off that line. Helps to have a managed switch with port mirroring (you DO have a managed switch, don't you???) but even if you don't all is not lost. Power cycle the device and sniff with wireshark on the regular switch and the device will produce Gratuitous ARPs on bootup which will announce the MAC and IP address. These are broadcast so even a switch will send these to every port. Just power cycle the device and that will cause bootup. A hub instead of switch will easily show all network traffic passing through with Wireshark, so is actually easier.
2. Use canned software to map the network - Schneider has something along those lines and since you using their hardware the local sales guy may loan you a copy or something.
3. Write a script to ping every device in the network... looping through. Only suggest if (1) is not possible.
 
Is this device communicating with another device? In that case you could use a network analyzer like wireshark to caputere the messages from this device.
 

Similar Topics

Hi, I have been trying to run drive via Sysmac studio. I can ping the drive. I can see the logic bits going on/off as per command. But, drive is...
Replies
21
Views
599
Good morning to everyone on the forum and happy new year. I'm trying to use the following functions in sysmac studio, because I need to enable one...
Replies
1
Views
343
So, here's probably a silly one that I hope someone here knows. I am working with a SYSMAC NA5 HMI. (First time doing anything with Omron.) What...
Replies
1
Views
531
Good morning everyone, I'm having difficulty using the "sin" and "cos" functions in sysmac, in particular the results of the functions are not...
Replies
15
Views
1,185
looking for the the MAC address for this PLC, I count find it in the front or at any part of the PLC itself. connected to the PLC by USB, showing...
Replies
11
Views
1,787
Back
Top Bottom