Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
I'm going to answer your last question first. It is of course possible to configure policies separately for each VLAN by configuring address objects that cover only each individual subnet and using them in individual rules.
However I don't think the rest of your plan will work or be helpful really. The FortiGate is not made to be a robust DHCP server. It's not really any better at it than a L3 switch/router, and without being the gateway for the VLAN, no, I don't think it will work.
What I always recommend is to make the FortiGate the "core" of your network and trunk the VLANs to it (using switches as L2 only) so you can control inter-VLAN traffic with FW policies as well as Internet/DMZ access. However, this isn't practical for everyone especially depending on how the FGT is sized. I'd say you have to decide which is more important to you. DHCP on the FGT or L3 on the switch.
A fortigate also can not be used in a DHCP-relay solution
Ken Felix
PCNSE
NSE
StrongSwan
emnoc wrote:A fortigate also can not be used in a DHCP-relay solution
What do you mean? Sure it can. I only use the FGT for DHCP on 1 or 2 VLANs and have it doing DHCP relay for all others.
config system interface
edit "LABnet"
set vdom "root"
set dhcp-relay-service enable
set ip 10.0.8.1 255.255.254.0
set allowaccess ping
set device-identification enable
set role lan
set dhcp-relay-ip "10.0.5.45" "10.0.5.12" "10.2.5.11" "10.2.5.31"
set interface "port3"
set vlanid 28
next
end
I'm reading he wants the switches to relay to the FortiGate DHCP requests.
There are several vlans (around 20) and we want the fortigate to handle dhcp and internet access only, leaving the intervlan routing to the L3 switches
I'm pretty sure that is not going to work. Yes the FGT can be dhcp-relay-agent, but that is not what he's asking for or at least how I'm reading it. So if the L3 switches are dhcp-relaying requests to the FGT and suspecting the fortigate to be a dhcp-server handling the agent forwarding, I don't see how that would remotely even work.
Ken Felix
PCNSE
NSE
StrongSwan
Ah, yes, sorry. I read your statement without the additional context. I agree that there is no way for that to happen with the FortiGate.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1720 | |
1093 | |
752 | |
447 | |
234 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.