32
ML0035 September 27, 2017 Copyright 2017 Bitronics, LLC
The M650 uses the following port numbers for each type of protocol:
Protocol Port Numbe
DNP3 20000
TCP, UDP
HTML 80
TCP
Modbus 502
TCP
Determining the IP Address if unknown:
Although the IP address can be obtained via the display, for versions that don’t have a
display (M651, M661, PPX II), Bitronics has created a utility program to request the IP
address for a specific MAC address on an Ethernet network. This program can be
used with the M650 as well. The program is available on the company website
(
http://www.novatechweb.com/downloads/inarp/).
The program uses the Inverse Address Recognition Protocol to perform the lookup
and thus is called inarp. The InARP protocol definition can be found at
www.apps.ietf.org/rfc/rfc2390.html. The inarp utility can also scan an Ethernet
network for a range of MAC addresses, providing the IP address for any devices which
respond.
The general form of inarp is defined below, followed by some usage examples.
inarp usage:
inarp [-i <if_ipaddr>] [-n <cnt>] [-p <ms>] [-v] <mac-spec>
where
<if_ipaddr> := interface ip address (default is 1st Ethernet interface)
<cnt> := count of addresses to poll (default 1)
<ms> := period between polls (100ms)
<mac-spec> := <6ByteMac> | <[3-5]ByteMac> | <macRangeName>
<6ByteMac> := xx:xx:xx:xx:xx:xx - <cnt> can specify a range to scan
<5ByteMac> := xx:xx:xx:xx:xx - default <cnt> is 256
...
<3ByteMac> := xx:xx:xx - default <cnt> is 16,777,216
<macRangeName> := "50series"
50Series MAC base (00:d0:4F:03), default <cnt> is 65,536
-v := request verbose information
CTRL-C stops a scan.
The inarp utility requires the WinPcap and Packet libraries which are bundled in the
WinPcap "Installer for Windows." This can be downloaded from www.winpcap.org.
Installation requires Administrator privileges.
Examples: