Configuring DHCP Option 43 on a Linux Server

This section describes the configurations necessary on the Linux DHCP (Dynamic Host Configuration Protocol) server to use DHCP option 43 for ExtremeWireless Appliance discovery. Option 43 requires the following information:
  • Vendor Class Identifier (VCI) — The VCI for an ExtremeWireless AP is HiPath <AP model name>. AP Vendor Class Identifiers lists the Vendor Class Identifiers for Extreme Networks APs.
  • Option 43 sub-option code — The option 43 sub-option code for the ExtremeWireless APs is type 1 (0x1).
  • IP addresses of ExtremeWireless Appliances
To configure the vendor encapsulated option on a Linux server, you must do the following:
  • Define an option space.
  • Define some options in that option space.
  • Provide values for the options.
  • Specify that this option space should be used to generate the vendor-encapsulated-options option.

To configure DHCP option 43:

  1. Modify the dhcp.conf file (modifications are in bold).
    [root@localhost ~]# vim /etc/dhcpd.conf
    authoritative;
    ddns-update-style interim;
    ignore client-updates;
    option space HAP;
    option HAP.HWC code 1 = text;
    
    subnet 10.100.1.0 netmask 255.255.255.0 {
    range 10.100.1.10 10.100.1.254;
    option subnet-mask 255.255.255.0;
    option slp-directory-agent false 10.1.100.11;
    option domain-name-servers 10.100.1.2;
    option domain-name "bpmgmt.com";
    option routers 10.100.1.1;
    default-lease-time 40000;
    }
    …
    subnet 10.100.4.0 netmask 255.255.255.0 {
    range 10.100.4.100 10.100.4.254;
    option subnet-mask 255.255.255.0;
    option slp-directory-agent false 10.100.4.46, 10.100.4.47;
    option domain-name-servers 10.100.1.2;
    option domain-name "bpmgmt.com";
    option routers 10.100.4.1;
    default-lease-time 40000;
    class "HAP" {
    match option vendor-class-identifier;
    }
    subclass "HAP" "AP3935" {
    vendor-option-space HAP;
    option HAP.HWC "10.100.2.36, 10.100.2.22";
    }
  2. Restart the DHCP server.
    [root@localhost ~]# /etc/init.d/dhcpd restart