实验一链路层网络层综合实验.docx
《实验一链路层网络层综合实验.docx》由会员分享,可在线阅读,更多相关《实验一链路层网络层综合实验.docx(15页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、实验一链路层网络层综合实验关于在线实验报告的填写,可以采取截屏、截图等方式以提高效率(如MAC地址、IP地址),但需要个人独立完成,不要抄袭。请提交到课程中心。命名方式:上课时间段学号姓名1 .请利用display current-configuration命令,写出你所在组的路由器R1和R2中以太口(E0/0、E0/1)和串口 (S0/0)所对应的实际接口 (如GEO/O、S4/0-)编号。a & * arvzqv/wjl WP林ttinterface Ethernet。/1 port link-mode routeinterface Seriall/0 link-protocol pppH
2、interface Serial2/0 link-protocol pppIinterface NULL0interface Ethernet0/2 port link-mode bridgeHinterface Ethernet0/3.请写出将路由器或交换机某一接口关闭并重新开启的命令RIHnter e0/0Rl-Ethernet0/0shutdownRl-Ethernet0/0%Mar 12 15:19:06:064 N.%Mar 12 15:19:06:065 rface Ethernet0/0 is Rl-Ethernet0/01undo Rl-Ethernet0/0%Mar 12 1
3、5:19:17:7752020 RI IFNET/3/LINK_UPD0WN: Ethernet。/。 link status is DOW2020 RI IFNET/5/LINEPR0T0_UPD0WN: Line protocol on the inte DOWN.shutdown2020 RI IFNET/3/LINK_UPD0WN: Ethernet。/。 link status is UP.%Mar 12 15:19:17:775 rface Ethernet0/0 is Rl-Ethernet0/02020 RI IFNET/5/LINEPR0T0_UPD0WN: Line pro
4、tocol on the inte UP.2 .在PCA上启动Wireshark软件截获报文,启动“连线组网软件”,点击“主机联网”并 确认(如下图所示),将pea网络连接的IP地址设置为自动获取。然后,访问FTP服务 器(ftp:/10.lll.1.29);从Wireshark截获的报文中任意选一个ftp报文,并进行分析, 填写下表:文件9 编辑 查看9 呼叫 传送任)帮助国)口 )为 iiiD 台 CffPPP Event:liSeriall/0 LCP RTR(Receive Terminate Request) Event State opened*Jan 1 01:46:59:647
5、 2011 RI PPP/7/FSM_STATE_0: PPP State Change:Seriall/0 LCP: opened stopping*Jan 1 01:46:59:648 2011 RI PPP/7/FSM_PACKET_0: ppp Packet:Seriali/0 Output LCP(c021) Packet, PktLen 8Current State stopping, code TermAck(06), id 2c, len 4*Jan 1 01:46:59:650 2011 RI PPP/7/FSM_EVENT_0: PPP Event:Seriall/0 IP
6、CP Lower Down EventState opened*Jan 1 01:46:59:650 2011 RI PPP/7/FSM_STATE_0: PPP State Change:Seriall/0 IPCP: opened starting*Jan 1 01:46:59:655 2011 RI PPP/7/FSM_EVENT_0: PPP Event:Seriall/0 IPCP Close EventState starting*Jan 1 01:46:59:656 2011 RI PPP/7/FSM_STATE_0: PPP State Change:Seriall/0 IPC
7、P: starting - initial%Jan 1 01:47:01:344 2011 RI IFNET/3/PHV_UPD0WN: Physical state on the interface Seriall/0 changed to down.一己连接0:34:41自动检测 9600 8-N-lNUMRTR (Receive Terminate12.根据debug显示信息,画出PPP协议PAP验证过程的状态转移图。文件电)编辑d)查看9 呼叫 传送复)帮助国)口区有因出B囱PPP Event:Seriall/0 PAP Server Lower Up EventState Initi
8、al*Jan 1 02:39:12:456 2011 RI PPP/7/PfiP_STRTE_0:PPP State Change:Seriall/0 PfiP: Initial - ServerListen*Jan 1 02:39:12:456 2011 RI PPP/7/PfiP_PRCKET_0: ppp Packet,Seriall/0 Input PAP(c023) Packet, PktLen 16State ServerListen, code Request(01), id 1, Len 12Host Len: 3 Name:RTBPwd Len * * Pwd *Jan 1
9、02:39:12:456 2011 RI 叩P/7/PAP_EVENT_0:PPP Event:Seriall/0 PAP Receive Request EventState ServerListen*Jan 1 02:39:12:457 2011 RI PPP/7/PAP_STRTE_0:PPP State Change:Seriall/0 PAP: ServerListen WaitAAA*Jan 1 02:39:12:461 2011 RI PPP/7/PAP_EVENT_0: PPP Event:Seriall/0 PfiP Receive Afifi Result EventSta
10、te MaitAAA*Jan 1 02:39:12:461 2011 RI PPP/7/PAP_PfiCKET_0: ppp packet,Seriali/0 Output PAP(c023) Packet, PktLen 36State WaitRAA, code Ack(02), id 1, Len 32Msg Len: 27 Msg :Welcome to use this device.*Jan 1 02:39:12:462 2011 RI PPP/7/PfiP_STfiTE_0: PPP State Change:Seriall/0 PAP: WaitfiAR - ServerSuc
11、cess*Jan 1 02:39:12:463 2011 RI PPP/7/FSM_EVENT_0: nnn r-x .13.根据debug显示信息,画出PPP协议的CHAP验证的状态转移图。(选做)文件9 编辑口查看9 呼叫 传送9 帮助D声缗落续口舌甯*Jan 1 03:03:48:522 2011 RI PPP/7/CHRP_EVENT_0:PPP Event:Seriall/0 CHAP Server Lower Up EventState Initial*Jan 1 03:03:48:522 2011 RI PPP/7/CHAP_PACKET_0: ppp PacketSeriall
12、/0 Output CHAP(c223) Pkt, Len 28State Initial, code Challenge(01), id 1, Len 24ValueSize: 16 Value:cd 7c 55 0d b5 0a de db 08 40 99 44 11 9f be de Name: RTA*Jan 1 03:03:48:522 2011 RI PPP/7/CHAP_STATE_0:PPP State Change:Seriall/0 CHAP: Initial SendChallenge%Jan 1 03:03:48:524 2011 RI IFNET/5/LINK_UP
13、D0WN: Line protocol state on the int erface Seriall/0 changed to up.*Jan 1 03:03:48:534 2011 RI PPP/7/EXTERNAL_EVENT: PPP External Event:Seriall/0 deliver packet to user space success*Jan 1 03:03:48:534 2011 RI PPP/7/CHAP_PRCKET_0: ppp PacketSeriall/0 Input CHAP(c223) Pkt, Len 28State SendChallenge,
14、 code Response(02), id 1, Len 24Value_Size: 16 Value :0c c8 db c9 97 3b f9 15 ad 06 a0 37 6b 58 ac 7c Name: RTB*Jan 1 03:03:48:535 2011 RI PPP/7/CHAP_EVENT_0: PPP Event:*JanPPP*JanPPP*JanPPP*JanPPP*JanPPPSeriall/0 CHAP Receive Response EventState SendChallenge1 03:03:48:535 2011 RI PPP/7/CHAP_STATE_
15、0:State Change:Seriall/0 CHAP: SendChallenge WaitingAAA1 03:03:48:539 2011 RI PPP/7/CHAP_EVENT_0:Event:Seriall/0 CHAP AAA Result EventState WaitingAAA1 03:03:48:540 2011 RI PPP/7/CHAP_STATE_0:State Change:Seriall/0 CHAP: WaitingAAA ServerSuccess1 03:03:48:540 2011 RI 叩P/7/CHAP_PACKET_0:PacketSeriall
16、/0 Output CHAP(c223) Pkt, Len 23State ServerSuccess, code SUCCESS(03), id 1, Len 19 Message: Welcome to RTA.*JanPPP*Jan1 03:03:48:541Event:Seriall/0 IPCPState initial 1 03:03:48:541Event:Seriall/0 IPCPState initial 1 03:03:48:5412011 RI PPP/7/FSM EVENT 0:Close Event2011 RI PPP/7/FSM EVENT 0:Lower Do
17、wn Event2011 RI PPP/7/FSM ERROR 0:已连接1:46:32自动检测 9600 8* *1SCROLLCAPSNUM:久RI -超级集瑞国回区文件编辑查看9呼叫传送Q)帮助QD 口总修园溟口臼窗ServerServer实验6第二节 静态路由和默认路由配置实验14 .在R1上ping各台计算机,看是否能够ping通?通过在R1上查看路由表,分析其原因?Rlldis ip rR1LDestinations : 12Routes:12Destination/MaskProtoPreCostNextHopInterfaceDirect00InLoopODirect00InL
18、oopODirect00InLoopODirect00InLoopODirect00InLoopODirect00GE0/0Direct00GE0/0Direct00InLoopODirect00GE0/0Direct00NULL0Direct00NULL0Direct00InLoopO答:不能。R1会根据各台计算机的IP地址查找路由表,而在找不到路由表项时会使用默认 路由。而默认路由的接口是InLoopO,无法到达各台计算机。15 .配置完静态路由后,R1是否能够ping通各台计算机?请说明这条路由项的含义。Rlldis ip rDestinations : 13 Routes : 13De
19、stination/MaskProtoDirectDirectDirectDirectDirectDirectDirectDirectDirectStaticDirectDirect255255255.255/32DirectRU_0 Av -zoNextHopInterface InLoopO InLoopS InLoopO InLoopO InLoopO GE0/0 GE0/0 InLoopO GE0/0 GE0/0 NULL0 NULL0 InLoopO答:可以。因为四台计算机属于网段,查找路由表后会经由GEO/O接口以 192.168.1.1 作为下一跳。16 .在配置默认路由后,观察
20、R1的路由表,说明和步骤一的路由表有什么不同,R1是否能 够Ping通各台计算机。为什么称之为缺省路由?Riiiprou-07000 0?0?0-0 RUdis ip rDestinations : 13 Routes : 13Dest mat lon/MaskProtoPreStatic60Direct0Direct0Direct0Direct0Direct0Direct0Direct0Direct0Direct0Direct0Direct0255.255.255.255/32 RUDirect0Dest mat lon/MaskProtoPreStatic60Direct0Direct0D
21、irect0Direct0Direct0Direct0Direct0Direct0Direct0Direct0Direct0255.255.255.255/32 RUDirect0Costnu Au Au Au AuInterface GE0/0 InLoop0 InLoopO InLoopS InLoopO InLoopO GE0/0 GE0/0 InLoopO GE0/0 NULL0 NULL0 InLoopO答:和步骤一中 的 NextHop 变为 192.168.1.6,且 Interface 变为 GEO/O。能Ping通。因为所有没有在路由表中找到的地址都会使用缺省路由表项,由GE
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 实验 一链路层 网络 综合
限制150内