Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to manually set the IP on a RT target ?

Hello hello,

no matter what I try, my RT target refuses the DHCP info: it always gets a useless 169.254.63.83 IP address. Yes, DHCP is running and works with another system.

Is it possible to set the networking options manually from within the target ? The [Boot into safe mode] option says: "this brings up the minimal set of services necessary to configure the system's network settings", so it should be possible. Are there secret keys to do that ?

0 Kudos
Message 1 of 4
(2,417 Views)

What RT target are you using?  Are you connecting with Ethernet or USB when making these changes?

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

I ran into this too. The fix it to enable PortFast on the switch port you're using (or the entire switch). If it's not on, the cRIO will set it's IP to link-local rather than wait for the network to become available (up to 50 seconds after power up).

 

 

 

What is Spanning Tree? What is PortFast?

Message 3 of 4
(2,371 Views)

OK, thanks for the tip. Our switches are already configured this way (and I don't think that'd be an issue when running in a VM), but it tipped us off... We checked the cables connecting the switches and lo and behold, the cable was bad. Good enough for normal PCs, bad for RT. No idea why, but once the cable was replaced, I booted on the local network with the RT target and it got its IP.

 

So it works now, thanks.

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