Configuring Option 43 on a Linux ISC DHCP Server
Supported Formats
Suboption 2
Configuration Method
- Configuration file path
/etc/dhcp/dhcpd.conf
- Configuration file example
The DHCP server obtains vendor information based on the Option 60 field carried in the packet received from the client, specifies the WAC address for the client based on the vendor information, and sends the WAC address to the client through Option 43. For example, specify the WAC address of 192.168.247.5 for Cisco APs and 192.168.247.55 for Huawei APs.
# ddns-update-style interim; option space Cisco_LWAPP_AP; option Cisco_LWAPP_AP.server-address code 241 = array of ip-address; option space Huawei-AP6050DN; option Huawei-AP6050DN.server-address code 1 = array of ip-address; subnet 192.3.1.0 netmask 255.255.255.0 { authoritative; range 192.3.1.100 192.3.1.254; option subnet-mask 255.255.255.0; option broadcast-address 192.3.1.255; option routers 192.3.1.1; option domain-name "huawei.com"; option domain-name-servers 192.168.247.2, 192.168.247.3; default-lease-time 300; class "Cisco-AP-c1700" { match if option vendor-class-identifier = "Cisco-AP-c1700"; option vendor-class-identifier "Cisco-AP-c1700"; vendor-option-space Cisco_LWAPP_AP; option Cisco_LWAPP_AP.server-address 192.168.247.5; } class "huawei AP" { match if option vendor-class-identifier = "huawei AP"; option vendor-class-identifier "huawei AP"; vendor-option-space Huawei-AP6050DN; option Huawei-AP6050DN.server-address 192.168.247.55; } subnet 192.168.1.0 netmask 255.255.255.0 { } #
Related Information
None