FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
dsrivastava
Staff
Staff
Article Id 240945
Description This article describes that if the FortiGate is the gateway for the VLAN, it is necessary to define the DHCP relay when the VLAN interface is created on the FortiGate.
Scope FortiGate, Configuring DHCP relay in VLAN interface.
Solution

Sample Configuration:


# config system interface
    edit "VLAN-NAME"
        set dhcp-relay-service enable
        set ip 192.168.2.1 255.255.255.0
        set allowaccess ping
        set device-identification enable
        set role lan
        set snmp-index 16
        set dhcp-relay-ip "10.0.0.100" <----- DHCP relay IP.
        set interface "port4"
        set vlanid 2
    next
end