2:使用route del将临时添加的路由条目删除:
[root@lyt ~]# route del -net 192.168.2.0/24 gw 192.168.10.1
[root@lyt ~]# route del -net 192.168.1.0/24 gw 192.168.10.1
查看路由表信息:删除成功

永久性的添加路由条目:
1:[root@lyt ~]# echo "route add -net 192.168.1.0/24 gw 192.168.10.1">>/etc/rc.local #将路由条目追加到开机脚本/etc/rc.local文件中

2:通过创建路由表来实现永久性的添加路由条目:
[root@lyt ~]# cd /etc/sysconfig/network-scripts/
[root@lyt network-scripts]# vim route-eth1 #创建route-eth1路由表,eth1表示公司内网的网络出口网卡,编辑路由表如图:

[root@lyt ~]# service network restart #重启网络服务
查看路由表信息:条目添加成功

