我想知道什么是一个名为“link-local”的路由表项的目的。
root# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.178.0 * 255.255.255.0 U 1 0 0 eth0 link-local * 255.255.0.0 U 1000 0 0 eth0 default fritz.box 0.0.0.0 UG 0 0 0 eth0
当我用-n打印路由表时:
root# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.178.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0 eth0
所以看起来link-local是指169.254.0.0。 它的目的是什么? 我从来没有configuration过这样的路由,我找不到在我的fritz.box路由器中的条目。
我看到它是完全正常的。