Adding your Brainboxes device to the Windows Routing Table
What will this do?
The Routing table dictates where all packets go when they leave your system. On most environments, all packets that leave your system will be forwarded over to your router or hub, and from there out to the internet.
In some circumstances, you may have a testing network configured to duplicate another environment, or you may be configuring a more complex network topology that requires the use of additional routes. Adding routes to your machine is a useful testing tool for some of these situations.
Why and when do I need this?
If the controller PC is on a different subnet to your device, then Boost.IO or Boost.LAN will perform some magic and re-write the route table on the PC so it can communicate with the device, however the route is not permanent.
When you reboot your computer, it will mean it loses all comms until you have reopened Boost.IO or Boost.LAN.
How do I fix this issue so I don’t have to keep reopening Boost.IO?
We will need to tell Windows to remember the route without the use of Boost.IO and even after you have rebooted your system. All of this can be done through the Windows Command Prompt.
- Firstly, go into your Start Menu, type in CMD and open up Command Prompt.
- The command for adding your Brainboxes device to the routing table would look like this:
route ADD xxx.xxx.xxx.xxx MASK
ADD “network” MASK “subnet mask” “gateway ip”
- So for example, if you were on the 192.168.127.0 network, you had a gateway on 192.168.1.12 configured to access the 10.10.10.0 network, and you would use a route add statement like this:
route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12
Your routing table should now reflect that change, and all traffic to the 10.10.10.x range will now be sent over to the gateway machine.
- Please note that the route add will only stick across reboots if you have added the –p flag into the command. Please refer to the example below:
route –p ADD 10.10.10.0 MASK
It says I need something else, what do I do?
If you continue to face issues with routing, please get in touch with Brainboxes technical support on [email protected]