linux dhcp 抓包分析,wireshark DHCP DNS 抓包分析.docx

wireshark DHCP DNS 抓包分析

Using WireShark for DHCP capture and DNS captur 09B04 The configuration of the WireSharkThe WireShark interface in Linux is as above. The capture is done in the lab, in an café house as well as in the dorm. The connection to cafe is wireless connection, in the lab the laptop is allocated to a public IP address and in dorm, where it is wired connection, the laptop is allocated to a private IP address, while the router’s IP is .While with wired connection, the interface selected is eth0,with wireless connection, the interface selected is eth 2. When capturing DHCP packet, the configuration of capture is as follows:When capturing DNS message, the configuration is as follows:The procedure of captureClick on the third button to While capturing, click the thirdstart capture. button to stop.DHCP analysisAfter input and in cmd ,, Release the link and rebuild the link using DHCP protocol.The five messages that the Wireshark packed are release, discover, offer, request and ACK. It can be inferred from the picture above that the source port number is 68 and the destination port number is 67. And the destination is a DHCP server as well as a router. The server’s IP address is (which is a private IP address used by a router) and the host’s IP address is 00(which is also a private IP address).Discover messageThe client broadcasts messages on the physical subnet to discover available DHCP servers. Network administrators can configure a local router to forward DHCP packets to a DHCP server from a different subnet. This client-implementation creates a User Datagram Protocol (UDP) packet with the broadcast destination of 55 or the specific subnet broadcast address.fieldvaluemeaningMessage type01from host to serverTransaction IDan integerFor client to match responseClient IP addressOnly field if the client is BOUND, REVEW, or REBIND, so it’s all 0.Your IP addressThe client is waiting to be assigned for an IP address, so this is all 0.Next serv

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值