Skip to main content
nathan_h
Staff & Editor
Staff & Editor
February 4, 2025

Troubleshooting Tip: DHCP Request from PC is not received when switch-controller-dhcp-snooping is enabled on FortiLink VLAN interface

  • February 4, 2025
  • 0 replies
  • 2106 views
Description

 

The article describes how to fix DHCP when switch-controller-dhcp-snooping is enabled on a VLAN FortiSwitch interface. DHCP snooping can be used to prevent rogue DHCP servers. 

 

Scope

 

FortiGate, FortiSwitch

 

Solution

 

On CLI:

 

FGT-NAT # show sys int VLAN_20
    config system interface
        edit "VLAN_20"
            set vdom "root"
           set ip 10.10.11.1 255.255.255.0
           set allowaccess ping
            set device-identification enable
            set role lan
            set snmp-index 34
            set switch-controller-dhcp-snooping enable
            set interface "fortilink"
            set vlanid 20
         next
    end

 

On GUI:

 

2025-01-27 16 36 36.png

 

DHCP request is not received on the FortiGate.

 

2025-01-27 16 46 30.png

 

Access FortiSwitch from FortiGate under WIFI & Switch Controller -> Managed FortiSwitches -> 'Right-Click' a FortiSwitch -> Connect to CLI -> Enter password.

 

Enter the command 'get switch dhcp-snooping database-summary'. FortiSwitch trunk is showing on untrusted ports.

 

S108EPS223XXXXXX # get switch dhcp-snooping database-summary

 

2025-01-27 16 54 50.png

 

Configure FortiSwitch trunk to 'dhcp-snooping: trusted'.

 

S108EPS223XXXXXX # config switch int

S108EPS223XXXXXX (interface) # edit GT61FTK19XXXXXX

S108EPS223XXXXXX (GT61FTK19XXXXXX) # set dhcp-snooping
trusted Trusted DHCP snooping interface.
untrusted Untrusted DHCP snooping interface.

S108EPS223XXXXXX (GT61FTK19XXXXXX) # set dhcp-snooping trusted

S108EPS223XXXXXX (GT61FTK19XXXXXX # end

 

2025-01-27 17 06 52.png

 

Verify on the FortiGate that the PC received an IP address.

 

2025-01-27 17 11 46.png

 

Related articles:

Technical Tip: Understanding DHCP Server and DHCP Relay functionality on FortiGate

Troubleshooting Tip: Wireless clients do not receive IP through DHCP from Bridged SSID

Troubleshooting Tip: Check DHCP Messages with VLAN Tag using Wireshark Packet Capture

    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!