# Route 命令 ```bash # 查看当前路由配置 route -n # 添加默认网关 route add default dev route add default gw 192.168.56.1 route add default gw 192.168.56.1 dev # 删除默认网关 route del default route del default dev # 设置 route add -net netmask [gw ] [metric <跃点信息>] dev # 删除 route del -net netmask [gw ] [metric <跃点信息>] dev ```