• 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互通

    帧中继配置成功。

  • 相关阅读:
    关于迭代器模式的个人理解
    设计模式之迭代器模式详解(foreach的精髓)
    关于备忘录模式的个人理解
    设计模式之备忘录模式详解(都市异能版)
    关于桥接模式的个人理解
    桥接模式详解(都市异能版)
    设计模式之 中介者模式
    关于命令模式个人的理解 撤销 重做的实现
    剑指offer 连续子数组的最大和
    剑指offer 删除链表中重复的结点
  • 原文地址:https://www.cnblogs.com/wicher/p/10946391.html
Copyright © 2020-2023  润新知