1
0
mirror of https://github.com/Didnelpsun/CS408.git synced 2026-02-07 04:44:02 +08:00
Files
CS408/Computer-Network/application-layer.md
2021-04-13 19:31:50 +08:00

16 lines
504 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 应用层
## DHCP协议
动态主机配置协议用于动态分配IP地址、子网掩码与默认网关等使用客户/服务器方式客户端与服务端通过广播方式进行交互基于UDP协议。
提供即插即用机制,允许地址重用、移动用户加入网络、在用地址续租。
工作流程:
1. 主机广播HDCP发现报文。
2. DHCP服务器广播DHCP提供报文。
3. 主机广播DHCP请求报文。
4. DHCP服务器广播DHCP确认报文。