CCNP之BSCI实验5:配置EIGRP非等价负载均衡

 

 

CCNPBSCI实验5:配置EIGRP非等价负载均衡

 

 

实验目的:

1.       掌握EIGRP的非等价负载均衡的条件

2.       掌握EIGRPMETRIC值修改方法

3.       掌握EIGRPAD,FD,FC,SUCCESSOR,FS

实验拓扑:

实验步骤:

1.       按拓扑图配置IP,并用PING检验各个路由器的直连口的互通性

2.       配置EIGRP路由协议。

3.       观察R1到达R3192.168.1.0/24网络路由

4.       要实现非等价负载均衡的条件:FSFD<最优路由的FD*Varince

5.       要成为FS,需要满足可以条件:AD<FD

6.       查看R1的拓扑表

 

 

r1(config)#int s1/0

r1(config-if)#ip add 172.16.3.2 255.255.255.0

r1(config-if)#encapsulation frame-relay 帧中继封装

r1(config-if)#no sh

r1(config-if)#frame map ip 172.16.3.1 101 broadcast

r1(config-if)#do sh frame-relay map

Serial1/0 (up): ip 172.16.3.1 dlci 101(0x65,0x1850), static,

              broadcast,

              CISCO, status defined, active

r1(config-if)#

r1(config-if)#

r1(config-if)#exit

r1(config)#int f0/0

r1(config-if)#ip add 172.16.1.1 255.255.255.0

r1(config-if)#no sh

r1(config-if)#

*Mar  1 00:15:13.783: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar  1 00:15:14.783: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

r1(config-if)#exit

r1(config)#router eigrp 1

r1(config-router)#no au

r1(config-router)#net 172.16.0.0

r1(config-router)#

*Mar  1 00:17:08.975: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.3.1 (Serial1/0) is up: new adjacency

r1(config-router)#

*Mar  1 00:18:40.103: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.1.2 (FastEthernet0/0) is up: new adjacency

r1(config-router)#do sh 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, 3 subnets

C       172.16.1.0 is directly connected, FastEthernet0/0

D       172.16.2.0 [90/2172416] via 172.16.1.2, 00:00:13, FastEthernet0/0

C       172.16.3.0 is directly connected, Serial1/0

D    192.168.1.0/24 [90/2297856] via 172.16.3.1, 00:00:13, Serial1/0

r1(config-router)#do sh ip eigrp to all-links 显示EIGRP拓扑表所有条目

IP-EIGRP Topology Table for AS(1)/ID(172.16.3.2)

 

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

       r - reply Status, s - sia Status

 

P 192.168.1.0/24, 1 successors, FD is 2297856, serno 4

        via 172.16.3.1 (2297856/128256), Serial1/0

        via 172.16.1.2 (2300416/2297856), FastEthernet0/0

P 172.16.1.0/24, 1 successors, FD is 28160, serno 1

        via Connected, FastEthernet0/0

P 172.16.2.0/24, 1 successors, FD is 2172416, serno 5

        via 172.16.1.2 (2172416/2169856), FastEthernet0/0

        via 172.16.3.1 (2681856/2169856), Serial1/0

P 172.16.3.0/24, 1 successors, FD is 2169856, serno 2

        via Connected, Serial1/0

 

r1(config-router)#do sh ip eigrp topology 查看拓扑表,可显示EIGRP的后继和可行后继

IP-EIGRP Topology Table for AS(1)/ID(172.16.3.2)

 

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

       r - reply Status, s - sia Status

 

P 192.168.1.0/24, 1 successors, FD is 2297856

        via 172.16.3.1 (2297856/128256), Serial1/0

P 172.16.1.0/24, 1 successors, FD is 28160

        via Connected, FastEthernet0/0

P 172.16.2.0/24, 1 successors, FD is 2172416

        via 172.16.1.2 (2172416/2169856), FastEthernet0/0

        via 172.16.3.1 (2681856/2169856), Serial1/0

P 172.16.3.0/24, 1 successors, FD is 2169856

        via Connected, Serial1/0

从上面可以看出:R1R3192.168.1.1,没有经过R2路由条目,

sh ip eigrp to all-linkssh ip eigrp topology显示比较,P 192.168.1.0/24, 1 successors, FD is 2297856, serno 4

        via 172.16.3.1 (2297856/128256), Serial1/0

        via 172.16.1.2 (2300416/2297856), FastEthernet0/0

要成为FS,需要满足可以条件:AD<FD,所以R1—R3没有可行后继。

 

r1(config-router)#do sh ip eigrp topology 在修竹R2S1/0的带宽后再查看拓扑表

IP-EIGRP Topology Table for AS(1)/ID(172.16.3.2)

 

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

       r - reply Status, s - sia Status

 

