我决定进一步了解路由、VPN、VLAN 等。
我正在使用 GNS3 模拟各种情况。我有一组连接的 LAN,核心正在运行 OSPF 和 BGP。我有一个连接的 OSPF 网络。
核心:OSPF 区域 0 - 172.16.1.x LAN:OSPF 区域 100 - 10.0.100.x
我可以从任何 172.16 接口通过云 ping 出世界各地,但不能从 LAN100 区域内的 10.0 接口 ping 出。
我有一条从任意 172.16 到云接口 (192.168.122.1) 的默认路由,并且 10.0 LAN 设备有一条到 10.0 边界路由器的“默认信息来源”路由。尽管我可以从内部 BDR 接口 ping 到同一路由器上的任何其他 BDR 接口,但我无法 ping 到 172。
假设我有默认路由,可以从 10.0.100.31 到达 172.16.1.30,可以从 172.16.1.30 到达 172.16.1.29,为什么不能从 10 到达 172?
我找不到任何看似合适的先前问题。
抱歉,版面设计有问题。我一次又一次地尝试将其转换为纯文本,但都失败了。我输入了“>”,尝试粘贴并单击“"”,尝试了列表,尝试了缩进。我放弃了。生命似乎太短暂了 :)
Gateway of last resort is 172.16.1.29 to network 0.0.0.0
1.0.0.0/32 is subnetted, 2 subnets
C 1.1.2.1 is directly connected, Loopback1
C 1.1.1.10 is directly connected, Loopback0
172.16.0.0/30 is subnetted, 1 subnets
C 172.16.1.28 is directly connected, GigabitEthernet0/0
10.0.0.0/27 is subnetted, 3 subnets
C 10.0.100.64 is directly connected, GigabitEthernet3/0
C 10.0.100.32 is directly connected, GigabitEthernet2/0
C 10.0.100.0 is directly connected, GigabitEthernet1/0
S* 0.0.0.0/0 [1/0] via 172.16.1.29
边界路由器
Gateway of last resort is 172.16.1.29 to network 0.0.0.0
1.0.0.0/32 is subnetted, 2 subnets
C 1.1.2.1 is directly connected, Loopback1
C 1.1.1.10 is directly connected, Loopback0
172.16.0.0/30 is subnetted, 1 subnets
C 172.16.1.28 is directly connected, GigabitEthernet0/0
10.0.0.0/27 is subnetted, 3 subnets
C 10.0.100.64 is directly connected, GigabitEthernet3/0
C 10.0.100.32 is directly connected, GigabitEthernet2/0
C 10.0.100.0 is directly connected, GigabitEthernet1/0
S* 0.0.0.0/0 [1/0] via 172.16.1.29
IOSvR5路由器
Gateway of last resort is 192.168.122.1 to network 0.0.0.0
B* 0.0.0.0/0 [200/0] via 192.168.122.1, 00:38:50
1.0.0.0/32 is subnetted, 6 subnets
O 1.1.1.1 [110/2] via 172.16.1.25, 00:39:21, GigabitEthernet0/2
O 1.1.1.2 [110/2] via 172.16.1.22, 00:39:21, GigabitEthernet0/1
O IA 1.1.1.3 [110/3] via 172.16.1.22, 00:39:21, GigabitEthernet0/1
O 1.1.1.4 [110/3] via 172.16.1.17, 00:39:21, GigabitEthernet0/0
O 1.1.1.5 [110/2] via 172.16.1.17, 00:39:21, GigabitEthernet0/0
C 1.1.1.6 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 12 subnets, 2 masks
O 172.16.1.0/30 [110/2] via 172.16.1.25, 00:39:21, GigabitEthernet0/2
[110/2] via 172.16.1.22, 00:39:21, GigabitEthernet0/1
O 172.16.1.4/30 [110/2] via 172.16.1.22, 00:39:21, GigabitEthernet0/1
O 172.16.1.8/30 [110/3] via 172.16.1.22, 00:39:21, GigabitEthernet0/1
[110/3] via 172.16.1.17, 00:39:21, GigabitEthernet0/0
O 172.16.1.12/30 [110/2] via 172.16.1.17, 00:39:21, GigabitEthernet0/0
C 172.16.1.16/30 is directly connected, GigabitEthernet0/0
L 172.16.1.18/32 is directly connected, GigabitEthernet0/0
C 172.16.1.20/30 is directly connected, GigabitEthernet0/1
L 172.16.1.21/32 is directly connected, GigabitEthernet0/1
C 172.16.1.24/30 is directly connected, GigabitEthernet0/2
L 172.16.1.26/32 is directly connected, GigabitEthernet0/2
C 172.16.1.28/30 is directly connected, GigabitEthernet0/3
L 172.16.1.29/32 is directly connected, GigabitEthernet0/3
B 192.168.122.0/24 [200/0] via 1.1.1.1, 00:38:50