You are on page 1of 2

HOW to route in windows

We will start with the following example

Relay IP address: 172.20.3.1


DC IP address: 172.20 0.14 ( for relay network) and 172.16.0.3 for HMI network
HMI PC IP address: 172.16.0.1

STEP 1.
GO TO HMI PC with IP add: 172.16.0.1
Open CMD with admin privileges
>add a route to route the data from HMI PC to Relay via Data concentrator

ROUTE -p ADD 172.20.3.0 MASK 255.255.255.0 172.16.0.3

this will route HMI to all relays with ip 172.20.3.xxx via the IP address 172.16.0.3 (DATA
CONCENTRATOR)
// route[-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]
// The "-p" makes the route persistent, you can skip for testing

STEP 2.
In DATA CONCENTRATOR go to REGISTORY EDITOR Run> regedit

go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\IPEnableRouter
setting, right click and select Modify. Change 0 to 1 and exit the editor.

OPEN Services run> services.msc and navigate to the Routing and Remote Access service. Right click and
select Properties. Change to Automatic and click on Start to start the service.
NOTE: Default router for the HMI should be the IP address of DC ( in this example 172.16.0.3 )
default router for the relays should be the IP address of DC ( in this example 172.20 0.14 )

STEP 3.

Ping from HMI, connect to relay from setting software

Note :-If you need to delete the routing

Route delete 172.14.1.0

Note:-

● Before doing above step Two server need to be healthy (on condition) and 2 IEC switch should
connected with loop cable .

● User Account control settings need to keep never notify.

You might also like