文档:route(8) - Linux manual page
route command in Linux with Examples - GeeksforGeeks
Linux route command help and examples
1.简介
路由表包含如何传输数据包的信息,即网络中所有节点或设备的网络路径。
它是路由器和网关用来跟踪路径的地图。
逐跳路由被广泛使用,数据包包含到达下一跳的路由表
一旦到达,数据包会再次读取路由表以到达下一跳。
route命令用于查看和更改内核路由表。一般包含在 net-tools 软件包中
2.显示路由表
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 100 0 0