P 192.168.1.0/24, 1 successors, FD is 2294016

        via 172.16.1.2 (2294016/2291456), FastEthernet0/0

        via 172.16.3.1 (2297856/128256), Serial1/0

可以看出R1—R3的LOO1,R3成为可行后继。

P 172.16.1.0/24, 1 successors, FD is 28160

        via Connected, FastEthernet0/0

P 172.16.2.0/24, 1 successors, FD is 2166016

        via 172.16.1.2 (2166016/2163456), FastEthernet0/0

P 172.16.3.0/24, 1 successors, FD is 2169856

        via Connected, Serial1/0

r1(config-router)#variance 2 实现非等价负载均衡。

r1(config-router)#exit

r1(config)#do sh 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, 3 subnets

C       172.16.1.0 is directly connected, FastEthernet0/0

D       172.16.2.0 [90/2166016] via 172.16.1.2, 00:00:08, FastEthernet0/0

C       172.16.3.0 is directly connected, Serial1/0

D    192.168.1.0/24 [90/2297856] via 172.16.3.1, 00:00:08, Serial1/0

                    [90/2294016] via 172.16.1.2, 00:00:08, FastEthernet0/0

 

 

r2(config)#

r2(config)#int f0/0

r2(config-if)#ip add 172.16.1.2 255.255.255.0

r2(config-if)#no sh

r2(config-if)#exit

r2(config)#int s

*Mar  1 00:04:56.523: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar  1 00:04:57.523: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

r2(config)#int s1/0

r2(config-if)#clo r 64000

r2(config-if)#ip add 172.16.2.2 255.255.255.0

r2(config-if)#no sh

r2(config-if)#exit

r2(config)#router eigrp 1

r2(config-router)#no au

r2(config-router)#net 172.16.0.0

*Mar  1 00:06:00.675: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.2.1 (Serial1/0) is up: new adjacency

*Mar  1 00:06:00.679: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.1.1 (FastEthernet0/0) is up: new adjacency

r2(config-router)#exit

r2(config)#int s1/0

r2(config-if)#bandwidth 1550

 

 

r3(config)#int loo 1

r3(config-if)#ip add

*Mar  1 00:02:44.487: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

r3(config-if)#ip add 192.168.1.1 255.255.255.0

r3(config-if)#exit

r3(config)#int s0/1

r3(config-if)#ip add 172.16.2.1 255.255.255.0

r3(config-if)#no sh

r3(config-if)#exit

r3(config)#

*Mar  1 00:03:41.659: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up

*Mar  1 00:03:42.659: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

r3(config)#int s0/0

r3(config-if)#ip add 172.16.3.1 255.255.255.0

r3(config-if)#no sh

*Mar  1 00:04:08.675: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up

*Mar  1 00:04:09.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

r3(config-if)#encapsulation frame-relay

r3(config-if)#

*Mar  1 00:04:59.287: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

r3(config-if)#frame map ip

*Mar  1 00:05:19.287: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

r3(config-if)#frame map ip 172.16.3.1 202 broadcast

r3(config-if)#do sh frame-relay map

Serial0/0 (up): ip 172.16.3.1 dlci 202(0xCA,0x30A0), static,

              broadcast,

              CISCO, status defined, active

r3(config-if)#

r3(config-if)#no frame map ip 172.16.3.1 202 broadcast

r3(config-if)#frame map ip 172.16.3.2 202 broadcast  

r3(config-if)#

r3(config-if)#do sh frame map

Serial0/0 (up): ip 172.16.3.2 dlci 202(0xCA,0x30A0), static,

              broadcast,

              CISCO, status defined, active

r3(config-if)#exit

r3(config)#router eigrp 1

r3(config-router)#no au

r3(config-router)#net 172.16.0.0

r3(config-router)#net 192.168.1.0

r3(config-router)#

*Mar  1 00:17:08.147: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.3.2 (Serial0/0) is up: new adjacency

r3(config-router)#

*Mar  1 00:18:39.391: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 172.16.2.2 (Serial0/1) is up: new adjacency

r3(config-router)#do sh ip eigrp topology

IP-EIGRP Topology Table for AS(1)/ID(192.168.1.1)

 

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

       r - reply Status, s - sia Status

 

P 192.168.1.0/24, 1 successors, FD is 128256

        via Connected, Loopback1

P 172.16.1.0/24, 2 successors, FD is 2172416

        via 172.16.2.2 (2172416/28160), Serial0/1

        via 172.16.3.2 (2172416/28160), Serial0/0

P 172.16.2.0/24, 1 successors, FD is 2169856

        via Connected, Serial0/1

        via 172.16.3.2 (2684416/2166016), Serial0/0

P 172.16.3.0/24, 1 successors, FD is 2169856

        via Connected, Serial0/0

 

 

你可能感兴趣的:(负载,实验,ccnp,EIGRP,BSCI)