帧中继环境下EIGRP的配置

一:实验目的:

 掌握在帧中继环境下配置EIGRP;
 掌握在帧中继环境下优化EIGRP.
二:实验拓扑:


三:实验配置:
1:基础配置

FR交换机的配置:(R1是Hub,R2,R3是Spoke)
frame-relay switching
int s0/0
en fr ietf
frame-relay intf-type dce 
clock rate 64000
frame-relay lmi-type ansi
frame-relay route 102 interface s0/1 201
frame-relay route 103 interface s0/2 301
no sh 
int s0/1
en fr ietf
frame-relay intf-type dce 
clock rate 64000
frame-relay lmi-type ansi
frame-relay route 201 interface s0/0 102
no sh 
int s0/2
en fr ietf
frame-relay intf-type dce 
clock rate 64000
frame-relay lmi-type ansi
frame-relay route 301 interface s0/0 103
no sh

R1(config)#int s0/0
R1(config-if)#encapsulation frame-relay 
R1(config-if)#no sh
R1(config)#int s0/0.1 multipoint
R1(config-subif)#frame-relay map ip 10.1.1.2 102 broadcast 
R1(config-subif)#frame-relay map ip 10.1.1.3 103 broadcast

R2(config)#int s0/0
R2(config-if)#encapsulation frame-relay 
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#int s0/0.1 multipoint 
R2(config-subif)#ip add 10.1.1.2 255.255.255.0
R2(config-subif)#no sh
R2(config-subif)#exit
R2(config-subif)#frame-relay map ip 10.1.1.1 201 broadcast 
R2(config-subif)#frame-relay map ip 10.1.1.3 201 broadcast

R3(config)#int s0/0
R3(config-if)#encapsulation frame-relay 
R3(config-if)#no sh 
R3(config-if)#exit
R3(config)#int s0/0.1 multipoint 
R3(config-subif)#ip add 10.1.1.3 255.255.255.0
R3(config-subif)#no sh
R3(config-subif)#frame-relay map ip 10.1.1.1 301 broadcast 
R3(config-subif)#frame-relay map ip 10.1.1.2 301 broadcast
R1#ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/86/192 ms
R1#ping 10.1.1.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/88/176 ms
在R1,R2,R3上模拟内网:
R1(config)#int lo 0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R2(config)#int lo 0
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R3(config)#int lo 0
R3(config-if)#ip add 3.3.3.3 255.255.255.0

R1(config)#router eigrp 1
R1(config-router)#net 1.1.1.0 0.0.0.255
R1(config-router)#net 10.1.1.0 0.0.0.255
R1(config-router)#no au
R2(config)#router eigrp 1
R2(config-router)#net 10.1.1.0 0.0.0.255
R2(config-router)#net 2.2.2.0 0.0.0.255
R2(config-router)#no au
R3(config)#router eigrp 1
R3(config-router)#net 10.1.1.0 0.0.0.255
R3(config-router)#net 3.3.3.0 0.0.0.255
R3(config-router)#no au
R1#sho ip route eigrp 
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/2297856] via 10.1.1.2, 00:01:03, Serial0/0.1
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/2297856] via 10.1.1.3, 00:00:29, Serial0/0.1
R2#sho ip route eigrp 
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/2297856] via 10.1.1.1, 00:01:17, Serial0/0.1
R3#sho ip route eigrp 
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/2297856] via 10.1.1.1, 00:00:53, Serial0/0.1
//发现Hub(R1学到了R2和R3的)端学到了所有Spoke的路由,而Spoke端不能相互学习。原因是水平分割的问题。
R1(config)#int s0/0 multipoint
R1(config-subif)#ip split-horizon eigrp 1
//发现Spoke端又可以相互学路由了。
R2#sho ip route eigrp 
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/2297856] via 10.1.1.1, 00:01:41, Serial0/0.1
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/2809856] via 10.1.1.1, 00:00:54, Serial0/0.1
R3#sho ip route eigrp 
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/2297856] via 10.1.1.1, 00:08:14, Serial0/0.1
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/2809856] via 10.1.1.1, 00:01:04, Serial0/0.1

R2(config)#int s0/0.1 multipoint 
R2(config-subif)#bandwidth 56    //R1接入广域网的链路带宽
R3(config)#int s0/0.1 multipoint 
R3(config-subif)#bandwidth 56    //R3接入广域网的链路带宽

R1(config)#int s0/0.1 multipoint 
R1(config-subif)#bandwidth 112   //R1接入广域网的链路带宽
R1(config-subif)#ip bandwidth-percent eigrp 1 120   //让EIGRP的管理流量多发一些

你可能感兴趣的:(优化,休闲,EIGRP,实验目的,帧中继)