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.
Kush_Patel
Staff
Staff
Article Id 273939
Description

This article describes that when configuring VLAN interfaces on FortiGate, it is possible to encounter two common VLAN protocols: 802.1Q and 802.1AD, also known as QinQ (Double VLAN and clarifies the differences between these VLAN protocols and how they are configured on FortiGate.

Scope FortiGate.
Solution

vlan.PNG

 

VLAN Protocol 802.1Q:

802.1Q is the most widely used VLAN tagging protocol. It allows the insertion of a 4-byte VLAN tag (or VLAN header) within the Ethernet frame.

The VLAN tag consists of a 12-bit VLAN ID (VID), which can represent up to 4096 unique VLANs. (Maximum value is 4094).

 

Key Characteristics:

  • Tagging Method: 802.1Q tags are added to Ethernet frames to identify VLAN membership.
  • Configuration: VLAN IDs are configured directly on network interfaces or sub-interfaces.

 

Use Cases:

  • 802.1Q VLANs are commonly used to segment and isolate traffic in local area networks (LANs).
  • They are ideal for organizing network traffic within an enterprise network, separating departments, or creating isolated guest networks.

 

VLAN Protocol 802.1AD (QinQ):

802.1AD, commonly referred to as QinQ or Double VLAN tagging, extends the capabilities of 802.1Q. It allows the nesting of VLAN tags within another VLAN tag. QinQ effectively creates a 'VLAN within a VLAN', allowing for more extensive network segmentation. Supports a large number of VLANs due to nesting.

The outer VLAN tag and inner VLAN tag each have their VLAN IDs.

 

Key Characteristics:

  • Tagging Method: QinQ adds a 4-byte VLAN tag, creating a nested structure.
  • Configuration: QinQ requires the configuration of two sets of VLAN IDs: one for the outer VLAN and another for the inner VLAN.

 

Use Cases:

  • QinQ is primarily used by service providers to offer Layer 2 services to multiple customers over a shared network infrastructure. It is also useful in scenarios where complex VLAN segmentation is required, such as in large-scale carrier networks.

 

Configuring VLAN Interfaces on FortiGate:

  • When configuring VLAN interfaces on a FortiGate, it is possible to choose between 802.1Q and 802.1AD based on the specific networking requirements.
  • FortiGate supports both VLAN protocols, allowing the creation of VLAN interfaces as needed for the network segmentation and isolation needs.

 

Related article:

Technical Tip: 802.1ad QinQ real world scenario