Configuring a DHCP Server
Configuring a DHCP Server
- When an enterprise branch has no independent DHCP server, configure an AC as the DHCP server.
- An independent DHCP server applies to large WLANs of large- and medium-sized campus networks.
For details on how to configure a DHCP server, see Configuring a DHCP Server.
A service DHCP address pool assigns IP addresses to STAs, and a management DHCP address pool assigns IP addresses to APs. The two types of DHCP address pools must be configured separately.
Configuring the Option 43 Field
- Run the system-view command to enter the system view.
- Run the ip pool ip-pool-name command to create a global address pool and enter its view.
- Run any of the following commands to configure the option 43
field.
- option 43 hex hex-string
- option 43 sub-option 3 ascii ascii-string
- option 43 sub-option 2 ip-address ip-address &<1-8>
- option 43 sub-option 1 hex hex-string
Use one of the option 43 sub-option 3 ascii ascii-string, option 43 sub-option 2 ip-address ip-address &<1-8>, and option 43 sub-option 1 hex hex-string commands to specify AC's IP address for the APs. If you run two or three of the commands simultaneously, only the last command takes effect.
If the AC and APs are in the same network segment, you do not need to configure the Option 43 field, and the APs can discover the AC in broadcast mode. After Option 43 is configured, the APs unicast Discover Request packets to the IP address carried in Option 43 to discover the AC. If the APs do not receive any Discovery Response packet after sending unicast Discovery Request packets 10 consecutive times, the APs then broadcast packets to discover the AC.