DHCP in WLC are of two types : Internal and External DHCP
Internal DHCP : DHCP server can be created in WLC.
Packet Flow
External DHCP - (Proxy and Bridge)
Internal DHCP : DHCP server can be created in WLC.
Packet Flow
- Client send DHCP discover on all subnet as broadcast
- WLC forward the DHCP discover via DHCP proxy to internal DHCP server ip address(Management interface IP of WLC)
- Internal DHCP server send DHCP offer to WLC proxy agent.
- WLC send unicast DHCP offer to client with source address of WLC management Interface IP.
- Client send DHCP request to WLC on management interface IP.
- WLC send unicast DHCP request to internal server via DHCP proxy
- Internal DHCP server sends DHCP ACK to DHCP proxy.
- WLC send unicast DHCP ACK to client
External DHCP - (Proxy and Bridge)
- Proxy – WLC becomes the proxy for DHCP messages.
- Client boots up and send DHCP Discover on all subnet broadcast.
- WLC unicast this packet to DHCP server(as configured on WLC interface)
- DHCP server send DHCP offer to WLC.
- WLC unicast DHCP offer to Client with source address as WLC virtual IP address.
- Client send DHCP request to WLC on Virtual address because Client think that this virtual IP is DHCP server address
- WLC unicast DHCP request to DHCP server which returned the first offer to the client.
- DHCP server send ACK to WLC
- WLC unicast ACK from virtual IP to the client.
- Bridging – DHCP messages are exchanged directly with client and DHCP Server.
- Client send DHCP Discover on all subnet broadcast which is bridged by controller
- DHCP server send DHCP offer to Client
- Client send DHCP request to all subnet
- DHCP server send ACK to client in unicast packet