Forwarding policies
DHCP Option 82 on switches offers four forwarding policies, with an optional validation of server responses for three of the policy types (append
,
replace
, or
drop
.)
Configuration options for managing DHCP client request packets:
Option 82 configuration |
DHCP client request packet inbound to the routing switch |
|
---|---|---|
Packet has no Option 82 field |
Packet includes an Option 82 field |
|
Append |
Append an Option 82 field |
Append allows the most detail in defining DHCP policy boundaries. For example, where the path from a client to the DHCP Option 82 server includes multiple relay agents with Option 82 capability, each relay agent can define a DHCP policy boundary and append its own Option 82 field to the client request packet. The server can then determine in detail the agent hops the packet took, and can be configured with a policy appropriate for any policy boundary on the path.
NOTE:
In networks with multiple relay agents between a client and an Option 82 server,
|
Keep |
Append an Option 82 field |
If the relay agent receives a client request that already has one or more Option 82 fields,
keep causes the relay agent to retain such fields and forward the request without adding another Option 82 field. But if the incoming client request does not already have any Option 82 fields, the relay agent appends an Option 82 field before forwarding the request. Some applications for
keep include:
validate option (described in the next section) and allows forwarding of all server response packets arriving inbound on the routing switch (except those without a primary relay agent identifier.)
|
Replace |
Append an Option 82 field |
Replace replaces any existing Option 82 fields from downstream relay agents (and/or the originating client) with an Option 82 field for the current relay agent. Some applications for
replace include:
|
Drop |
Append an Option 82 field |
Drop causes the routing switch to drop an inbound client request with an Option 82 field already appended. If no Option 82 fields are present,
|