帧中继(Frame Relay)实验
本實驗還是在Cisco?Packet?Tracer里練習(xí):
1.實驗環(huán)境的搭建:
三臺2811路由器,都加上HWIC-2T板卡,然后與Cloud0串口相連,如下圖
2.Cloud0?DLCI及LMI配置
Router1上配置串口s0/3/0
Router>en
Router#conf?t
Enter?configuration?commands,?one?per?line.??End?with?CNTL/Z.
Router(config)#int?s?0/3/0
Router(config-if)#ip?add?192.168.1.1?255.255.255.0
Router(config-if)#encapsulation?frame-relay
Router(config-if)#frame-relay?lmi-type?ansi
Router(config-if)#?frame-relay?map?ip?192.168.1.2?102?broadcast
Router(config-if)#?frame-relay?map?ip?192.168.1.3?103?broadcast
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I:?Configured?from?console?by?console
write
Building?configuration...
[OK]
Router#Router2上配置串口S0/3/0
Router>en
Router#conf?t
Enter?configuration?commands,?one?per?line.??End?with?CNTL/Z.
Router(config)#int?s?0/3/0
Router(config-if)#ip?add?192.168.1.2?255.255.255.0
Router(config-if)#encapsulation?frame-relay
Router(config-if)#frame-relay?lmi-type??
??ansi???
??cisco??
??q933a??
Router(config-if)#frame-relay?lmi-type?q933a
Router(config-if)#frame-relay?map?ip?192.168.1.1?201?broadcast
Router(config-if)#frame-relay?map?ip?192.168.1.3?203?broadcast
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I:?Configured?from?console?by?console
write
Building?configuration...
[OK]Router3上配置串口S0/3/0
Router>en
Router#conf?t
Enter?configuration?commands,?one?per?line.??End?with?CNTL/Z.
Router(config)#int?s?0/3/0
Router(config-if)#ip?add?192.168.1.3?255.255.255.0
Router(config-if)#encapsulation?frame-relay
Router(config-if)#frame-relay?lmi-type?cisco
Router(config-if)#frame-relay?map?ip?192.168.1.1?301?broadcast
Router(config-if)#frame-relay?map?ip?192.168.1.2?302?broadcast
Router(config-if)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I:?Configured?from?console?by?consoleRouter#
?打開3臺路由器的s?0/3/0,?即分別進入3個串口,去no?shutdown。三臺路由器的命令都如下:
Router>en
Router#conf?t
Enter?configuration?commands,?one?per?line.??End?with?CNTL/Z.
Router(config)#int?s?0/3/0
Router(config-if)#no?shRouter(config-if)#
%LINK-5-CHANGED:?Interface?Serial0/3/0,?changed?state?to?up%LINEPROTO-5-UPDOWN:?Line?protocol?on?Interface?Serial0/3/0,?changed?state?to?up
exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I:?Configured?from?console?by?console
wr
Building?configuration...
[OK]檢驗
?
Router>en
Router#ping?192.168.1.2Type?escape?sequence?to?abort.
Sending?5,?100-byte?ICMP?Echos?to?192.168.1.2,?timeout?is?2?seconds:
!!!!!
Success?rate?is?100?percent?(5/5),?round-trip?min/avg/max?=?2/17/51?msRouter#ping?192.168.1.3
Type?escape?sequence?to?abort.
Sending?5,?100-byte?ICMP?Echos?to?192.168.1.3,?timeout?is?2?seconds:
!!!!!
Success?rate?is?100?percent?(5/5),?round-trip?min/avg/max?=?2/13/32?msRouter#
?
以下內(nèi)容參考自:http://blog.chinaunix.net/uid-23365147-id-2427246.html
?
關(guān)于幀中繼(frame-relay)的討論,
FR全名為frame-relay(幀中繼)
幀中繼在X.25分組交換技術(shù)的基礎(chǔ)上發(fā)展起來的一種快速分組交換技術(shù),是改進的X.25的協(xié)議。幀中繼是基于虛電路的,是面向連接的服務(wù)。
幀中繼的特點:
幀中繼協(xié)議以幀的形式轉(zhuǎn)遞數(shù)據(jù)信息。
幀中繼傳送數(shù)據(jù)使用的傳輸鏈路是邏輯連接,而不是物理連接。
采用物理層和鏈路層的兩級結(jié)構(gòu)。
在鏈路層完成統(tǒng)計復(fù)用,幀透明傳輸和錯誤檢測,但不提供發(fā)現(xiàn)錯誤后的重傳操作。
提供一套合理的帶寬管理和防止擁塞的機制。
幀中繼采用面向連接的交換技術(shù)。
幀中繼的術(shù)語:
VC(virtual?circuits)
虛鏈路(兩臺DTE設(shè)備之間通過幀中繼網(wǎng)絡(luò)實現(xiàn)的連接叫做虛鏈路)
PVC?永久虛鏈路(permanent?virtual?circuits)
SVC?交換虛鏈路(switched?virtual?circuits)
DLCI號(data?link?connection?identifier)
數(shù)據(jù)鏈路標識符(通常是由幀中繼服務(wù)提供商分配)
幀中繼的PVC使用DLCI號來標示DTE設(shè)備。
幀中繼DLCI僅具有本地意義。
DLCI號的范圍
0---1023
DLCI號的0---15和1008---1023留作特殊用途,
服務(wù)提供商分配的DLCI范圍通常為16---1007。
LMI(local?management?interface)
本地管理接口
是客戶前端設(shè)備和幀中繼交換機之間的信令標準,負責管理設(shè)備之間的連接,維護設(shè)備之間的連接狀態(tài)。
Cisco路由器支持以下三種LMI類型:
Cisco
Ansi?
Q933a
默認cisco設(shè)備使用的cisco。(ansi和q933a是公有的)
?
逆向ARP?(Inverse?ARP)
逆向地址解析協(xié)議
Inverse?ARP的主要功能是求解每條虛電路連接的對端設(shè)備的協(xié)議地址(包括IP和IPX地址等)。如果知道了每條虛鏈路連接的對端設(shè)備協(xié)議地址,在本地就可以生成對端協(xié)議地址和本地DLCI的映射(MAP),從而避免手工配置地址映射。
?
?
?
轉(zhuǎn)載于:https://blog.51cto.com/simonxu/1386209
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的帧中继(Frame Relay)实验的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 小米13系列本周MWC 2023发布!卢
- 下一篇: 成立仅8个月的个人网站,月收入几十万美金