网络 DHCP报文解析 DHCP头

 

 

 

0001020304050607080910111213141516171819202122232425262728293031
OpcodeHardware typeHardware address lengthHop count
Transaction ID
Number of secondsFlags
Client IP address
Your IP address
Server IP address
Gateway IP address
Client hardware address :::
Server host name :::
Boot filename :::
Options :::

 

Opcode. 8 bits.

ValueDescription
1BOOTREQUEST, Boot request.
2BOOTREPLY, Boot reply.

 

 

 

Hardware type. 8 bits.

ValueDescriptionReferences
1Ethernet. 
2Experimental Ethernet. 
3Amateur Radio AX.25. 
4Proteon ProNET Token Ring. 
5Chaos. 
6IEEE 802. 
7ARCNET. 
8Hyperchannel. 
9Lanstar. 
10Autonet Short Address. 
11LocalTalk. 
12LocalNet (IBM PCNet or SYTEK LocalNET). 
13Ultra link. 
14SMDS. 
15Frame Relay. 
16ATM, Asynchronous Transmission Mode. 
17HDLC. 
18Fibre Channel.RFC 4338
19ATM, Asynchronous Transmission Mode.RFC 2225
20Serial Line. 
21ATM, Asynchronous Transmission Mode. 
22MIL-STD-188-220. 
23Metricom. 
24IEEE 1394.1995.RFC 2855
25MAPOS. 
26Twinaxial. 
27EUI-64. 
28HIPARP. 
29IP and ARP over ISO 7816-3. 
30ARPSec. 
31IPsec tunnel.RFC 3456
32Infiniband.RFC 4391
33CAI, TIA-102 Project 25 Common Air Interface. 
34Wiegand Interface. 
35Pure IP. 

Hardware address length. 8 bits.

Hop count. 8 bits.
This field is used by relay agents.

Transaction ID. 32 bits.
A random number chosen by the client, used by the client and server to associate messages and responses between a client and a server.

Number of seconds. 16 bits.
The elapsed time in seconds since the client began an address acquisition or renewal process.

Flags. 16 bits.
Defined in RFC 1542.

00010203040506070809101112131415
B0

B, Broadcast. 1 bit.

Client IP address. 32 bits.

Your IP address. 32 bits.

Server IP address. 32 bits.

Gateway IP address. 32 bits.

Client hardware address. 16 bytes.

Server host name. 64 bytes.

Boot filename. 128 bytes.

Options 查看链接

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值