Skip to main content
nevan
Staff
Staff
Mar 3, 2025 6:07 AM UTC

Technical Tip: Multiple VLANs in FortiGate with same MAC address

  • Apr 16, 2026 1:50 PM UTC
  • 0 replies
  • 2426 views
  • Translate All
Description This article describes why multiple VLANs in FortiGate can have the same MAC address, the reason behind the behavior, and limitations.
Scope FortiGate.
Solution

In FortiGate, multiple VLAN interfaces can share the same MAC address, especially when they are created under the same physical interface.

By default, VLAN sub-interfaces inherit the MAC address of their parent interface and FortiGate does not assign unique MAC addresses to the VLAN interfaces bind to a specific interface.

mac-addr.jpg

 

  • VLANs on the Same Physical Interface: When multiple VLANs are created under the same physical interface they assign the MAC address of the physical interface.
  • VLANs on Different Physical Interfaces: If VLANs are created on different physical interfaces, they will have different MAC addresses because each physical interface has its own unique MAC.

 

Change of MAC address scope:

In FortiGate, the MAC address of a VLAN interface cannot be manually changed. VLAN subinterfaces automatically assign the MAC address of their parent physical interface, and FortiGate does not provide an option to modify it.

 

In this case, if the same Mac address creates layer2 conflicts the following workarounds can be followed:

  • Use Different Physical Interfaces.
  • Enable Independent VLAN Forwarding.
  • Use a FortiSwitch for VLAN Handling.
  • Use Virtual Wire Pair (VWP) or Transparent Mode.
  • Use enhanced MAC VLAN interface the same way as normal VLAN interfaces

 

Related documents:
Technical Tip: vlanforward interface parameter
Configuring VLANs(FortiSwitch)
Technical Tip: Virtual Wire Pair (VWP) and connectivity with Non-VWP interfaces

Enhanced MAC VLAN - FortiGate administration guide 7.4.7

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