osx添加与删除静态路由
sudo route -n add -net 10.10.1.0/24 10.10.1.2
sudo route -n delete -net 10.10.1.0/24 10.10.1.2
清除路由
You need to flush the routes . Use route -n flush several times . Afterwards add your routes with route add. restart network
print routes
netstat -rn
Leave a Reply