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:
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.
The static route will NOT persist through a reboot.
Executed from Terminal
sudo route -n add -net A.B.C.D/E F.G.H.J
Variables:
A.B.C.D
is the Just Add Power subnetE
is the Just Add Power subnet mask, converted to CIDR notation
F.G.H.J
is the IP address of the switch with Just Add Power devices attachedsudo route -n add -net 10.0.0.0/8 192.168.0.254
sudo route -n add -net 172.27.0.0/16 192.168.1.49
sudo route -n add -net 192.168.100.0/24 192.168.0.99