route add 192.168.123.0 mask 255.255.255.0 192.168.1.253 -p
route delete 192.168.123.0 mask 255.255.255.0 192.168.1.253
route add 10.0.0.0(要访问的IP段) mask 255.0.0.0 192.168.0.1(自身的内网网关)
-p是永久的意思,不然的话重启就失效了
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
route add 192.168.123.0 mask 255.255.255.0 192.168.1.253 -p
route delete 192.168.123.0 mask 255.255.255.0 192.168.1.253
route add 10.0.0.0(要访问的IP段) mask 255.0.0.0 192.168.0.1(自身的内网网关)
-p是永久的意思,不然的话重启就失效了