Skip to main content
decora
New Member
November 12, 2024
Question

Trunk, how to add an access port

  • November 12, 2024
  • 7 replies
  • 2400 views

Hi,
On FortiGate 100F I create vlan50, vlan60, vlan70 and make port1, port2 as trunk(vlan50, vlan60, vlan70), how can I make port3 access vlan50?

fff.png

7 replies

AlexC-FTNT
Staff
Staff
November 12, 2024

You create a firewall policy to allow access from (srcintf) port3 to (dstintf) vlan50

decora
decoraAuthor
New Member
November 12, 2024

I need to assign port3 vlan50

AlexC-FTNT
Staff
Staff
November 12, 2024

why? is port3 in vlan50 also? FortiGate is a router, not a switch

pminarik
Staff
Staff
November 12, 2024

> how can I make port3 access vlan50?

 

Not possible with the way you configured this currently.

For incoming packets, untagged frames will be considered as arriving on the logical interface "switch2", and tagged frames will be considered as arriving on the logical interface that has the matching VLAN-ID (so presumably VLAN-ID=50 => interface "vlan50", etc.)

Egress is controlled by routing table, and if the egress interface is a VLAN-interface, the frame gets tagged with the appropriate VLAN-ID when it finally egresses out of the underlying physical interface.

 

 

"VLAN switch" could be the feature you're looking for, but be aware that this will require reconfiguration/redesign of the interfaces.

docs: https://docs.fortinet.com/document/fortigate/7.4.5/administration-guide/183531

 

In this mode you create virtual switches, whose members are "access port" (accept untagged traffic), and then selectively pick individual interfaces to act as trunks (but you can't select specific VLANs to be trunked, it's all or nothing).

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT