>> I'm capturing with a display filter of DNS and I'm goingto go to the RIT website, www.rit.edu.
>>,我用DNS的显示过滤器捕获我要去RIT网站,www.rit.edu。
We can see the query sent by my client browserThe DNS query looking for the IPV4 address of www.rit.edu is encapsulated insideof a UDP datagram, which is encapsulated inside of an IP packet,which is encapsulated inside of an Ethernet frame.
我们可以看到我的客户端浏览器发送的查询DNS查询寻找www.rit.edu的IPV4地址被封装在UDP数据报中,UDP数据报被封装在IP包中,IP包被封装在以太网帧中。
The response coming back from my DNS server gives me information through a CNAME recordthat www turns out to be an alias for the name of the machine which is web0 1www01and its IP address is 129.21.1.40.
从DNS服务器返回的响应通过CNAME记录向我提供信息,结果www是机器名称的别名,该机器是web0 1www01,其IP地址是129.21.1.40。
>> Let's see how DHCP looks in Wireshark.
>>让我们看看Wireshark中DHCP的样子。
I've started a capture with a display feature of boot p.
我已经开始使用boot p的显示特性进行捕获。
The protocol that DHCP was modeled after.
DHCP所模仿的协议。
And now I'm going to release my IP address.
现在我要释放我的IP地址。
We can see that the DHCP release message in Wireshark.
我们可以在Wireshark中看到DHCP发布消息。
Let's see the DORA process.
让我们看看DORA流程。
And there it is.
就是这样。
Discover, offer, request, ACK.
发现,提供,请求,应答。
The discover is sent by the client looking for a DHCP servers.
这个发现是由寻找DHCP服务器的客户端发送的。
And here an offer comes in offering the client 192.168.1.101which will be bound to the client's Mac address.
这里有一个offer提供给客户192.168.1.101,它将绑定到客户的Mac地址。
In addition, the server is coming back with other parameters.
此外,服务器将带着其他参数返回。
The DHCP servers IP address and the lease time, the subnet mask, the default gatewayas well as DNS server IP addresses.
DHCP服务器的IP地址和租期、子网掩码、默认网关以及DNS服务器的IP地址。
The client sends the request.
客户端发送请求。
And the server says ACK.
服务器说ACK。
You want it?
你想要的吗?
You got it.
你明白了。
转载于:https://www.cnblogs.com/sec875/articles/10015886.html
相关资源:JAVA上百实例源码以及开源项目