广域网协议封装实验报告

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

网络实验资源库实验报告

实验编号:

NE 24

实验名称:

广域网协议的封装

所属课程:

网络工程

知识类别:

路由选择

难度系数:

1级【容易】

实验来源:

锐捷公司

关键词:

HDLC封装PPP封装

所属TCP/IP层次:

网络层

实验目的:

掌握广域网协议的封装类型和封装方法

背景描述:

你是公司的网络管理员,两个分公司之间希望能够申请一条广域网专线进行连接。公司现有锐捷路由器两台,希望你了解该设备的广域网接口所支持的协议,以确定选择哪一种广域网链路。

预备知识:

路由器基本配置知识、广域网知识

实验设备:

路由器2台

实验拓扑:

实验原理:

常见广域网专线技术有,DDN专线、PSTN/ISDN专线、帧中继专线、X.25专线等。数据链路层提供各种专线技术的协议,主要有PPP、HDLC、X.25、Frame-relay以及ATM 等。

实验步骤:

第一步:路由器基本配置

Router A(config)#interface serial 4/0

Router A(config-if)#ip address 172.16.2.1 255.255.255.0

Router B(config)#interface serial 4/0

Router B(config-if)#ip address 172.16.2.2 255.255.255.0

路由器B配置如下:(路由器A配置见图二)

图一

第二步:封装HDLC

Router A(config)#interface serial 4/0

Router A (config-if)#encapsulation hdlc

Router B(config)#interface serial 4/0

Router B(config-if)#encapsulation hdlc

验证广域网接口的封装类型:

Router A#show interfaces serial 4/0

Index(dec):1 (hex):1

serial 4/0 is UP , line protocol is UP

Hardware is Infineon DSCC4 PEB20534 H-10 serial

Interface address is: 172.16.2.2/24

MTU 1500 bytes, BW 2000 Kbit

Encapsulation protocol is HDLC, loopback not set

Keepalive interval is 10 sec , set

Carrier delay is 2 sec

RXload is 1 ,Txload is 1

Queueing strategy: WFQ

11421118 carrier transitions

V35 DTE cable

DCD=up DSR=up DTR=up RTS=up CTS=up

5 minutes input rate 17 bits/sec, 0 packets/sec

5 minutes output rate 17 bits/sec, 0 packets/sec

57 packets input, 1664 bytes, 0 no buffer, 0 dropped

Received 52 broadcasts, 0 runts, 0 giants

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort

68 packets output, 2726 bytes, 0 underruns , 0 dropped

0 output errors, 0 collisions, 0 interface resets

注意:锐捷路由器广域网接口默认封装的就是HDLC。

HDLC封装结果如下:

serial 4/0 is UP , line protocol is UP 状态为UP

V35 DCE cable 接口为DCE

第三步:封装PPP

Router A#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router A (config)#interface serial 4/0

Router A (config-if)#encapsulation ppp

Router B#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router B (config)#interface serial 4/0

Router B (config-if)#encapsulation ppp

验证广域网接口的封装类型:

Router A#show interfaces serial 4/0

Index(dec):1 (hex):1

serial 4/0 is UP , line protocol is UP

Hardware is Infineon DSCC4 PEB20534 H-10 serial

Interface address is: 172.16.2.1/24

MTU 1500 bytes, BW 2000 Kbit

Encapsulation protocol is PPP, loopback not set

Keepalive interval is 10 sec , set

Carrier delay is 2 sec

RXload is 1 ,Txload is 1

LCP Open

Open: ipcp

Queueing strategy: WFQ

11421118 carrier transitions

V35 DCE cable

DCD=up DSR=up DTR=up RTS=up CTS=up

5 minutes input rate 30 bits/sec, 0 packets/sec

5 minutes output rate 19 bits/sec, 0 packets/sec

123 packets input, 3638 bytes, 0 no buffer, 28 dropped

Received 68 broadcasts, 0 runts, 0 giants

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort

89 packets output, 2312 bytes, 0 underruns , 0 dropped

0 output errors, 0 collisions, 7 interface resets

PPP封装结果如下:

serial 4/0 is UP , line protocol is DOWN 接口状态分别为UP、DOWN V35 DCE cable 接口为DCE

相关文档
最新文档