$ route -n
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 1x.1x.x0.2x4 0.0.0.0 UG 100 0 0 enpxsy
方法2
$traceroute www.baidu.com
traceroute to www.baidu.com (220.181.38.150), 30 hops max, 60 byte packets
1 _gateway (1x.1x.x0.2x4 ) 1.282 ms 1.225 ms 1.202 ms