What Are DHCP Snooping, DAI, and IP Source Guard, and How to Configure Them on Omada Switches Using Omada Controller

Basis Pengetahuan
Configuration Guide
12-04-2026
92058
This Article Applies to

Contents

Introduction

Requirements

Configuration

Configuration for DHCP Snooping

Configuration for DAI and IP Source Guard

Conclusion

QA

Introduction

DHCP Snooping, Dynamic ARP Inspection (DAI), and IP Source Guard are Layer 2 security features designed to enhance network security. These features are part of IP-MAC-Port Binding (IMPB) on Omada switches. Starting from Omada Controller v6.4, IP Source Guard is supported for compatible Omada switches, and the original DAI configuration interface is updated to IMPB, where DAI and IP Source Guard can be configured on the same page.

DHCP Snooping dynamically builds and maintains IP-MAC-Port binding entries by monitoring legitimate DHCP transactions. These entries record valid associations between a client's IP address, MAC address, connected port, VLAN, and lease duration. On a port with DHCP Snooping enabled, DHCP client information is recorded, and DHCP server response packets received from a client connected to that port are dropped to help prevent rogue DHCP servers.

Dynamic ARP Inspection (DAI) protects against ARP spoofing, also known as ARP poisoning. On a port with DAI enabled, the switch validates ARP packets against IMPB entries to verify that the MAC and IP address information matches a valid binding. If DHCP is used in the network, enable DHCP Snooping and keep Snooping items take effect enabled so that dynamically learned entries can be used for DAI validation. If static IP addresses are used, manually add the required binding entries. ARP packets that do not match a valid entry on a DAI-enabled port are considered invalid and dropped.

IP Source Guard, supported starting from Omada Controller v6.4, helps prevent IP address spoofing, where a host uses an IP address that is not assigned to it. On a port with IP Source Guard enabled, the switch validates the source IP address and MAC address of IP packets against IMPB entries and drops packets that do not match a valid entry. IP Source Guard and DAI use the same IMPB entries and can be enabled on the same port. DAI validates ARP packets, while IP Source Guard validates IP packets.

Requirements

  • Omada Access, Access Plus, Access Pro, Access Max, and Aggregation Switches with the latest firmware
  • Omada Controller v6.1 or later
  • Omada Controller v6.4 or later for IP Source Guard

Configuration

The following sections introduce how to configure DHCP Snooping, DAI, and IP Source Guard on supported Omada switches adopted to an Omada Controller.

Before configuration, make sure that the switches are running the latest firmware and have been adopted to the Omada Controller. Omada Controller v6.4 or later is required to configure IP Source Guard.

Note: Starting from Omada Controller v6.4, the original DAI tab is renamed IMPB, and IP Source Guard is added to this page. DAI and IP Source Guard can be configured from the same IMPB page.

Configuration for DHCP Snooping

Step 1. Go to Network Config > Security > IMPB.

Show the process of entering IMPB configuration page.

Select DHCP Snooping, and enable DHCP Snooping globally.

Show the DHCP Snooping tab and its global switch.

Step 2. After enabling DHCP Snooping globally, click Add to select a switch on which to enable DHCP Snooping.

Show the DHCP Snooping tab with the switch on and the Add button.

On the Add DHCP Snooping Device page, expand Select Device and select the switch on which to enable DHCP Snooping.

Show how to select a switch in the Add DHCP Snooping Device page.

Select the ports on which to enable DHCP Snooping. DHCP packets received on the selected ports are inspected to create IMPB entries, and the selected ports drop DHCP server response packets received from connected clients. To ensure that the switch itself can obtain an IP address through DHCP, the cascade port cannot be selected. Click Confirm to apply the configuration.

Show how to select ports in Add DHCP Snooping Device page.

The current DHCP Snooping configuration can be viewed and edited on the same page.

Show the switch with the DHCP Snooping ports enabled.

