Midas
®
Gas Detector
A-7
A.3 Determining the MAC Address
Most Ethernet network administration is
accomplished by configuring 32-bit internet
protocol (IP) addresses. However, every Ethernet
device also contains a media access controller
(MAC) address. This low-level address is 48-bits
long, fixed and unique.
With most computer equipment, knowledge of
the MAC address is not necessary. The mapping
between IP addresses and MAC addresses is
handled transparently by the address resolution
protocol or ARP. The Midas
®
and personal
computers support ARP.
However, certain PLCs do not support ARP. This
section explains how to determine the MAC
address of a Midas
®
gas detector which is needed
by these PLCs. This requires a computer with an
Ethernet connection to the Midas
®
. This procedure
uses Microsoft Windows XP, although Linux and
other Microsoft operating systems will also work.
1. Establish Ethernet communications between the
PC and the Midas
®
. Both must be on the same
subnet.
2. Open a command prompt.
3. Execute the ping command as shown in
Diagram A1.
Diagram A-1. Ping Command
Pinging 10.1.162.75 with 32 bytes of data:
Reply from 10.1.162.75: bytes=32 time=2ms TTL=60
Reply from 10.1.162.75: bytes=32 time<1ms TTL=60
Reply from 10.1.162.75: bytes=32 time<1ms TTL=60
Reply from 10.1.162.75: bytes=32 time<1ms TTL=60
4. Execute the ARP command as shown in
Diagram A2.
Diagram A-2. ARP Command
5. Search for the IP address of the Midas
®
in the
list. This has been highlighted in Diagram A2.
6. The MAC address is listed in the “Physical
Address” column. So in this example the MAC
address of the Midas
®
is 0x00409DBAD3C3.
ARP is defined by “request for comment” (RFC) 826.
This document was written in 1982 and may be viewed
at http://rfc.sunsite.dk/rfc/rfc826.html.