AFAIK 本地链接地址是只能与自己子网内的设备通信的地址。路由器不会转发来自本地链接地址的数据包。本地链接地址在地址块中定义169.254.0.0/16。
思科在使用时对 L 代码进行了如下说明show ip route。“标识这是一条链路本地路由。当接口配置了 IP 地址并激活时,会自动创建链路本地路由。”。
show ip route这是我在数据包跟踪器练习中使用的示例输出。
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
C 10.10.1.0/30 is directly connected, Serial0/0/0
L 10.10.1.2/32 is directly connected, Serial0/0/0
C 10.10.1.8/30 is directly connected, Serial0/0/1
L 10.10.1.9/32 is directly connected, Serial0/0/1
D 10.10.1.16/28 [90/2170112] via 10.10.1.10, 02:09:24, Serial0/0/1
我的问题是:中提到的ip地址show ip route是每条路由中网卡的地址,对吗?那为什么L条路由显示的ip地址不在前面提到的地址块中呢?显然10.10.1.2/32不在地址块169.254.0.0/16中。还是本地链接有多个定义?