FR 帧中继协议
帧中继(Frame Relay)是一种网络与数据终端设备(DTE)的接口标准,是一种在OSI参考模型的物理层和数据链路层工作的高性能WAN协议,是典型的包交换技术。帧中继源于X.25分组交换技术,它是对X.25进行简化和改进后形成的一种快速分组交换技术。帧中继在控制面上提供虚电路的管理,带宽管理和防止阻塞等功能。与传统的电路交换相比,可以对物理电路实行统计时分复用,即在一个物理连接上可以复用多个逻辑连接,实现了带宽的复用和动态分配,有利于多用户、多速率数据的传输,充分利用了网络资源
实验拓扑
基本配置
R1: int gi0/0/0 #进入接口gi0/0/0中 ip add 192.168.10.2 24 #配置IP地址和子网掩码 quit #退出接口配置模式 int s4/0/0 #进入接口s4/0/0中 ip add 172.16.10.1 24 #配置IP地址和子网掩码 quit #退出接口配置模式 R2: int gi0/0/0 #进入接口gi0/0/0中 ip add 192.168.20.2 24 #配置IP地址和子网掩码 quit #退出接口配置模式 int s4/0/0 #进入接口s4/0/0中 ip add 172.16.10.2 24 #配置IP地址和子网掩码 quit #退出接口配置模式
PC1IP地址配置
PC2IP地址配置
配置FR 帧中继协议
R1: [R1]int s4/0/0 #进入接口s4/0/0中 [R1-Serial4/0/0]link-protocol fr #配置接口模式为fr 帧中继协议,华为设备默认是ppp协议 Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y #选择Y [R1-Serial4/0/0]fr interface-type dce #fr的接口类型设置为dce [R1-Serial4/0/0]fr dlci 20 [R1-Serial4/0/0]fr inarp [R1-Serial4/0/0]quit #退出接口配置模式 R2: [R2]int s4/0/0 #进入接口s4/0/0中 [R2-Serial4/0/0]link-protocol fr #配置接口模式为fr 帧中继协议,华为设备默认是ppp协议 Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y #选择Y [R1-Serial4/0/0]fr interface-type dte #fr的接口类型设置为dte [R1-Serial4/0/0]fr dlci 20 [R1-Serial4/0/0]fr inarp [R1-Serial4/0/0]quit #退出接口配置模式
配置静态路由
R1: ip route-static 192.168.20.0 24 172.16.10.2 R2: ip route-static 192.168.10.0 24 172.16.10.1