CCNP Day7 EIGRP综合实验1
1、网络拓扑
2、要求R1上的100.1.1.0~100.1.7.0的网段只更新到R3不更新到R2上
R1 config t router rip version 2 passive-interface FastEthernet0/0 neighbor 1.1.123.3 end
R3#clear ip route
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
R 1.1.24.0/29 [120/1] via 1.1.123.2, 00:00:06, FastEthernet0/0
C 1.1.34.0/29 is directly connected, Serial1/1
C 1.1.123.0/27 is directly connected, FastEthernet0/0
100.0.0.0/24 is subnetted, 7 subnets
R 100.1.5.0 [120/5] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.4.0 [120/7] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.7.0 [120/5] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.6.0 [120/7] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.1.0 [120/5] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.3.0 [120/5] via 1.1.123.1, 00:00:08, FastEthernet0/0
R 100.1.2.0 [120/7] via 1.1.123.1, 00:00:08, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
R 10.10.1.0 [120/1] via 1.1.123.1, 00:00:22, FastEthernet0/0
R 10.10.2.0 [120/1] via 1.1.123.2, 00:00:07, FastEthernet0/0
C 10.10.3.0 is directly connected, Loopback0
R3#
R2#
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 1.1.24.0/29 is directly connected, Serial1/0
R 1.1.34.0/29 [120/1] via 1.1.123.3, 00:00:06, FastEthernet0/0
C 1.1.123.0/27 is directly connected, FastEthernet0/0
100.0.0.0/24 is subnetted, 7 subnets
R 100.1.5.0 [120/5] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.4.0 [120/7] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.7.0 [120/5] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.6.0 [120/7] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.1.0 [120/5] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.3.0 [120/5] via 1.1.123.1, 00:00:06, FastEthernet0/0
R 100.1.2.0 [120/7] via 1.1.123.1, 00:00:06, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
R 10.10.1.0 [120/1] via 1.1.123.1, 00:00:07, FastEthernet0/0
C 10.10.2.0 is directly connected, Loopback0
R 10.10.3.0 [120/1] via 1.1.123.3, 00:00:07, FastEthernet0/0
R2#
R2#cl
R2#clear ip route *
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 1.1.24.0/29 is directly connected, Serial1/0
R 1.1.34.0/29 [120/1] via 1.1.123.3, 00:00:02, FastEthernet0/0
C 1.1.123.0/27 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 2 subnets
C 10.10.2.0 is directly connected, Loopback0
R 10.10.3.0 [120/1] via 1.1.123.3, 00:00:02, FastEthernet0/0
R2#
3、端口水平分割(即从一个端口学习到的路由不会在从此端口传出去,即防止环路)
4、在R2、R3,R4上创建EIGRP并在路由器之间使用认证
R2: config t router rip redistribute eigrp 100 metric 1 end config t router eigrp 100 redistribute rip metric 10000 10 255 1 1500 end R3: config t router rip redistribute eigrp 100 metric 1 end 9、要求R2、R3、R4上修改Hello时间为2秒;Hold时间为:10秒 R2: config t interface s1/0 ip hello-interval eigrp 100 2 ip hold-time eigrp 100 10 end R3: config t interface s1/1 ip hello-interval eigrp 100 2 ip hold-time eigrp 100 10 end R4: config t interface s1/0 ip hello-interval eigrp 100 2 ip hold-time eigrp 100 10 exit interface s1/1 ip hello-interval eigrp 100 2 ip hold-time eigrp 100 10 end 9、要求R2、R3、R4上开启Eigrp认证 R2 config t key chain A key 1 key-string cisco interface s1/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 A R3 config t key chain A key 1 key-string cisco interface s1/1 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 A R4 config t key chain A key 1 key-string cisco interface s1/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 A exit interface s1/1 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 A exit