windows

https://www.anmane.com/windows-lu-you-biao-pei-zhi/ https://www.cnblogs.com/lightnear/archive/2013/02/03/2890835.html https://www.jianshu.com/p/1db08a1d6e1b route print 在链路上指的是不需要通过路由器转发,表示该条路由表的网关IP和接口的IP是一样的,由本机接口直接决定数据包的去向,无需其他路由中转。一般都是目标的ip与本机接口IP在同一个网段。同一个网段,自然不需要路由转发,可以直接与同网段的IP进行通信,那么网关自然是自己本身(自己接口的ip) ![[images/Pasted image 20221126090355.png]]

Linux

https://blog.csdn.net/vevenlcf/article/details/48026965 https://zhuanlan.zhihu.com/p/61805945 https://blog.51cto.com/u_15060546/4110152 https://ivanzz1001.github.io/records/post/linuxops/2018/11/14/linux-route route