Chapter 17 System Administration : VLANs : VLANs in transparent mode : Configure the FortiGate unit : Add VLAN subinterfaces
  
Add VLAN subinterfaces
For each VLAN, you need to create a VLAN subinterface on the internal interface and another one on the external interface, both with the same VLAN ID.
To add VLAN subinterfaces - web-based manager
1. Go to System > Network > Interface.
2. Select Create New.
3. Enter the following information and select OK:
Name
VLAN_100_int
Interface
internal
VLAN ID
100
4. Select Create New.
5. Enter the following information and select OK:
Name
VLAN_100_ext
Interface
external
VLAN ID
100
6. Select Create New.
7. Enter the following information and select OK:
Name
VLAN_200_int
Interface
internal
VLAN ID
200
8. Select Create New.
9. Enter the following information and select OK:
Name
VLAN_200_ext
Interface
external
VLAN ID
200
To add VLAN subinterfaces - CLI
config system interface
edit VLAN_100_int
set status down
set type vlan
set interface internal
set vlanid 100
next
edit VLAN_100_ext
set status down
set type vlan
set interface external
set vlanid 100
next
edit VLAN_200_int
set status down
set type vlan
set interface internal
set vlanid 200
next
edit VLAN_200_ext
set status down
set type vlan
set interface external
set vlanid 200
end
See Also
Add the security policies
General configuration steps
Example of VLANs in transparent mode