Fortinet FortiGate Interface & VLAN Config
Physical interfaces, VLAN sub-interfaces, loopbacks, and aggregate (LACP) interface configuration for FortiGate firewalls.
What is it?
FortiGate interfaces are the entry points for all traffic. Physical interfaces connect directly to network links. VLAN sub-interfaces (type vlan) carry 802.1Q tagged traffic over a parent physical interface — used for inter-VLAN routing and DMZ segmentation. Aggregate interfaces (type aggregate) bond multiple physical ports using LACP for bandwidth and redundancy. Each interface has a 'role' (LAN, WAN, DMZ, undefined) that pre-populates FortiGate's GUI policies. The 'allowaccess' setting controls which management protocols are permitted on each interface.
When to use
- ·Adding new network segments (new VLAN for IoT devices, guest network, DMZ)
- ·Bonding two physical interfaces for uplink redundancy or throughput
- ·Replacing a router-on-a-stick setup — FortiGate does inter-VLAN routing natively
When NOT to use
- ·Do NOT set 'allowaccess https ssh' on WAN-facing interfaces — management access from the internet is a major security risk. Use a dedicated management interface or VPN for remote management.
How it compares
Prerequisites
- →Physical cabling must be completed before configuring interfaces
- →VLANs must be trunked from the upstream switch before VLAN sub-interfaces will work
- →For LACP aggregates: both ends (switch and FortiGate) must have LACP enabled before joining
Config Generator
Verification commands
get system interface physicalShow physical link status, speed, and duplex for all interfaces
ExpectedLink status 'up', correct speed/duplex. 'down' means physical connectivity issue.
diagnose netlink interface listShow detailed interface stats including TX/RX counters and errors
ExpectedNon-zero RX/TX packets for active interfaces. High error counts indicate hardware or cabling issues.
Debug commands
diagnose sys interface listShow all interfaces with IP, MAC, and flags
Common mistakes & fixes
Further learning
Recommended books to go deeper on this topic.
CCNA 200-301 Official Cert Guide Library
Wendell Odom · Cisco Press · Network interfaces, VLANs, routing — foundational knowledge for FortiGate
Network Security Architectures
Sean Convery · Cisco Press · Firewall interface design — DMZ, inside/outside, security zones