幀中繼環境下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的管理流量多發一些

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章