CISCO中双点双向重发布(EIGRP+OSPF)

  • 格式:pdf
  • 大小:40.79 KB
  • 文档页数:5

下载文档原格式

  / 5
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

C 192.168.3.0/24 is directly connected, FastEthernet0/0
192.168.3.1 却走了 192.168.1.2 形成次优路径。
批注 [LG7]: 次优路径
R2
1.0.0.0/32 is subnetted, 1 subnets
D EX 1.1.1.1 [170/2588160] via 192.168.3.1, 00:00:21, FastEthernet0/0
批注 [LG6]: 应该走
Blog.linuxerhome.com C 192.168.1.0/24isdirectlyconnected,FastEthernet1/0 O 192.168.2.0/24 [110/2] via 192.168.1.2, 00:00:26, FastEthernet1/0 C 192.168.3.0/24 is directly connected, FastEthernet0/0
R3
1.0.0.0/32 is subnetted, 1 subnets O E2 1.1.1.1 [110/20] via 192.168.2.2, 00:11:06, FastEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets O E2 2.2.2.2 [110/20] via 192.168.2.2, 00:11:06, FastEthernet1/0 O 192.168.1.0/24 [110/2] via 192.168.2.2, 00:11:06, FastEthernet1/0 C 192.168.2.0/24 is directly connected, FastEthernet1/0 C 192.168.3.0/24 is directly connected, FastEthernet0/0
[170/2588160] via 192.168.3.2, 00:08:51, FastEthernet0/0
D EX 192.168.1.0/24 [170/2588160] via 192.168.3.3, 00:09:05, FastEthernet0/0
[170/2588160] via 192.168.3.2, 00:09:05, FastEthernet0/0
D EX 2.2.2.2 [170/2588160] via 192.168.3.3, 00:00:10, FastEthernet0/0
[170/2588160] via 192.168.3.2, 00:00:10, FastEthernet0/0
D EX 192.168.1.0/24 [170/2588160] via 192.168.3.3, 00:00:10, FastEthernet0/0
D EX 192.168.2.0/24 [170/2588160] via 192.168.3.3, 00:08:51, FastEthernet0/0
[170/2588160] via 192.168.3.2, 00:08:51, FastEthernet0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
R4
1.0.0.0/32 is subnetted, 1 subnets
O E2 1.1.1.1 [110/20] via 192.168.1.1, 00:11:44, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C
2.2.2.2 is directly connected, Loopback1
[110/20] via 192.168.1.1, 00:49:02, FastEthernet0/0
之后
R1
1.0.0.0/32 is subnetted, 1 subnets
C
1.1.1.1 is directly connected, Loopback1
2.0.0.0/32 is subnetted, 1 subnets
批注 [LG1]: 把直连路由重分 发到 EIGRP 中。
R2:
interface FastEthernet0/0
ip address 192.168.3.2 255.255.255.0
duplex auto
speed auto
Blog.linuxerhome.com ! interface FastEthernet1/0 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto ! router eigrp 100 redistribute ospf 100 metric 1000 100 255 1 1500 network 192.168.3.0 no auto-summary ! router ospf 100 router-id 2.2.2.2 log-adjacency-changes redistribute eigrp 100 subnets network 192.168.1.0 0.0.0.255 area 0 distance 180 3.3.3.3 0.0.0.0
[170/2588160] via 192.168.3.2, 00:00:10, FastEthernet0/0
D EX 192.168.2.0/24 [170/2588160] via 192.168.3.3, 00:00:17, FastEthernet0/0
[170/2588160] via 192.168.3.2, 00:00:17, FastEthernet0/0
R3
1.0.0.0/32 is subnetted, 1 subnets D EX 1.1.1.1 [170/2588160] via 192.168.3.1, 00:00:20, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets O E2 2.2.2.2 [110/20] via 192.168.2.2, 00:00:20, FastEthernet1/0 O 192.168.1.0/24 [110/2] via 192.168.2.2, 00:00:20, FastEthernet1/0 C 192.168.2.0/24 is directly connected, FastEthernet1/0 C 192.168.3.0/24 is directly connected, FastEthernet0/0
Blog.linuxerhome.com 要求: R1 的 LO 0 1.1.1.1/32 口重分布到 EIGRP 中 R4 的 LO 0 2.2.2.2/32 口重分布到 OSPF 中 1.1.1.1 负载均衡从 R2 R3 到 R4 2.2.2.2 负载均衡从 R2 R3 到 R1 配置: R1: interface Loopback1 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.3.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 no ip address shutdown duplex auto speed auto ! router eigrp 100 redistribute connected metric 1000 100 255 1 1500 network 192.168.3.0 no auto-summary
distance 180 2.2.2.2 0.0.0.0
批注 [LG3]: 把 OSPF 的管理
R4
距离修改为 180(2.2.2.2
Blog.linuxerhome.com interface Loopback1 ip address 2.2.2.2 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 ip address 192.168.2.2 255.255.255.0 duplex auto speed auto ! router ospf 100 router-id 4.4.4.4 log-adjacency-changes redistribute connected subnets network 192.168.1.0 0.0.0.255 area 0 network 192.168.2.0 0.0.0.255 area 0
批注 [LG2]: 把 OSPF 的管理 距离修改为 180(3.3.3.3 0.0.0.0 为对端路由器的 router-id)
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.2.0 0.0.0.255 area 0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet1/0
O E2 192.168.3.0/24 [110/20] via 192.168.2.1, 00:49:02, FastEthernet1/0
修改管理距离之前各个路由器的路由表如下:
R1
1.0.0.0/32 is subnetted, 1 subnets
C
1.1.1.1 is directly connected, Loopback1
2.0.0.0/32 is subnetted, 1 subnets
D EX 2.2.2.2 [170/2588160] via 192.168.3.3, 00:08:51, FastEthernet0/0
Blog.linuxerhome.com 2.0.0.0/32 is subnetted, 1 subnets O E2 2.2.2.2 [110/20] via 192.168.1.2, 00:00:21, FastEthernet1/0 C 192.168.1.0/24 is directly connected, FastEthernet1/0 O 192.168.2.0/24 [110/2] via 192.168.1.2, 00:00:21, FastEthernet1/0 C 192.168.3.0/24 is directly connected, FastEthernet0/0
[170/2588160] via 192.168.3.1, 00:00:39, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O E2 2.2.2.2 [110/20] via 192.168.1.2, 00:00:26, FastEthernet1/0
R2
0.0.0.0 为对端路由器的 router-id)
批注 [LG4]: 把直连路由重分 发到 OSPF 中。
批注 [LG5]: 实现负载均衡
1.0.0.0/32 is subnetted, 1 subnets
ቤተ መጻሕፍቲ ባይዱ
D EX 1.1.1.1 [170/2588160] via 192.168.3.3, 00:00:39, FastEthernet0/0
R3
interface FastEthernet0/0 ip address 192.168.3.3 255.255.255.0 duplex auto speed auto !
interface FastEthernet1/0 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto ! router eigrp 100 redistribute ospf 100 metric 1000 100 255 1 1500 network 192.168.3.0 no auto-summary ! router ospf 100 router-id 3.3.3.3