内外网同时使用解决办法

1.内网IP地址为:10.1.14.56 子网掩码:255.255.255.128  网关:10.1.14.126

2.外网为自动获取IP地址

CMD命令:route -p add 10.1.14.0 mask 255.255.255.0 10.1.14.126

-P为永久,关机重启后不消失。

删除路由命名:

1.使用route print 查看路由表

2.使用route delete 路由地址  mask 子网掩码

猜你喜欢

转载自www.cnblogs.com/ranrongzhen/p/9205385.html