以下两种配合使用
临时添加:
route add -net 10.128.0.0 netmask 255.128.0.0 gw 192.168.100.1
开机时启动添加文件:
echo "any net 10.128.0.0 netmask 255.128.0.0 gw 192.168.100.1" >> /etc/sysconfig/static-routes
临时删除:
route del -net 10.128.0.0 netmask 255.128.0.0 gw 192.168.100.1