Information About the IP DHCP Smart-Relay
A Dynamic Host Configuration Protocol (DHCP) relay agent is any host that forwards DHCP packets between clients and servers. Relay agents are used to forward requests and replies between clients and servers when they are not on the same physical subnet. Relay-agent forwarding is distinct from the normal forwarding of an IP router, where IP datagrams are switched between networks transparently. Relay agents receive DHCP messages and then generate a new DHCP message to send out on another interface. The relay agent sets the gateway IP address and, if configured, adds the relay agent information option (option 82) in the packet and forwards it to the DHCP server. The reply from the server is forwarded back to the client after removing option 82.
The Cisco IOS XE DHCP relay agent supports the use of unnumbered interfaces. An unnumbered interface can borrow the IP address of another interface already configured on the router, which conserves network and address space. For DHCP clients connected though the unnumbered interfaces, the DHCP relay agent automatically adds a static host route once the DHCP client obtains an address, specifying the unnumbered interface as the outbound interface. The route is automatically removed once the lease time expires or when the client releases the address.
Benefits of IP DHCP Smart-Relay
-
Using automatic IP address assignment at each remote site substantially reduces the internet access cost. Static IP addresses are considerably more expensive to purchase than are automatically allocated IP addresses.
-
Enables easier configuration and minimizes operational overhead and costs associated with device configuration tasks and eases deployment by nontechnical users.
-
DHCP server maintains configurations for several subnets. An administrator only needs to update a single, central server when configuration parameters change.