




已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机网络实验报告年级:计算机科学与技术一班 姓名:刘佳乐 学号:41212022 实验名称:Wireshark Lab:DHCP实验日期:2014.12.11实验目的:了解动态分配地址的过程实验器材:安装wireshark的可以联网的电脑实验步骤:开启 Windows 命令提示符,输入:ipconfig /release这个命令释放你当前的 IP 地址,因而主机的IP 地址就变成了 0.0.0.0。1.开启 Ethereal Network Analyzer,开始捕捉数据包;2.现在返回 Windows 命令提示符并输入:Ipconfig /renew这将使你的主机去获取一个网络配置(包括一个新的 IP 地址)。3.等待 ipconfig/renew 执行完毕,然后再次输入:ipconfig /renew4.等第二个 ipconfig/renew 执行完毕后输入命令:ipconfig /release来释放之前你计算机被分配到的 IP 地址;5.最后,再次输入:ipconfig /renew以便再次让你的计算机分配到 IP 地址;7. 停止数据包捕获。回答以下问题:1. Are DHCP messages sent over UDP or TCP?答:UDP2. Draw a timing datagram illustrating the sequence of the first four-packetDiscover/Offer/Request/ACK DHCP exchange between the client and server. For each packet, indicated the source and destination port numbers. Are the port numbers the same as in the example given in this lab assignment?答:与上述实验中给出的67,68端口号一致3. What is the link-layer (e.g., Ethernet) address of your host?答:主机链路层的以太网地址是HonHaiPr_67:65:dd (08:ed:b9:67:65:dd)。4. What values in the DHCP discover message differentiate this message from the DHCP request message?答:根据DHCP Message Type的值加以区分。5. What is the value of the Transaction-ID in each of the first four (Discover/Offer/Request/ACK) DHCP messages? What are the values of the Transaction-ID in the second set (Request/ACK) set of DHCP messages? What is the purpose of the Transaction-ID field?答:前四个都是0x372896fd ,第二组Request/ACK DHCP消息中是0xb75f380d,这个字段的目的是为了区分每组DHCP的数据。6. A host uses DHCP to obtain an IP address, among other things. But a hosts IP address is not confirmed until the end of the four-message exchange! If the IP address is not set until the end of the four-message exchange, then what values are used in the IP datagrams in the four-message exchange? For each of the four DHCP messages (Discover/Offer/Request/ACK DHCP), indicate the source and destination IP addresses that are carried in the encapsulating IP datagram.答:客户机一直以0.0.0.0作为自己的原地址,服务器以响应的服务器地址作为自己的原地址。客户机与服务器一直以255.255.255.255最为目的地址。7. What is the IP address of your DHCP server?答:我的DHCP服务器的Ip地址是10.136.0.1。8. What IP address is the DHCP server offering to your host in the DHCP Offer message? Indicate which DHCP message contains the offered DHCP address.答:提供给主机的IP地址是10.136.98.41。9. In the example screenshot in this assignment, there is no relay agent between the host and the DHCP server. What values in the trace indicate the absence of a relay agent? Is there a relay agent in your experiment? If so what is the IP address of the agent?答:中介代理的IP地址是0.0.0.0 10. Explain the purpose of the router and subnet mask lines in the DHCP offer message.答:供DHCP用户在最后收到ACK后启动IP配置时设置掩码和网关。11. In the DHCP trace file noted in footnote 2, the DHCP server offers a specific IP address to the client (see also question 8. above). In the clients response to the first server OFFER message, does the client accept this IP address? Where in the clients RESPONSE is the clients requested address?答:10.136.98.4112. Explain the purpose of the lease time. How long is the lease time in your experiment?答:租用期是DHCP得到IP的有效使用期,当有效期过后,DHCP服务器收回该IP地址。有利于IP地址的充分利用。租用时间从ACK包中获得。租赁时间表明在2 hours时间段内此ip地址不会再分配给其他主机。13. What is the purpose of the DHCP release message? Does the DHCP server issue an acknowledgment of receipt of the clients DHCP request? What would happen if the clients DHCP release message is lost?答:DHCP Release消息的作用是为了释放租用的IP地址;没有收到;服务器会在其租用时间超出后将其IP停用。14. Clear the bootp filter from your Wireshark window. Were any ARP packets sent or recei
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 北京市2025商务部国际经济合作事务局招聘应届毕业生2人笔试历年参考题库附带答案详解
- 黔西南布依族苗族自治州2025贵州黔西南州望谟县事业单位引进高层次人才和急需紧缺人才17人笔试历年参考题库附带答案详解
- 2025重庆发展投资有限公司及所属企业招聘15人笔试参考题库附带答案详解
- 2025江苏无锡市宜兴市诚信人力资源服务有限公司招聘17人笔试参考题库附带答案详解
- 2025年甘肃省张掖市肃南裕固风情走廊旅游景区招聘22人笔试参考题库附带答案详解
- 2025年河北廊坊文安县城市建设发展有限公司招聘工作人员20名笔试参考题库附带答案详解
- 2025年吉林省国华资产管理有限责任公司所属企业吉林省东风化工有限责任公司公开招聘1人笔试参考题库附带答案详解
- 2025山东济清控股集团有限公司招聘24人笔试参考题库附带答案详解
- 2025中材科技(锡林郭勒)风电叶片有限公司招聘32人笔试参考题库附带答案详解
- 危险物资管理安全培训课件
- 2025年高级管工理论试题及答案
- 2025年北京市专业技术人员公需科目培训答案
- 【MOOC】《电路实验》(东南大学)章节中国大学慕课答案
- 食品安全与日常饮食知到章节答案智慧树2023年中国农业大学
- IE七大手法培训教材人机作业图
- GB/T 9766.3-2016轮胎气门嘴试验方法第3部分:卡扣式气门嘴试验方法
- GB/T 22751-2008台球桌
- 《智慧养老》方案ppt
- 村民森林防火承诺书
- Q∕SY 06504.2-2016 炼油化工工程储运设计规范 第2部分:火炬系统
- 植物组织培养论文 月季
评论
0/150
提交评论