DHCP Option 82 in Client DHCP Unicasts When Lease Time is Over

  • 1
  • Question
  • Updated 3 months ago
I am using Linux DHCP server to issue Client IPs. Client IPs should be issued based on DHCP option parameters. So in DHCP request (Broadcast) it will have option 82 parameters. 
My question is after lease time when client want to extend the lease? How will it work? As I understood this will be a unicast packet and how AP can embed option 82 parameters into this packet. ? 

Thanks
Photo of gpmpa

gpmpa

  • 74 Posts
  • 4 Reply Likes

Posted 3 months ago

  • 1
Photo of Roberto Hernandez Jr

Roberto Hernandez Jr, Employee

  • 19 Posts
  • 7 Reply Likes
Hi,

By default a DHCPDISCOVER is broadcast and therefore seen by any DHCP relay agent in the path and therefore they can act on the DHCP 82 option. However, DHCPRENEW are unicast to the DHCP server and not seen by the relay agent (AP or switch). To accomplish this, the DHCP server would have to be configured to support DHCP option 54. However DHCP option 82 is typically trusted from the initial DHCPDISCOVER so there is no need for the relay agents to see the DHCPRENEW. Can you elaborate on your ultimate goal?