iprouteshowipaddrshowenp0s3删除默认路由iprouteadd10.15.150.024via192.168.150.253devenp0s3iproute ip route show ip addr show enp0s3 删除默认路由ip route add 10.15.150.0/24 via 192.168.150.253 dev enp0s3ip route del 10.15.150.0/24 删
ip route showip addr show enp0s3
删除默认路由ip route add 10.15.150.0/24 via 192.168.150.253 dev enp0s3ip route del 10.15.150.0/24
删除路由是立即生效的,重启丢失
【感谢龙石为本站提供数据共享平台 http://www.longshidata.com/pages/exchange.html】