1、route 的常用的命令
- route -n
参考:Linux中的路由 route和traceroute - route add
route add -net 192.168.80.0 netmask 255.255.255.0 gw 192.168.80.254
route add -net 192.168.80.0 netmask 255.255.255.0 dev enp0s8 - route del
route del -net 192.168.80.0 netmask 255.255.255.0 gw 192.168.80.254
route del -net 192.168.80.0 netmask 255.255.255.0 dev enp0s8