ISIS Lab 重分布直连
Lab
在R4上对isis和ospf做双向重分布后,在R5上查看路由表如下:
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O E2 1.1.1.1 [110/20] via 45.1.1.4, 00:00:21, FastEthernet0/0.45
2.0.0.0/32 is subnetted, 1 subnets
O E2 2.2.2.2 [110/20] via 45.1.1.4, 00:00:21, FastEthernet0/0.45
3.0.0.0/32 is subnetted, 1 subnets
O E2 3.3.3.3 [110/20] via 45.1.1.4, 00:00:21, FastEthernet0/0.45
5.0.0.0/32 is subnetted, 1 subnets
C 5.5.5.5 is directly connected, Loopback0
23.0.0.0/24 is subnetted, 1 subnets
O E2 23.1.1.0 [110/20] via 45.1.1.4, 00:00:21, FastEthernet0/0.45
12.0.0.0/24 is subnetted, 1 subnets
O E2 12.1.1.0 [110/20] via 45.1.1.4, 00:00:21, FastEthernet0/0.45
45.0.0.0/24 is subnetted, 1 subnets
C 45.1.1.0 is directly connected, FastEthernet0/0.45
R5路由表没有4.4.4.4网段是因为ISIS是基于节点(相当于每台设备)的寻址方案仅仅要求每个节点具有一个地址,所以不会把直连网段发给R5
若要R5收到直连网段需要在R4进行重分布直连
R4(config)#router ospf 100
R4(config-router)#redistribute connected subnets