Skip to main content
smalatif
Visitor III
Apr 29, 2024 11:40 AM UTC
Question

Users do not get VLANs DHCP IP on VLAN Switch on FortiGate

Hi I need a quick solution:

My users can get DHCP IPs from FortiGate Physical Interface DHCP Servers shown below (both from 172.16.55.1 and 192.168.56.1). However my users did not get IP from VLANs DHCP Server shown here (from 172.16.52.253 and 192.168.135.1).

Users are connected via Juniper EX4100 Switches. 

 

 

fortiGate.png

Firewall policy is allowed.

The same problems happen on the internal VLAN switch and it's VLAN too.

Anyone has any solution please.

6 replies

AEK
SuperUser
SuperUser
Apr 29, 2024 12:15 PM UTC

Hi @smalatif 

Usually that means the clients are not on the same broadcast domain as your firewall interface. That means the issue can be probably somewhere at L2 level, like the misconfiguration in trunk interface, a wrong VLAN id, a wrong VLAN config, etc...

AEK
smalatif
smalatifAuthor
Visitor III
Apr 29, 2024 1:19 PM UTC

The Juniper switch configuration is just a very straightforward: 

 

show interfaces ge-0/2/3
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members [ 52 all ];
}
}
}

 

vinceneil666-01
Explorer II
Apr 30, 2024 5:30 AM UTC

Thats the config for the port that is connected to the Fortigate, right ? .. Can you also show the config of the port you have connected your client. ? 

alwis
Staff
Staff
Apr 30, 2024 12:50 AM UTC

Hi @smalatif 

 

Are your user port has been configure with correct vlan id? 

 

Alwis

Hong_FTNT
Staff & Editor
Staff & Editor
Apr 30, 2024 2:09 PM UTC

Hi @smalatif,

 

FortiGate will lease out DHCP IPs according to the VLAN ID of DHCP requests. Please check on EX4100 Switches and make sure the ports are configured with correct VLAN IDs. You can also run DHCP debug and you will see which interface the request is coming from: https://community.fortinet.com/t5/FortiGate/Technical-Tip-Diagnosing-DHCP-on-a-FortiGate/ta-p/192960

 

Regards,

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024