For a J+P Network of 10.0.0.0, subnet mask 255.0.0.0 and switch IP 192.168.0.1

sudo route -n add -net 10.0.0.0/8 192.168.0.1