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
的带宽配置方法。 encapsulation frame-relay
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
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 104 interface Serial0/0 401
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 204 interface Serial0/0 402
encapsulation frame-relay
frame-relay intf-type dce
frame-relay route 304 interface Serial0/0 403
encapsulation frame-relay
interface Serial1/0.1
point-to-point ip address 199.99.1.1 255.255.255.0
frame-relay interface-dlci 401
interface Serial1/0.2
point-to-point ip address 199.99.2.1 255.255.255.0
frame-relay interface-dlci 402
interface Serial1/0.3
point-to-point ip address 199.99.3.1 255.255.255.0
frame-relay interface-dlci 403
encapsulation frame-relay
interface Serial1/0.1
point-to-point ip address 199.99.1.2 255.255.255.0
frame-relay interface-dlci 104
encapsulation frame-relay
interface Serial1/0.1
point-to-point ip address 199.99.2.2 255.255.255.0
frame-relay interface-dlci 204
encapsulation frame-relay
interface Serial1/0.1
point-to-point ip address 199.99.3.2 255.255.255.0
frame-relay interface-dlci 304
以上为基本配置,要注意带宽是在子接口下配置的,下面为每台 spoke
路由器的 show ip route
和 show ip eigrp topology
: 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 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 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 路由器上分别配置点到多点子接口和点到点子接口 ,如下所示: encapsulation frame-relay interface Serial1/0.1 multipoint 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 (忘记配置 S1/0.2 的 bandwidth 了,不过不影响试验) encapsulation frame-relay interface Serial1/0.1 point-to-point ip address 199.99.1.2 255.255.255.0 frame-relay interface-dlci 104 encapsulation frame-relay interface Serial1/0.1 point-to-point ip address 199.99.1.3 255.255.255.0 frame-relay interface-dlci 204 encapsulation frame-relay interface Serial1/0.1 point-to-point ip address 199.99.2.2 255.255.255.0 frame-relay interface-dlci 304 下面是每台 spoke 路由器的 show ip route 和 show ip eigrp topology : 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 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 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
,如需转载请自行联系原作者