欢迎来到天天文库
浏览记录
ID:47843732
大小:60.50 KB
页数:3页
时间:2019-11-25
《实验利用wireshark对IP协议分析》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验皿协议分析一、实验目的理解IP协议报文类型和格式,掌握IPV4地址的编址方法。1、使用DHCP获取IP地址(1)打开命令窗口,启动Wiresharko(2)输入“ipconfig/release”。这条命令会释放主机冃前的IP地址,此时,主机IP地址会变为0.0.0.0(3)然后输入“ipconfig/renew"命令。这条命令让主机获得一个网络配置,包括新的IP地址。(4)等待,玄到“ipconfig/renew”终止。然后再次输入“ipconfig/renew”命令。(5)当第二个命令“
2、ipconfig/renew"终止时,输入命令"ipconfig/release”释放原來的己经分配的IP地址C:DocumentsandSettingsAdministrator>ipconfig/releaseUindowsIPConfigurationEthernetadapter本地连接:Connection-specificDNSSuffix.:IPAddress:0.0.0.0SubnetMask:0.0.0.0DefaultGateway:C:DocumentsandSett
3、ingsAdministrator>ipconfig/renewUindowsIPConfigurationEthernetadapter本地连接:Connection-specificDNSSuffix.:IPAddress:192・168・1・100SubnetMask:255.255.255.0DefaultGateway:192.168.1.1C:DocunentsandSettingsrtdninistrator>ipcon£igZreleaseWindowsIPConfigur
4、ationEthernetadapter本地连接:Connection-specificDNSStiffix■IPAddress0.0.0.0SubnetMask0.0.0.0DefaultGateway2621.34909S0.0.0.0255.255.255.255BroadcastDHCPAAP348DHCPDiscover・60咒hohas192.168192.168.1.100DHCP590DHCPOffer-255.255.255.255DHCP373DHCPRequest・192.
5、168.1.100DHCP590DHCPACK・BroadcastARP42GratuitousarpBroadcastARP42GratuitousarpTransactionID0xc2bc0a40Transactionxo0xc2bc0a40.1.100?Tell192.168.1.1TransactionID0xc2bc0a402320.8616880.0.0.02420.862256Tp-LinkT.37:09:6621.348674192.168.1.1Transactlon^^0x
6、c2bc0a40for192.168.1.100(Request)for192.168.1.100(Request)±France26:373bytesonwire(2984bits),373bytescaptured(2984bits)±EthernetII9Src:Giga-Byt.7S:2e:86(90:2b:34:75:2e:86),Dst:Broadcast(ff:ff:ff:ff:ff:ff)internetProtocolversion4Vsrc:0.0.0.0(0.0.0.0),
7、Dst:255・255・255・255(255.255.255.255)version:4Headerlength:20bytesaDifferentiatedservicesField:0x00(DSCP0x00:Default;ECN:0x00:Not-ECT(NotECN-capableTransport))TotalLength:359Identlfication:0x0eb3(3763)aPlags:0x000■Reservedbit:Notset•0■Don*tfragment:No
8、tset..0■Morefragments:NotsetFragmentoffset:0Timetolive:64Protocol:UDP(17)二Headerchecksum:0x6ad4[correct](Good:True][Bad:False]Source:0.0.0.0(0.0.0.0)Destination:255.255.255.255(255.255.255.255)uuserDatagramprotocol,srcPort:bootpc(68),DstPort:bootps(6
此文档下载收益归作者所有