800xA, TCP/IP forwarding missing in hosts file configuration with RNRP in a Workgroup
Hi, Maybe someone can help me here..
We are using the default 172.16.0.0 and 172.17.0.0 network scheme. We run with a workgroup and have separated client/server network and control network. We have 2 dedicated redundant connectivity servers CS1:172.16.4.21 and CS2:172.16.4.22
In RNRP we have Enabled TCP/IP forwarding on both CS servers.
Why is only CS1 in the Hosts file set to be able to access both network areas?
From the Hosts file:
# Written by rnrp 24/09/2013 09:16
172.16.4.21 CS1 # Area=1 Node=21 Path=0
172.17.4.21 CS1 # Area=1 Node=21 Path=1
172.16.80.21 CS1 # Area=20 Node=21 Path=0
172.17.80.21 CS1 # Area=20 Node=21 Path=1
172.16.4.11 AS1 # Area=1 Node=11 Path=0
172.17.4.11 AS1 # Area=1 Node=11 Path=1
172.16.4.12 AS2 # Area=1 Node=12 Path=0
172.17.4.12 AS2 # Area=1 Node=12 Path=1
172.16.4.22 CS2 # Area=1 Node=22 Path=0
172.17.4.22 CS2 # Area=1 Node=22 Path=1
172.16.4.23 CS3 # Area=1 Node=23 Path=0
172.17.4.23 CS3 # Area=1 Node=23 Path=1
172.16.4.24 CS4 # Area=1 Node=24 Path=0
172.17.4.24 CS4 # Area=1 Node=24 Path=1
172.16.4.71 OP1 # Area=1 Node=71 Path=0
172.17.4.71 OP1 # Area=1 Node=71 Path=1
172.16.4.72 OP2 # Area=1 Node=72 Path=0
172.17.4.72 OP2 # Area=1 Node=72 Path=1
172.16.4.73 OP3 # Area=1 Node=73 Path=0
172.17.4.73 OP3 # Area=1 Node=73 Path=1
172.16.4.74 OP4 # Area=1 Node=74 Path=0
172.17.4.74 OP4 # Area=1 Node=74 Path=1
172.16.4.75 OP5 # Area=1 Node=75 Path=0
#END_800xA_RNRP
I'm missing these two lines:
172.16.80.22 CS2 # Area=20 Node=22 Path=0
172.17.80.22 CS2 # Area=20 Node=22 Path=1
Why are they not there for CS2? - I have the TCP/IP forwarding enabled on both servers!
Voted best answer
Hi,
RNRP creates host file entries for a network if it used by RNRP and the parameter "Register this connection’s addresses in DNS" is checked for the primary path. The setting of this parameter for the secondary Network Interfaces does not matter.
This parameter shall be set only for networks on which Clients and Servers shall
communicate, i.e. not for Control Networks or Ethernet based fieldbuses.
Check in the RNRP monitor,where an address which is entered in the hosts file is indicated with “h,” before name = ... The addresses on area 1 (172.16.4.x) are entered in the hosts file while the addresses on area 20 (172.16.80.21) are not entered.
You might have enabled the checkbox "Register this connection’s addresses in DNS" for Control Network which is not required.
Settings are below;
To use a PC as a RNRP router (e.g. a connectivity server) the parameter Enable
TCP/IP Forwarding must be set to 1.
Answers
Hi,
Please open the RNRP network event monitor in CS2 and look for the details listed under area 20.Are the details populated the same when compared to the rnrp monitor in CS1?Please make sure atleast one network cable(prefarably primary) is connected from CS2 to the area 20.
If they are the same then open the RNRP wizard in CS2 and click on the refresh host file option.This should fix the problem if not let us know.
To, Prashanth,
Actualley from the RnrpMon it looks okay. ie. all nodes on area 20 can be seen, but why is CS2 then not shown in the host file? And I have refreshed all the hosts files!
CS1:
CS2:
Hi,
In the attachment of the RNRP monitor you can see that CS 1 is listed as h,name but CS is listed as only name.The explanation is given in the attachment
To, Arihant,
Thanks that was the error. I removed the "Register this nobbection's adress in DNS" from the Primary control network connection on CS1, so now both CS1 and CS2 looks the same in the host files.
the "h" before the name in the RnrpMon is also gone.
CS1:
CS2:
BR.
Jesper
Hello!
In continuation of question - is it mandatory to Refresh Hosts file in RNRP Wizard? For CBM accessing of PLC from Client/Server network which is separated from Control network, I set Enable TCP/IP forwarding and restarted server. RNRP monitor on eng.node shows PLC up and down. My IP addresses are implicitly configured. What else needs to be done to access PLC in Control Network from CBM in Client/Server network?
Add new comment