Courseiva
System and Network AdministrationhardMultiple ChoiceObjective-mapped

FortiGate VLAN Interface with Untagged Access Port

An administrator configures a VLAN interface on a FortiGate's physical port with the IP 192.168.10.1/24. The VLAN ID is 10. The administrator connects a switch port configured as an access port (untagged) in VLAN 10. The devices on the switch cannot ping the FortiGate's VLAN interface. What is the most likely cause?

Quick Answer

The answer is that the switch port should be configured as a trunk port allowing VLAN 10. This is because a FortiGate VLAN interface, created as a subinterface on a physical port, expects to receive 802.1Q-tagged frames to identify which VLAN the traffic belongs to. When a switch port is set as an access port, it strips the VLAN tag before sending frames untagged, so the FortiGate never sees the VLAN 10 tag and cannot process the traffic for that interface. On the Fortinet NSE 4 Network Security Professional exam, this scenario tests your understanding of how FortiGate handles VLAN tagging versus how a standard switch handles access ports—a common trap is assuming an access port will work because the VLAN ID matches. Remember the key distinction: on a FortiGate, a VLAN subinterface always expects tagged traffic, even if the switch side is untagged. A helpful memory tip is "Tag in, Tag out"—if the FortiGate defines a VLAN ID, the switch must send that ID as a tag, meaning a trunk port is required.

⚠ Common exam trap

It's easy for candidates to confuse access/trunk port behavior with VLAN interface configuration on firewalls, mistakenly thinking an access port is sufficient because the VLAN ID matches, when in fact the FortiGate requires tagged frames for subinterfaces.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The switch port should be configured as a trunk port allowing VLAN 10

The switch port is configured as an access port, which sends frames untagged. However, the FortiGate's VLAN interface expects to receive 802.1Q-tagged frames because the VLAN is defined as a subinterface on the physical port. For the FortiGate to process traffic for VLAN 10, the switch port must be configured as a trunk (or tagged) port that sends frames with the VLAN 10 tag. An access port strips the tag, so the FortiGate never sees the VLAN 10 traffic.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The switch port should be configured as a trunk port allowing VLAN 10

    Why this is correct

    The switch port must send tagged frames (trunk) for the FortiGate VLAN interface to recognize them.

  • The FortiGate's physical port is not set to the same VLAN ID

    Why it's wrong here

    The physical port is not assigned a VLAN ID; the VLAN interface is.

  • The FortiGate's administrative access is not enabled on the VLAN interface

    Why it's wrong here

    Administrative access (ping) may be needed, but the primary issue is tagging.

  • The FortiGate's VLAN interface is not assigned to any VDOM

    Why it's wrong here

    VDOM assignment is necessary but usually defaults to root; tagging is the immediate issue.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

One of 282 original NSE4 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on NSE4

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An administrator configures a VLAN interface on a FortiGate trunk port. The VLAN is allowed on the trunk, but the FortiGate cannot ping the default gateway of that VLAN. Which two items must be verified? (Choose two.)

hard
  • A.The VLAN interface has an IP address in the correct subnet.
  • B.A firewall policy allows ICMP from the FortiGate to the gateway.
  • C.The VLAN interface is administratively up.
  • D.The trunk port is set to access mode.
  • E.The VLAN ID matches the switch configuration. [wrong]

Why A: The VLAN interface must have an IP address in the same subnet as the default gateway to enable routing. Option C is correct because an administratively down interface cannot transmit or receive traffic. Option E is incorrect because the VLAN is already allowed on the trunk, so the VLAN ID match is implicitly configured; the issue is more likely the interface IP or status. Options B and D are incorrect as explained.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This NSE4 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE4 exam.