CCNP-3 EIGRP试验3(BSCI)

简介:

CCNP-3 EIGRP试验3

实验拓扑:

试验要求: 1-R1,R2,R3,R4 通过 Frame-relay 构成一个 hub and spoke 类型的网络, R1 hub 路由器, R2,R3,R4 sopke 路由器。全部起 EIGRP 路由协议。
          2- 按照拓扑上的链路带宽标示配置各自的借口带宽。
3-R1 先用点对点子接口,然后再用点对多点子接口。 R2,R3,R4 全部采用点对点子接口。
试验目的:掌握在 NBMA 环境下 hub and sopke 拓扑中, EIGRP 的带宽配置方法。

实验配置:
FR-Switch
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 401 interface Serial0/1 104
 frame-relay route 402 interface Serial0/2 204
 frame-relay route 403 interface Serial0/3 304
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 104 interface Serial0/0 401
!
interface Serial0/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 204 interface Serial0/0 402
!
interface Serial0/3
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay intf-type dce
 frame-relay route 304 interface Serial0/0 403
 
R1
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1 point-to-point
 bandwidth 64
 ip address 199.99.1.1 255.255.255.0
 frame-relay interface-dlci 401  
!
interface Serial1/0.2 point-to-point
 bandwidth 64
 ip address 199.99.2.1 255.255.255.0
 frame-relay interface-dlci 402  
!
interface Serial1/0.3 point-to-point
 bandwidth 56
 ip address 199.99.3.1 255.255.255.0
 frame-relay interface-dlci 403  
!
router eigrp 100
 network 199.99.1.0
 network 199.99.2.0
 network 199.99.3.0
 auto-summary
 
R2
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1 point-to-point
 bandwidth 64
 ip address 199.99.1.2 255.255.255.0
 frame-relay interface-dlci 104  
!
router eigrp 100
 network 199.99.1.0
 auto-summary
 
R3
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1 point-to-point
 bandwidth 64
 ip address 199.99.2.2 255.255.255.0
 frame-relay interface-dlci 204  
!
router eigrp 100
 network 199.99.2.0
 auto-summary
 
R4
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1 point-to-point
 bandwidth 56
 ip address 199.99.3.2 255.255.255.0
 frame-relay interface-dlci 304
!
router eigrp 100
 network 199.99.3.0
 auto-summary
以上为基本配置,要注意带宽是在子接口下配置的,下面为每台 spoke 路由器的 show ip route show ip eigrp topology
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
 
D    199.99.3.0/24 [90/ 46738176 ] via 199.99.1.1, 00:00:11, Serial1/0.1
D    199.99.2.0/24 [90/ 41024000 ] via 199.99.1.1, 00:00:11, Serial1/0.1
C    199.99.1.0/24 is directly connected, Serial1/0.1
 
R2#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.1.2)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 40512000
        via Connected, Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 41024000
        via 199.99.1.1 (41024000/40512000), Serial1/0.1
P 199.99.3.0/24, 1 successors, FD is 46738176
        via 199.99.1.1 (46738176/46226176), Serial1/0.1
 
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
 
D    199.99.3.0/24 [90/ 46738176 ] via 199.99.2.1, 00:00:10, Serial1/0.1
C    199.99.2.0/24 is directly connected, Serial1/0.1
D    199.99.1.0/24 [90/ 41024000 ] via 199.99.2.1, 00:00:10, Serial1/0.1
 
R3#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.2.2)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 41024000
        via 199.99.2.1 (41024000/40512000), Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 40512000
        via Connected, Serial1/0.1
P 199.99.3.0/24, 1 successors, FD is 46738176
        via 199.99.2.1 (46738176/46226176), Serial1/0.1
 
R4#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
 
C    199.99.3.0/24 is directly connected, Serial1/0.1
D    199.99.2.0/24 [90/46738176] via 199.99.3.1, 00:00:01, Serial1/0.1
D    199.99.1.0/24 [90/46738176] via 199.99.3.1, 00:00:01, Serial1/0.1
 
