Frame Relay - 简单介绍及基本配置
Frame Relay如今越来越不流行了,只是在过去的设计中被广泛应用。
所以工作上还是能常常见到的, 这篇博文从二层简单总结下FR的一些概念
在介绍Frame Relay之前,先了解下广播介质和非广播介质的差别:
Broadcast Media (广播介质): Ethernet 、 Token-Ring、FDDI
特点:
- 源能够同一时候向全部连接(二层)目的地址通话
- 简化了三层到二层的解析
Non-Broadcast Multi Access (NBMA): Frame Relay、ISDN、ATM etc。
特点:
- 源不能同一时候和二层相连的全部目的地址通话
- 三层的广播通过二层反复的单播实现 (pseudo-broadcast)
========三层到二层的地址解析对照=======
广播介质的三层地址解析:远程二层MAC地址和远程三层地址绑定
- IPv4 Adress Resolution Protocol ( ARP)
- 广播请求 - 谁知道1.1.1.1的MAC地址
- 单播回复 - 我的MAC是abcd.abcd.abcd
广播介质的三层地址解析:远程或本地的二层MAC地址和远程三层地址绑定
- 本地FR DLCI和远程IPv4地址绑定
- 远端ISDN电话和原电IPX地址绑定
- 反向ARP用解析远程三层地址到本地二层地址
- 仅仅有直接相连的设备能够进行解析
NBMA port类型:
多点接口 - 可连接多个二层链路 & 须要三层到二层的解析 (FR & ATM main interface)
单点接口 - 连接一个二层链路 & 不须要三层到二层解析 (PPP link, FR p2p subinterface)
======================================
1. FR 简单介绍
应用了NBMA - 也就意味着潜在存在三层到二层解析问题
DLCI - Data link Connection Identifier (数字链路识别码)
- 二层寻址
- DLCI本地有效
LMI - Local Management Interface
- DTE or DCE 通讯
- 汇报虚拟链路的状态
- 动态解析通过反向ARP请求 (inverse ARP)
- 静态解析通过命令frame-relay map
- 反向APR请求发送能够disable - no frame-relay inverse arp [protocol] [dlci]
- 回复不能被disable (这是个潜在的问题)
- frame-relay map [protocol] [address] dlci [broadcast]
- 和静态ARP的逻辑一样
- 侦測封装
- 通过DLCI学习LMI
- 给全部DLCIs发送BOOTP
- 假设请求失败了,会自己主动配置0.0.0.0 mapping
- 这可能破坏之后的路由配置
- 解决方法就是save config and reload
An interface is by default a "multipoint" interface so, frame-relay inverse-arp is on (for point-to-point, there is no Inverse ARP). IP split horizon checking is disabled by default for Frame Relay encapsulation, so routing updates come in and out the same interface. The routers learn the data-link connection identifiers (DLCIs) they need to use from the Frame Relay switch via LMI updates. The routers then Inverse ARP for the remote IP address and create a mapping of local DLCIs and their associated remote IP addresses.
Spicey |
---|
Spicey#show running-config Building configuration...Current configuration : 1705 bytes ! version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Spicey ! ! ! interface Ethernet0ip address 124.124.124.1 255.255.255.0 ! interface Serial0ip address 3.1.3.1 255.255.255.0encapsulation frame-relayframe-relay interface-dlci 140 ! ! router ripnetwork 3.0.0.0network 124.0.0.0 ! line con 0exec-timeout 0 0transport input none line aux 0 line vty 0 4login ! end |
Prasit |
---|
Prasit#show running-config Building configuration... Current configuration : 1499 bytes ! version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Prasit ! ! ! interface Ethernet0ip address 123.123.123.1 255.255.255.0 ! ! interface Serial1ip address 3.1.3.2 255.255.255.0encapsulation frame-relayframe-relay interface-dlci 150 ! ! router ripnetwork 3.0.0.0network 123.0.0.0 ! ! ! line con 0exec-timeout 0 0transport input none line aux 0 line vty 0 4login ! end |
验证
show frame-relay map
show frame-relay pvc
show frame-relay lmi
ping <device name>
show ip route
Spicey#show frame-relay map Serial0 (up): ip 3.1.3.2 dlci 140(0x8C,0x20C0), dynamic,broadcast,, status defined, activeSpicey#show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE)Active Inactive Deleted StaticLocal 1 0 0 0Switched 0 0 0 0Unused 0 0 0 0DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0input pkts 83 output pkts 87 in bytes 8144 out bytes 8408 dropped pkts 0 in FECN pkts0 in BECN pkts 0 out FECN pkts 0 out BECN pkts0 in DE pkts 0 out DE pkts 0 out bcast pkts 41 out bcast bytes 3652 pvc create time 01:31:50, last time pvc status changed 01:28:28 Spicey#show frame-relay lmi LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCOInvalid Unnumbered info 0 Invalid Prot Disc 0Invalid dummy Call Ref 0 Invalid Msg Type 0Invalid Status Message 0 Invalid Lock Shift 0Invalid Information ID 0 Invalid Report IE Len 0Invalid Report Request 0 Invalid Keep IE Len 0Num Status Enq. Sent 550 Num Status msgs Rcvd 552Num Update Status Rcvd 0 Num Status Timeouts 0 Spicey#ping 123.123.123.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 ms Spicey#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not set3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial0124.0.0.0/24 is subnetted, 1 subnets C 124.124.124.0 is directly connected, Ethernet0 R 123.0.0.0/8 [120/1] via 3.1.3.2, 00:00:08, Serial0
Prasit#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 150(0x96,0x2460), dynamic,broadcast,, status defined, activePrasit#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE)Active Inactive Deleted StaticLocal 1 0 0 0Switched 0 0 0 0Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1input pkts 87 output pkts 83 in bytes 8408 out bytes 8144 dropped pkts 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0 out DE pkts 0 out bcast pkts 38 out bcast bytes 3464 pvc create time 01:34:29, last time pvc status changed 01:28:05Prasit#show frame-relay lmi LMI Statistics for interface Serial1 (Frame Relay DTE) LMI TYPE = CISCOInvalid Unnumbered info 0 Invalid Prot Disc 0Invalid dummy Call Ref 0 Invalid Msg Type 0Invalid Status Message 0 Invalid Lock Shift 0Invalid Information ID 0 Invalid Report IE Len 0Invalid Report Request 0 Invalid Keep IE Len 0Num Status Enq. Sent 569 Num Status msgs Rcvd 570Num Update Status Rcvd 0 Num Status Timeouts 0Prasit#ping 124.124.124.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms Prasit#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static route Gateway of last resort is not set3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial1 R 124.0.0.0/8 [120/1] via 3.1.3.1, 00:00:19, Serial1123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0
Comprehensive Guide to Configuring and Troubleshooting Frame Relay
Frame Relay - 简单介绍及基本配置相关推荐
- HCNA——RIP简单介绍及基本配置
HCNA--RIP简单介绍及基本配置 路由信息协议RIP 路由信息协议RIP(Routing Information Protocol)的简称,它是一种基于距离矢量(Distance-Vector)算 ...
- Spacevim简单介绍及个人配置总结
Spacevim简单介绍及个人配置总结 文章目录 Spacevim简单介绍及个人配置总结 1. 前言 2. Spacevim开源地址和入门指南 3. 个人简单的配置总结 1. 修改配置的位置 2. 去 ...
- stm32 GPIO简单介绍及初始化配置(库函数)
前言: 相信,大部分查找GPIO的人,都是刚刚接触STM32的人,而刚接触STM32的人,大部分是从51上来的人,所以我会由浅入深,从51和STM32的区别入手,通过对比这两个处理器的配置方法,来跟大 ...
- Yarn简单介绍及内存配置
在这篇博客中,主要介绍了Yarn对MRv1的改进,以及Yarn简单的内存配置和Yarn的资源抽象container. 我么知道MRv1存在的主要问题是:在运行时,JobTracker既负责资源管理又负 ...
- Packet Tracer 5.0建构CCNA实验攻略——帧中继Frame Relay
Packet Tracer 5.0是一款非常不错的Cisco(思科)网络设备模拟器,对于想考思科初级认证(如CCNA)的朋友们来说,Packet Tracer 5.0是非常不错的选择.通常我们周围并没 ...
- CCNA课堂练习二:路由协议EIGRP简单介绍与配置
EIGRP协议是Cisco的私有路由协议,它综合了距离矢量和链路状态2者的优点.它的英文全称是"Enhanced Interior Gateway Routing Protocol" ...
- JSTL 及 tablibs 的简单介绍和配置方法
JSTL 及 tablibs 的简单介绍和配置方法 jstl 简介 jstl 的全称就是jsp standard tag libraries, 就是jsp里的标准标签库. 引用jstl技术能在jsp种 ...
- PPP Over Frame Relay配置
PPP Over Frame Relay配置 实验要求: 将R1,R2,R3 配置为帧中继网络,R2 模拟为帧中继交换机,要求实现R1 与R3 之间能互相通信且使 用PPP的CHAP 加密认证.将R1 ...
- Apollo架构体系、Apollo运行原理、Apollo配置中心简单介绍(一)
笔者在工作中遇到如下问题,随着程序功能越多,配置文件不断增加,一些功能的开关.服务器地址.接口地址.不同环境的一些配置文件不同,这些在每次发布不同环境.更新项目时都比较繁琐,后来学习微服务时接触到了S ...
- Spring boot自定义拦截器和拦截器重定向配置简单介绍~!
大家好: 本文简单介绍一下用于权限控制的Spring boot拦截器配置,拦截器重定向问题. 开发工具:jdk1.8 idea2017(付费版,网上找的破解教程) 1,首先使用idea创建一个Sp ...
最新文章
- C++接收字符串数组_C++模拟面试:从数组“紧凑”操作说开来
- 分布式框架-日志系统思路及实现
- idea 内存溢出解决方法
- Windows SDK笔记(三):定制控件消息处理函数
- 数据结构之并查集:UF-Tree优化并查集——19
- opencv基于DNN的人脸检测
- 解决idea的html代码中使用es6语法报错的问题
- Halcon自定义直线卡尺rake
- setTimeout和setInteval
- mysql水平union_mysql_union操作符
- CC2530 实现无线串口
- 计算机保研个人简介,保研个人简历模板
- 腾讯bugly热更新开发
- 公众号淘客怎么运营推广,找到适合自己的的推广方法才有效
- What is base..ctor(); in C#?
- linux的dep文件是什么意思,DEP 文件扩展名: 它是什么以及如何打开它?
- H5页面唤醒支付宝 APP指定页面
- 高德地图定位demo
- Google Earth Engine APP(GEE)——利物浦大学免费下载影像的软件Google Earth Engine Digitisation Tool (GEEDiT)
- iOS开发系列课程(10) --- 表格视图