Adding a Static Route to macOS


Executed from Terminal

sudo route -n add -net 10.0.0.0/8 x.x.x.x

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

Examples

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

    sudo route -n add -net 10.0.0.0/8 192.168.0.254

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

    sudo route -n add -net 172.16.0.0/16 192.168.1.49

https://support.justaddpower.com/kb/article/320-adding-a-static-route-to-macos/


文章作者:   Joey Wang
版权声明:   本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Joey Wang !
  目录