Now that we know what DHCP relay agents are, we will find out another DHCP agent, a DHCP proxy agent today.
What a DHCP relay agent does is simply relay broadcast DHCP packets (DHCP Discover/Request) to DHCP server(s) located in other subnets whenever it receives packets from a DHCP client residing in that same subnet. On the other hand, a DHCP proxy agent not only relays the DHCP packets between subnets, but also acts on behalf of a DHCP server, while also acting as a DHCP client.
That is, it acts as a DHCP server to the DHCP client, but act as a DHCP client to the DHCP server.
The following figure shows a comparison between the DHCP relay agent and the DHCP proxy agent.
The DHCP relay agent simply relays only the broadcast packets used in IP address allocation/lease procedures while the DHCP proxy agent, performing the functions of both a DHCP server and client, relays from one to the other all DHCP packets (Broadcast or Unicast) used in IP address allocation (lease), IP address renewal and IP address release procedures.
Then what are the benefits of using a DHCP proxy agent instead of a DHCP relay agent?
Why does a user recognize the IP address of a DHCP proxy agent as the IP address of a DHCP server?