Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistent IP on one PC but fine on the other

Hello I have recently ran into such an issue:

 

On PC a: everything works fine.

 

On PC b: a direct connection cannot be made, but a connection though router and port forwarding is fine

 

Right now I have my PC b hosting a 2013 VI and cannot easily transfer it to PC a (2014 environment)

 

I ran into such an issue a few days after setting up real-time startup and web publishing (succeeded)

 

Any comment is welcomed

 

Some specs:

 

NI CRIO-9068

 

currently running: 2013 VI

 

Network: port 1 static global IP; port 2 static local--port forwarded

 

0 Kudos
Message 1 of 4
(4,049 Views)

Hi Oreki,

 

Did you have the cRIO directly connected via Ethernet to PC A? If so, it sounds like the cRIO is configured to a static IP address when it should be configured for DHCP when connected through a router. We can easily reset the IP address and this should help to resolve the issue. You can follow the steps shown in page 18 of the manual linked below.

 

Troubleshooting Network Communication: http://www.ni.com/pdf/manuals/376007a.pdf#page=18

 

Best Regards,

 

Andy M

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(4,035 Views)

Hello,

 

I was not very clear about network communication so I will expand this a little bit.

 

The CRIO i am working on right now has two Ethernet port:

Port 1 is set to static global IP for indoor access (it is conneted to a hub).

 

Port 2 is set to static local and connected through a router for outdoor access, and the router is hooked with a 3G dongle to provide WAN access.

 

Both PC a and b could connect the CRIO through port 2. Only one PC could connect the CRIO through port 1. This does not make much sense since both PC is given a global IP addess and also connected to a hub. They literally have the same setup.

0 Kudos
Message 3 of 4
(4,022 Views)

Hi Oreki,

 

Thank you for the information. Ethernet port 2 must be set to a different subnet than Ethernet port 1. This means that port 2 must be configured with a static IP address in a different subnet than port 1.

 

Also, port 2 is not able to communicate outside of its own subnet. This means it does not have the capability to communicate with a large intranet. The main example of its use is to connect the cRIO to a private network or computer that is not visible to the host PC.

 

Configuring Dual Ethernet Ports: http://digital.ni.com/public.nsf/allkb/67F94BB93BCE32CF86257367006B3659

 

Best Regards,

 

Andy

Applications Engineer

National Instruments

0 Kudos
Message 4 of 4
(4,007 Views)