帧中继配置

帧中继配置

实验环境:Dynamips搭的虚拟环境,帧中继交换机由3640模拟
实验目的:实现各网络在帧中继的环境下互通



R2(帧中继交换机)#sh run

......
!
frame-relay switching     //全局模式下将路由器模拟成帧中继交换机
!
interface Serial1/0
 no ip address
  encapsulation frame-relay     //指定接口下封装FR
 serial restart-delay 0
 clock rate 64000              //必须配置DCE时钟才能与DTE路由器连接
  frame-relay lmi-type cisco    //指定FR的LMI类型
 frame-relay intf-type dce     //在当前接口下指定该设备为DCE设备
 frame-relay route 104 interface Serial1/1 401   //FR到达其他路由器的路径,frame-relay route 本地DLCI interface 目的DLCI的出接口 目的DLCI
  frame-relay route 105 interface Serial1/2 501
!         
interface Serial1/1
 no ip address
  encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 401 interface Serial1/0 104
 frame-relay route 405 interface Serial1/2 504
!         
interface Serial1/2
 no ip address
  encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 501 interface Serial1/0 105
 frame-relay route 504 interface Serial1/1 405
!
......


============================================
R1#sh run 
!
......
interface Serial1/0
 ip address 23.1.1.1 255.255.255.0
  encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 23.1.1.3 104 bro   //映射目的网络与本地DLCI
 frame-relay map ip 23.1.1.4 105 bro
 frame-relay lmi-type cisco

router eigrp 90
 network 10.1.1.1 0.0.0.0
 network 23.1.1.1 0.0.0.0
 no auto-summary
......
!

============================================
R3#sh run 
......
interface Serial1/1
 ip address 23.1.1.3 255.255.255.0
  encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 23.1.1.1 401 bro
 frame-relay map ip 23.1.1.4 405 bro
 frame-relay lmi-type cisco

router eigrp 90
 network 172.16.1.3 0.0.0.0
 network 23.1.1.3 0.0.0.0
 no auto-summary
......
!

============================================
R4#sh run
......
interface Serial1/2
 ip address 23.1.1.4 255.255.255.0
  encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 23.1.1.1 501 bro
 frame-relay map ip 23.1.1.3 504 bro
 frame-relay lmi-type cisco

router eigrp 90
 network 23.1.1.4 0.0.0.0
 network 192.168.1.4 0.0.0.0
 no auto-summary
......
!
===========================================

注:
no fram inv arp   禁止动态生成PVC列表,因为在真实环境中不会存在这样的情况(租用PVC都是要钱的,都是静态指定的),建议在接口上配置。 配合使用的命令有no arp frame-relay



你可能感兴趣的:(网络,职场,路由,休闲,帧中继)