博客统计信息

51cto推荐博客
用户名:loveme23
文章数:630
评论数:508
访问量:602789
无忧币:21118
博客积分:6540
博客等级:8
注册日期:2006-03-13

CCNP-4 EIGRP试验4(BSCI)
2007-10-10 18:54:06
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://loveme23.blog.51cto.com/7891/45738

CCNP-4 EIGRP试验4

实验拓扑:

试验要求:1-R1,R2,R3EIGRP路由协议,R1R2之间配置MD5验证;
          2-R3配置成为stub区域。
试验目的:掌握EIGRPMD5验证方法和过程,并会配置;理解STUB区域的含义和EIGRP几种stub区域的区别,掌握EIGRP几种stub区域的配置方法。

实验配置:
R1
interface Serial1/0
 ip address 199.99.1.1 255.255.255.0
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 ccnp
 serial restart-delay 0
!
router eigrp 100
 network 199.99.1.0
 auto-summary
 
R2
interface Serial1/0
 ip address 199.99.1.2 255.255.255.0
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 ccnp
 serial restart-delay 0
 clock rate 64000
!
router eigrp 100
 network 199.99.1.0
 network 199.99.2.0
 auto-summary
 
R3
interface Serial1/0
 ip address 199.99.2.1 255.255.255.0
 serial restart-delay 0
!
router eigrp 100
 network 172.16.1.0 0.0.0.255
 network 199.99.2.0
 no auto-summary
基本配置完成,下面在R1debug eigrp packets查看:
R1#debug eigrp packets
EIGRP Packets debugging is on
    (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY, SIAREPLY)
R1#
*Mar  1 00:03:40.575: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 199.99.1.2 (Serial1/0) is up: new adjacency
*Mar  1 00:03:45.247: EIGRP: Sending HELLO on Serial1/0
*Mar  1 00:03:45.247:   AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
*Mar  1 00:03:45.539: EIGRP: received packet with MD5 authentication, key id = 1
*Mar  1 00:03:45.543: EIGRP: Received HELLO on Serial1/0 nbr 199.99.1.2
*Mar  1 00:03:45.543:   AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
*Mar  1 00:03:50.003: EIGRP: received packet with MD5 authentication, key id = 1
*Mar  1 00:03:50.007: EIGRP: Received HELLO on Serial1/0 nbr 199.99.1.2
*Mar  1 00:03:50.007:   AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
*Mar  1 00:03:50.199: EIGRP: Sending HELLO on Serial1/0
*Mar  1 00:03:50.199:   AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
发现收到MD5加密的Hello数据包,并且通过本地验证,成功成为邻居关系。
下面我们在R3上起Loopback接口进行eigrp stub测试:
interface Loopback0
 ip address 172.16.1.1 255.255.255.0
!
ip route 192.168.1.0 255.255.255.0 172.16.1.2
并且用EIGRP通告出去,然后在R1show ip route
R1#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
 
     172.16.0.0/24 is subnetted, 1 subnets
D       172.16.1.0 [90/2809856] via 199.99.1.2, 00:00:01, Serial1/0
D    199.99.2.0/24 [90/2681856] via 199.99.1.2, 00:00:30, Serial1/0
D EX 192.168.1.0/24 [170/2809856] via 199.99.1.2, 00:00:02, Serial1/0
C    199.99.1.0/24 is directly connected, Serial1/0
学到了172.16.1.0的路由,下面在R3上进行如下配置:
R3(config-router)#eigrp stub receive-only
R3(config-router)#redistribute static
配置完成后,在R2上会出现如下提示信息:
R2#
*Mar  1 00:06:17.959: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 199.99.2.1 (Serial1/1) is down: Interface Goodbye received
*Mar  1 00:06:19.351: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 199.99.2.1 (Serial1/1) is up: new adjacency
然后在R1show ip route查看路由:
R1#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
 
D    199.99.2.0/24 [90/2681856] via 199.99.1.2, 00:00:04, Serial1/0
C    199.99.1.0/24 is directly connected, Serial1/0
没有了到172.16.1.0的路由了,第二中stub配置如下:
R3(config-router)#eigrp stub connected
再到R1show ip route
R1#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
 
     172.16.0.0/24 is subnetted, 1 subnets
D       172.16.1.0 [90/2809856] via 199.99.1.2, 00:00:18, Serial1/0
D    199.99.2.0/24 [90/2681856] via 199.99.1.2, 00:01:50, Serial1/0
C    199.99.1.0/24 is directly connected, Serial1/0
又发现缺少了到192.168.1.0的路由,第三种EIGRP stub配置方法:
R3(config-router)#eigrp stub static
然后在R1show ip route
R1#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
 
D    199.99.2.0/24 [90/2681856] via 199.99.1.2, 00:05:07, Serial1/0
C    199.99.1.0/24 is directly connected, Serial1/0
D EX 192.168.1.0/24 [170/2809856] via 199.99.1.2, 00:00:02, Serial1/0
OK,我们发现有了一条D EX的路由到192.168.1.0/24,是作为外部路由被通告的。

实验总结:掌握EIGRP MD5验证的基本配置与不同stub区域区别与配置方法。

本文出自 “★Beckham~23” 博客,请务必保留此出处http://loveme23.blog.51cto.com/7891/45738

分享至
更多
一键收藏,随时查看,分享好友!
Sunshyfangtian
1人
了这篇文章
类别:CCNP实验配置技术圈()┆阅读()┆评论() ┆ 推送到技术圈返回首页

文章评论

 
2007-10-10 21:10:18
沙发
路由,做实验还没有做过呢

2008-01-05 13:58:51
你这个实验的192.168.1.0网段在哪儿? 我的QQ是77110618

 

发表评论            

【技术门诊】专家解析:软考重点难点及应试技巧
昵  称:
登录  快速注册
验证码:

请点击后输入验证码博客过2级,无需填写验证码

内  容: