ipv4 幀中繼配置(GNS3)


1、拓撲圖

 

 

2、網絡地址規划

設備名稱

接口

地址

R1

S0/0

192.168.123.1

R3

S0/1

192.168.123.3

R4

S0/2

192.168.123.4

R2

S0/0、S0/1、S0/2

不需要設置地址

 

3、R2的配置(將R2配置成幀中繼交換機)

R2(config)#frame-relay switching    把該路由器當成幀中繼交換機

R2(config)#int s0/0/0

R2(config-if)#no shu

R2(config-if)#clock rate 128000      配置時鍾

R2(config-if)#encapsulation frame-relay 

R2(config)#int s0/1/0

R2(config-if)#no shu

R2(config-if)#clock rate 128000      配置時鍾

R2(config-if)#encapsulation frame-relay

R2(config)#int s0/0/0

R2(config-if)#frame-relay lmi-type cisco  配置LMI類型為cisco

R2(config-if)#frame-relay intf-type dce   配置接口幀中繼DCE還是DTE

R2(config)#int s0/0/1

R2(config-if)#frame-relay lmi-type cisco  配置LMI類型為cisco

R2(config-if)#frame-relay intf-type dce   配置接口幀中繼DCE還是DTE

R2(config)#int s0/1/0

R2(config-if)#frame-relay lmi-type cisco  配置LMI類型為cisco

R2(config-if)#frame-relay intf-type dce   配置接口幀中繼DCE還是DTE

 

配置幀中繼交換表

R2(config)#int s0/0/0

R2(config-if)#frame-relay route 103 interface s0/0/1 301

R2(config-if)#frame-relay route 104 interface s0/1/0 401

R2(config)#int s0/0/1

R2(config-if)#frame-relay route 301 interface Serial0/0/0 103

R2(config)#int s0/1/0

R2(config-if)#frame-relay route 401 interface Serial0/0/0 104

 

4、給路由器接口配置地址

R1(config)#int s0/0/0

R1(config-if)#ip address 192.168.123.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#encapsulation frame-relay

R1(config-if)#frame-relay lmi-type cisco

 

R3(config)#int s0/0/1

R3(config-if)#ip address 192.168.123.3 255.255.255.0

R3(config-if)#no shutdown

R3(config-if)#encapsulation frame-relay

 

R4(config)#int s0/0/1

R4(config-if)#ip address 192.168.123.4 255.255.255.0

R4(config-if)#no shutdown

R4(config-if)#encapsulation frame-relay

 

5、查看幀中繼交換表

6、連通性測試

R1 ping R3、R4互通

幀中繼配置成功。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM