macOS Windows添加静态路由

mac route命令同时访问内外网
sudo route -n add -net 192.168.0.0 -netmask 255.255.255.0 192.168.5.254
sudo route -n add -net 192.168.3.0 -netmask 255.255.255.0 192.168.5.254
sudo route -n add -net 192.168.2.0 -netmask 255.255.255.0 192.168.5.254

 

Windows route命令同时访问内外网
route add -p 192.168.3.0 mask 255.255.255.0 192.168.5.254
route add -p 192.168.0.0 mask 255.255.255.0 192.168.5.254
route add -p 192.168.2.0 mask 255.255.255.0 192.168.5.254

上一篇:laravel路由设置


下一篇:Cadence Allegro输出异形孔信息文件图文教程及视频演示