How to configure DHCP Option 132 to get DHCP Lease from VLAN

Description

The SonicWall DHCP server options feature provides support for DHCP options, also known as vendor extensions, as defined primarily in RFC 2131 and 2132.

DHCP options allow users to specify additional DHCP parameters in the form of pre-defined, vendor-specific information that is stored in the options field of a DHCP message. When the DHCP message is sent to clients on the network, it provides vendor-specific configuration and service information.

This article describes how the devices on X0 can get DHCP Lease from VLAN Created on the interface.

Resolution

Resolution for SonicOS 7.X

This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.





  • Create a separate zone and VLAN Interface from which you want your IP phones to get DHCP:

    Graphical user interface, application, website Description automatically generated


To configure DHCP Option objects, perform the following steps:

  1. Login to the SonicWall Management GUI
  2. Click Manage in the top navigation menu
  3. Navigate to the Network| DHCP Server page.
  4. Click on the Advanced button alongside the Enable DHCPv4 Server.

    Graphical user interface, text, application, email Description automatically generated

  5. On option object click on add Give option name
  6. Under option Number from the drop-down menu select the option of 132 (802.1p VLAN ID)
  7. Under option type select the value as string.
  8. Mention the VLAN ID under the option value from which you want to provide DHCP Scope.

    Graphical user interface Description automatically generated


Now we configure DHCP lease scopes:

  1. Navigate to DHCP LEASE Scope option for the DHCP Scope created for X0 click on Configure
  2. Navigate to advanced option under DHCP generic option keep DHCP Generic option Group as DHCP option created in the previous step.

    Graphical user interface Description automatically generated
  3. Click OK to save.
  4. Reconnect the IP phones to the network and check the Current DHCP entries.

    Graphical user interface, application Description automatically generated

Related Articles

  • SonicOS 8.1.0 FAQ
    Read More
  • SonicWall GEN8 TZs and GEN8 NSas Settings Migration
    Read More
  • Getting started with SonicWall firewalls
    Read More
not finding your answers?