Continuing the info from the FAQ How do I connect a Ruida controller with Ethernet?:
The reason the above posts suggests “pick a different set of ‘hundreds’ from where your PC is” is because the Ruida TCP/IP Stack is broken and NOT PROPERLY IMPLEMENTED.
Without getting too technical: as long as you choose a Ruida IP address which shares the same first three “parts” (octets) of your PC’s IP Address then you should be OK. It doesn’t really matter what you choose for the last “part” is as long as the first three match. (…and of course the address needs to be unique)
For those who would like a technical explanation:
Ruida never asks for a Subnet Mask during configuration. This should be a Red Flag for anyone who understands how IP addressing works. Ruida ALWAYS assumes a Subnet Mask of “255.255.255.0” regardless of whether it is appropriate for use on YOUR network or NOT. This is simply a very sloppy and incorrect assumption but it should also be easy to fix (if Ruida truly cares). All they need to do is ask for the proper Subnet Mask instead of just using 255.255.255.0 in all cases. They are assuming that every always uses a Class-C network which is simply NOT the case!
For example. My network is a Class-B network (172.20.0.0) and fully compliant with the RFC1918 spec for address ranges reserved for private use. (You might be familiar with 192.268.0.0 or 10.0.0.0 and if you are wondering where these numbers come from and why they are so popular - RFC 1918 will tell you) Anyway, here are my network details including my PC address and the address I WANTED to use for my Ruida Controller:
Network: 172.20.0.0
Mask: 255.255.0.0
Gateway: 172.20.1.1
Lightburn PC: 172.20.100.4 (All my workstations are on 172.20.100.?)
Rudia: 172.20.8.1 (All my CNC Equipment is on (172.20.8.?)
Normally this should not be a problem. It certainly isn’t for all the other hundreds of device on my network. However, I was forced to set the TCP address of my Ruida controller to:
Ruida: 172.20.100.254
…and then my Lightburn PC could communicate with it. However, no other devices (other than those with 172.20.100.?) addresses can communicate with it. All Ruida needs to do is “Ask” what the existing subnet mask is for the network LIKE EVERY OTHER TCP DEVICE DOES. In fact, the Ruida controller can not even communicate with the Gateway it specifically requested (at 172.20.1.1) because it doesn’t share the same first three octets!
So, you might say, “so just use the “forced” address”. However, if you have a larger network, and you actually ORGANIZE and MANAGE your devices (for routing, vlan, or other purposes) then you “DO” care. Again, by using an inappropriate subnet mask, a good portion of the devices on my network can not communicate with the Ruida. Machine shops with larger networks are definitely going to see this issue.
I did send an email to both Ruida and OMTech so we’ll see where it goes. But if you wonder why you are being forced to choose an address for your controller, which may not be appropriate for your network, this is the reason.
The good news it’s a simple fix if Ruida cares to implement it…