Configuration for DAI and IP Source Guard

If your network devices use DHCP to obtain IP addresses, please enable DHCP Snooping on corresponding ports first.

Step 1. Go to Network Config > Security > IMPB.

Show the IMPB menu under Security in Network Config.

Step 2. On the IMPB page, click Add to select a switch on which to enable DAI or IP Source Guard.

Show the IMPB page with the Add button.

On the Add Device & Port page, expand Select Device and select the switch on which to enable DAI or IP Source Guard.

Show how to select a switch in the Add Device & Port page.

Select DAI, IP Source Guard, or Both at the top of the port panel, and then select the ports on which to enable the corresponding feature.

The selected ports are displayed in different colors:

  • Blue: DAI
  • Purple: IP Source Guard
  • Green: Both DAI and IP Source Guard

If DHCP Snooping is enabled on ports of the same switch, click Select All Snooping Port to select the DHCP Snooping ports. DAI and IP Source Guard can use the entries dynamically learned through DHCP Snooping for validation. Click Confirm to apply the configuration.

Show how to enable DAI, IP Source Guard or both on the ports.

After configuration, the switch is listed on the IMPB page. The Enabled switch can be used to enable or disable the configuration, while the Function and Port columns show the enabled features and corresponding ports.

Step 3. As described previously, DAI and IP Source Guard validate traffic against either dynamic entries learned through DHCP Snooping or static entries configured manually.

By default, Snooping items take effect is enabled, allowing entries learned through DHCP Snooping to be used for DAI and IP Source Guard validation.

  • For networks using DHCP: Enable DHCP Snooping, DAI, and IP Source Guard on the applicable ports, and keep Snooping items take effect enabled. This allows DHCP clients with valid dynamically assigned IP addresses to access the network normally.
  • For networks not using DHCP: It is recommended to disable Snooping items take effect so that dynamically learned entries are not used for validation. Configure the required static entries manually to ensure that only authorized clients can access the network.

Show the Snooping items take effect option on the IMPB page.

Step 4. To manually create static binding entries, click Edit for the corresponding switch.

Show the edit icon of the switch in the IMPB device list.

On the Edit Port page:

  • Click Add Item to manually create a binding entry.
  • Click Import to import binding entries in batches using a template.
  • Click Import from Client List to import connected clients as static binding entries.

These static entries can be used as the validation source for DAI and IP Source Guard. After completing the configuration, click Confirm to apply the changes.

Show the Edit Port page with the port grid and the Add Static Item row.

Show the Add Static Item row with Add Item, Import and Import from Client List.

Show the Import Variables page for batch import.

Show the Import from Client List page with the clients selected.

Note: On the Import from Client List page, selected clients are imported as static binding entries. It is recommended not to select clients that obtain IP addresses through DHCP because their IP addresses may change, causing their static binding entries to become invalid and potentially resulting in loss of network access

Conclusion

DHCP Snooping and DAI help protect Omada networks against rogue DHCP servers and ARP spoofing. Starting from Omada Controller v6.4, IP Source Guard provides additional protection against IP address spoofing. DAI and IP Source Guard are configured from the updated IMPB page and use IMPB entries for traffic validation.

To learn more about each function and configuration, please visit Support Home to download or check the manual for your product.

QA

Q1: Is there a way to only snoop DHCP packets on the port but not dropping any illegal DHCP packets at the same time?

A1: No, once a port is ticked in the DHCP Snooping option, it will snoop to form the IMPB entries and drop illegal DHCP packets to prevent rogue DHCP server at the same time, these two features could not operate separately.

Q2: What is the difference between DAI and IP Source Guard?

A2: DAI validates ARP packets to prevent ARP spoofing, while IP Source Guard validates IP packets to prevent IP address spoofing. Both of them use the IMPB entries as the source of validation, so they can be enabled on the same port by choosing Both in the Add Device & Port page.

Please Rate this Document

Related Documents