BOOTP / DHCP option 1, Subnet Mask

Description Glossary RFCs Publications Obsolete RFCs

Description:

Protocol suite: TCP/IP.
Protocol type:Application layer configuration protocol.
Base protocols: BOOTP, Bootstrap Protocol.
DHCP, Dynamic Host Configuration Protocol.
Option length:6 bytes.
Links: IANA: BOOTP and DHCP options.

This option specifies the client's subnet mask. If both the Subnet Mask and the router option are specified in a DHCP reply, this option MUST be first.


MAC header IP header UDP header BOOTP | DHCP header BOOTP / DHCP option 1

BOOTP / DHCP option 1:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
Code Length Mask :::

Code. 8 bits. Always set to 1.
Option code.

Length. 8 bits. Always set to 4.
Size of the option data in bytes.

Mask. 32 bits.
Subnet mask of the client.


Glossary:


RFCs:

[RFC 2132] DHCP Options and BOOTP Vendor Extensions.


Publications:


Obsolete RFCs:

[RFC 1533] DHCP Options and BOOTP Vendor Extensions.


Description Glossary RFCs Publications Obsolete RFCs