BOOTP/DHCP option 13, Boot File Size

Description:

Length:4 bytes total.

This option specifies the size of the default boot image for the client in 512 byte blocks.


MAC header IP header UDP header BOOTP header BOOTP/DHCP option Data :::
MAC header IP header UDP header DHCP header BOOTP/DHCP option Data :::

BOOTP/DHCP option 13:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
Code Length Block count

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

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

Block count. 16 bits, unsigned.
Length of the file in 512 byte blocks.


RFCs:

[RFC 2132] DHCP Options and BOOTP Vendor Extensions.


Obsolete RFCs:

[RFC 1533] DHCP Options and BOOTP Vendor Extensions.