You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.

Adding a Static Route to macOS


Executed from Terminal

sudo route -n add -net x.x.x.x

x.x.x.x is the IP address of the Cisco/Luxul switch with Just Add Power devices attached


1. For a J+P Network of, subnet mask and switch IP

sudo route -n add -net

2. For a J+P Network of, subnet mask and switch IP

sudo route -n add -net


Whether setting up or troubleshooting a system, there are some situations where adding a static route to the computer's internal routing table is necessary:

  1. If there is not a static route already added to the network router. Perhaps because one is not needed for the day-to-day operation of the system (switching only) or the router does not support adding a static route.
  2. Changing the computer's default gateway to the switch IP would conflict with the ability to connect the computer to the internet for Remote Desktop Support.
  3. The installer has to connect to the internet using the WiFi connection, while hard wiring into the Just Add Power system in situations where the Just Add Power switch is not connected to the rest of the customer's network.

While adding a static route to a computer can be a great testing and troubleshooting tool, it will not enhance the actual operation of the system as the static route is only tied to the computer that the route is applied to. This method should not serve as a replacement for adding a Static Route to a system to access Layer 3 Features.

  • 320
  • 29-Jun-2022