|
Re: cRIO networking
Quote:
Originally Posted by byteit101
How would one go about changing the IP addresses of the cRIO's ports? More specifically, how would you (assuming it is possible) change the cRIO's port 2 from the 192.168.0.x network to a different network (ex 10.4.52.x)?
Also, Is it possible for the cRIO to have a proxy program on it, so stuff on port 1 can communicate with stuff on port 2 (like wireless camera access)?
For networking, how does the cRIO know what port to put it out on? With subnet 255.0.0.0? 255.255.255.0?
|
I believe the ni-rt.ini file in the root of the cRIO filesystem is where the IP addresses are set (although there might be another ini file as well, I'd have to look). The cRIO knows which port to send data out of based on the IP address and subnet mask set up for each port. It may have a default route set up for IP addresses within neither of those ranges, but I don't know what it is.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC
2010 FRC World Champions ( 294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
|