R4#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.3.2)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 46738176
        via 199.99.3.1 (46738176/40512000), Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 46738176
        via 199.99.3.1 (46738176/40512000), Serial1/0.1
P 199.99.3.0/24, 1 successors, FD is 46226176
        via Connected, Serial1/0.1
通过对上面输出的分析可以知道所有 sopke 路由器从 EIGRP 学到的路由都要经过 hub 路由器,并且 R2 R3 R4 metric 值与到其余 spoke 的值不等,而 R4 到其他 spoke 路由器的 metric 值相等。
 
注意:一般在 NBMA hub and spoke 环境下,如果有多条链路带宽相等,只有个别链路带宽小于其余链路的带宽的时候,我们可以在 hub 路由器上分别配置点到多点子接口和点到点子接口 ,如下所示:
R1
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1  multipoint
 bandwidth 128
 ip address 199.99.1.1 255.255.255.0
 frame-relay map ip 199.99.1.2 401 broadcast
 frame-relay map ip 199.99.1.3 402 broadcast
!
interface Serial1/0.2 point-to-point
 ip address 199.99.2.1 255.255.255.0
 frame-relay interface-dlci 403 
!
router eigrp 100
 network 199.99.1.0
 network 199.99.2.0
 auto-summary
(忘记配置 S1/0.2 bandwidth 了,不过不影响试验)
 
R2
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1  point-to-point
  bandwidth 64
 ip address 199.99.1.2 255.255.255.0
 frame-relay interface-dlci 104  
!
router eigrp 100
 network 199.99.1.0
 auto-summary
 
R3
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1  point-to-point
 bandwidth 64
 ip address 199.99.1.3 255.255.255.0
 frame-relay interface-dlci 204  
!
router eigrp 100
 network 199.99.1.0
 auto-summary
 
R4
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1  point-to-point
 bandwidth 56
 ip address 199.99.2.2 255.255.255.0
 frame-relay interface-dlci 304  
!
router eigrp 100
 network 199.99.2.0
 auto-summary
下面是每台 spoke 路由器的 show ip route show ip eigrp topology
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
 
D    199.99.2.0/24 [90/41024000] via 199.99.1.1, 00:00:40, Serial1/0.1
C    199.99.1.0/24 is directly connected, Serial1/0.1
 
R2#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.1.2)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 40512000
        via Connected, Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 41024000
        via 199.99.1.1 (41024000/2169856), Serial1/0.1
 
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
 
D    199.99.2.0/24 [90/41024000] via 199.99.1.1, 00:00:00, Serial1/0.1
C    199.99.1.0/24 is directly connected, Serial1/0.1
 
R3#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.1.3)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 40512000
        via Connected, Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 41024000
        via 199.99.1.1 (41024000/2169856), Serial1/0.1
 
R4#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
 
C    199.99.2.0/24 is directly connected, Serial1/0.1
D    199.99.1.0/24 [90/46738176] via 199.99.2.1, 00:00:04, Serial1/0.1
 
R4#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(199.99.2.2)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
 
P 199.99.1.0/24, 1 successors, FD is 46738176
        via 199.99.2.1 (46738176/20512000), Serial1/0.1
P 199.99.2.0/24, 1 successors, FD is 46226176
        via Connected, Serial1/0.1
 
注意用红色标记的 metric 值的差别。还要记住在 hub 点到多点子接口上配置的带宽应为 spoke 带宽的总和,这里 128=64+64

试验总结:通过本试验掌握了在 NBMA 部分网格环境中,点到点和点到多点子接口定义带宽的方法和配置过程。

















本文转自loveme2351CTO博客,原文链接:http://blog.51cto.com/loveme23/45495  ,如需转载请自行联系原作者
相关文章
|
网络协议 网络架构
|
网络协议 Shell 数据安全/隐私保护
|
网络协议 数据库
|
网络协议 网络架构
|
网络协议 网络架构
|
负载均衡 网络协议