实验二:帧中继配置实验-20091011-0-xb
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
实验二:帧中继配置
⏹实验目的
1、掌握帧中继基本概念、DLCI含义、LMI作用、静态和动态映射区别
2、掌握帧中继基本配置:如接口封装、DLCI配置、LMI配置等
3、能够对帧中继进行基本故障排除
⏹实验要求
1、帧中继拓扑与地址规划;
2、帧中继基本配置和帧中继网云配置(如帧中继交换表配置)
3、ospf配置
4、验证帧中继配置并给出配置清单
⏹实验拓扑(可选)
⏹实验设备(环境、软件)
本部分主要是阐述本实验用的实验设备、软件及其数量和要求。
⏹实验设计到的基本概念和理论
帧中继用途:是一种用于连接计算机系统的面向分组的通信方法。它主要用在公共或专用网上的局域网互联以及广域网连接。大多数公共电信局都提供帧中继服务,把它作为建立高性能的虚拟广域连接的一种途径。帧中继是进入带宽范围从56Kbps到1.544Mbps 的广域分组交换网的用户接口。帧中继概念;一种用于统计复用分组交换数据通信的接口协议,分组长度可变,传输速度为2.408Mb/s或更高,没有流量控制也没有纠错。DLCI 含义:帧中继地址映射用到的数据链路控制标识符。LMI作用:本地管理状态用于管理DT设备与DCE设备之间的连接状态。
实验过程和主要步骤
1、绘制网络拓扑和地址规划情况
2、单个路由器的基本配置清单
路由器R0配置
Router(config)#hostname A
A(config)#interface Serial2/0
A(config-if)#ip address 192.168.1.1 255.255.255.0
A(config-if)#encapsulation frame-relay
A(config-if)#bandwidth 64
A(config-if)#frame-relay map ip 192.168.1.3 103 broadcast
A(config-if)#frame-relay lmi-type ansi
在网云相应该端口上修改成同种lmi类型
A(config)#int loopback 0
A(config-if)#ip address 172.16.1.1 255.255.255.0
3、单个路由器帧中继基本配置清单:如封装、ip、dlci、lmi
B路由器基本配置清单:
基本配置及封装:
Router>enable
Router#configure terminal
Router(config)#hostname B
B(config)#interface Serial2/0
B(config-if)#ip address 192.168.1.2 255.255.255.0
B(config-if)#encapsulation frame-relay
B(config-if)#bandwidth 64
Dlci:R2—>R1的dlci为201,R2—>R3的dlci为203
B(config-if)#frame-relay map ip 192.168.1.3 203 broadcast
B(config-if)#frame-relay map ip 192.168.1.1 201 broadcast
Lmi类型为q933a,相应网云端口也要改成q933a类型;
B(config-if)#frame-relay lmi-type q933a
4、网云交换表配置
5、验证三个路由器通信情况
A#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: !!!!!
A#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: !!!!!
C#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!!
C#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: !!!!!、
B#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!!
B#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: !!!!!
6、在各个路由器上配置ospf
A(config)#router ospf 1
A(config-router)#network 192.168.1.0 0.0.0.255 area 0
A(config-router)#network 172.16.1.0 0.0.0.255 area 0
A(config)#int s2/0
A(config-if)#ip ospf network broadcast
7、验证配置情况
C#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - 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 - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/32 is subnetted, 1 subnets
O 172.16.1.1 [110/1563] via 192.168.1.1, 00:06:10, Serial2/0
C 192.168.1.0/24 is directly connected, Serial2/0
C 202.196.32.0/24 is directly connected, Loopback0
C 172.16.1.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Serial2/0
202.196.32.0/32 is subnetted, 1 subnets
O 202.196.32.1 [110/1563] via 192.168.1.3, 00:00:21, Serial2/0
心得体会
知道了帧中继的概念,学会了配置帧中继以及网云的相应配置,对帧中继也有了系统的了解。