1
GNU / Linux与BSD的“ route get…”等效吗?
BSD route命令具有一项功能,该功能将显示将为给定主机选择的路由。例如: /Users/mhaase $ route get google.com route to: iad23s07-in-f8.1e100.net destination: iad23s07-in-f8.1e100.net gateway: 10.36.13.1 interface: en0 flags: <UP,GATEWAY,HOST,DONE,WASCLONED,IFSCOPE,IFREF> recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 如果我手动弄乱路由表以确保路由规则按预期工作,我有时会发现这很有用。 GNU版本的route没有相同的“ get”子命令。GNU / Linux是否有等效或替代的选择?