BOOTP/DHCP option 21, Policy Filter

Description:

Length:10+ bytes total.

This option specifies policy filters for non-local source routing. The filters consist of a list of IP addresses and masks which specify destination/mask pairs with which to filter incoming source routes. Any source routed datagram whose next-hop address does not match one of the filters should be discarded by the client.


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 21:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
Code Length Address/mask pair [] :::

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

Length. 8 bits. 8+ in multiples of 8.
Size of the option data in bytes.

Address/mask pair. 8 bytes.

0001020304050607 0809101112131415 1617181920212223 2425262728293031
IP address
Subnet mask

IP address. 32 bits.

Subnet mask. 32 bits.


RFCs:

[RFC 2132] DHCP Options and BOOTP Vendor Extensions.


Obsolete RFCs:

[RFC 1533] DHCP Options and BOOTP Vendor Extensions.