We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

Example - DHCP Configuration for Two Networks

  • Last updated on

The following article provides an overview of how to configure DHCP for an example environment. It provides steps and example settings to configure a DHCP service for an environment that contains two networks with three different IP pools. 

Example Environment

For the example environment that is displayed in the following figure, a DHCP service must configured for two networks with three different IP pools: 

  • Network 1 (10.0.8.0/24) – Contains two address pools: one pool for unknown clients and one pool for known clients (identified via their MAC addresses).
  • Network 2 (10.0.4.0/24) – Contains one address pool for unknown clients and two known clients.

dhcp_enterprise_config.png

Example Environment Configuration

The DHCP service for the example environment can be configured with the following steps and settings:

StepSettings for Example Environment
Step 1: Create a virtual server.The virtual server is created with the following settings:
  • First-IP: 10.0.8.35 
  • Second-IP: 10.0.4.44
Step 2: Create the DHCP service.By default, Service Availability for the DHCP service is set to All-IPs.
Step 3: Enable advanced DHCP settings.To enable the advanced DHCP settings, you must be in the Advanced Configuration Mode. On the DHCP Enterprise Configuration - Operational Setup page, click Switch to Advanced View from the Configuration Mode menu in the left navigation pane. Make sure that you select yes from the Use Advanced Pool Configuration list.
Step 4: Configure DHCP classes.A DHCP class named testclass is created with the following settings:
  • Match TypeMAC
  • Match Value List: 1:00:01:f3:34:44:2g and 1:00:01:f3:34:44:2e

    For Ethernet interfaces, you must enter 1: before the MAC address

Step 5: Configure subnets and address pools.

Two separate subnets are created for Network 1 (10.0.8.0/24) and Network 2 (10.0.4.0/24).

  1. A subnet named Subnet1 for 10.0.8.0/24 is created with the following settings:
    • Subnet Typeexplicit
    • Network Address10.0.8.0/24
    • Address Pools: The two address pools for Subnet1 are configured with the following settings:

      Address PoolDescription
      Address Pool 1 - UnknownFrom the first address pool, only unknown clients may receive IP addresses. This address pool is configured with the following settings:
      • IP Begin: 10.0.8.10
      • IP End: 10.0.8.15
      • Denied Classes: testclass
      • Known Clients: deny
      • Unknown Clients: allow
      Address Pool 2 - ClasspoolFrom the second address pool, only allowed classes may receive IP addresses. This address pool is configured with the following settings:
      • IP Begin: 10.0.8.20
      • IP End: 10.0.8.30
      • Allowed Classes: testclass
      • Known Clients: not-set
      • BOOTP ClientsPolicy: not-set
  2. A subnet named Subnet2 for 10.0.4.0/24 is created with the following settings:
    • Subnet Typeexplicit
    • Network Address10.0.4.0/24
    • Address Pools: The subnet has one address pool which is configured with the following settings:

      Address PoolDescription
      Address Pool 1 - UnknownFrom the address pool, only unknown clients may receive IP addresses. This address pool is configured with the following settings:
      • IP Begin: 10.0.4.10
      • IP End: 10.0.4.15
      • Known Clients: deny
      • Unknown Clients: allow
Step 6: Configure known clients.

Two client groups are created:

Client GroupSettings
Known Client 1
  • MAC Address: 00:01:f3:34:44:2g
  • Fixed IP Address: 10.0.4.31 (Optional)
Known Client 2
  • MAC Address: 00:01:f3:34:44:2e
  • Fixed IP Address: 10.0.4.32 (Optional)
Step 7: View real-time information for the DHCP service.To view and modify lease and IP range information for the DHCP service, click the DHCP tab.
Last updated on