Hi,
it is possible on Fortigate 100F to have one vlan configured on multiple ports?
Let's say I have vlan5 192.168.5.0, it is possible to attach it on port1 and port2 so then I will have on these ports the same shared vlan5 subnet ?
thanks
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello Wojtek,
you can assign the same VLAN to multiple physical ports, and with different IPs on the same subnet. Do do that, you need to enable 'allow-subnet-overlap'
See https://kb.fortinet.com/kb/documentLink.do?externalID=FD30014
Best regards, Benoit
Created on 05-01-2022 10:22 AM Edited on 05-01-2022 10:23 AM
So you said your config example above is non-tagged. Then you can still configure IP address on the "VLAN SW"? In other words, with this particular config, the vlan switch provides so-called "native VLAN". But I'm assuming can't have both non-tagged and tagged VLANs on one port at the same time.
But when I tried last time with a 60F with "trunk" enabled, I still couldn't stack multiple VLANs. Maybe because I chose different set of ports and only one port had two VLANs. Further test is needing.
Toshi
Created on 05-02-2022 04:30 PM Edited on 05-02-2022 04:31 PM
Before start testing this again I wanted to upgrade the 60F to 6.4.9 which was released last week. Then it crashed. TAC said "match a known issue" below:
801985:Kernel panic occurs when a virtual switch with VLAN is created, and another port is configured with a trunk.
Also said it would be fixed on 6.4.10. I guess this feature is not so stable at this moment.
Toshi
Hi Toshi
Yes, what I see is this feature is not stable, with possible bugs in the latest firmware. For example, if you have a port1 in a VLAN Switch and set trunk enable. Then when you reboot the FortiGate or even reload the config, the port1 will be removed from the VLAN switch, because it has trunk enable and it can't be added to any switches or used any where. I will report this to devs.
In short, don't use this feature for now.
Viet
Created on 05-03-2022 11:00 AM Edited on 05-03-2022 11:01 AM
I agree, Viet. I had to remove "zombie" hard-switch interface in interface config by removing it from backup config file then restore.
We'll disable this feature for any 60F installations for now.
Toshi
Ok Toshi, I discussed this with engineering, here are the outcome:
1- Later FOS will not let VLAN switch member to be a trunk, you can't set trunk enable if the port is a member of VLAN switch. It means a trunk port is a standalone port.
2- A port when enable trunk will be a dedicated Trunk port (see the GUI) and it must be in the root vdom if you have multiple vdom.
3- Trunk port doesn't support LACP. You can't enable LACP as trunk interface.
4- Trunk port allows all VLAN for now, which is defined in the VLAN Switch (set vlan)
5- The basic setup as below:
a- port1, port2 as members of a VLANSwitch - set vlan 10 . The host PC1 connect to port1 or port2.
b- port3 is set as a dedicated trunk port.
c- port3 physically connects to a trunk port (eth0) on an external vlan switch , it allows vlan 10
d- On the external switch, eth1 is access port on vlan 10.
e- The host PC2 connect to eth1 on the external switch.
PC1 now can communicate to PC2 on VLAN 10.
Hope it's clear now about vlan switch.
Still not 100% clear to me. But we don't want to use it at least for now if the "trunk" doesn't support LACP agg interface. I don't see clear benefit over combination of hard-switch + stacked up VLAN subinterfaces.
But once 6.4.10 comes out, I'll conduct more comprehensive/exhaustive test. Or the proper documentation from FTNT might be available by that time (I don't have much hope for that part though).
Toshi
I currently cannot see the use in this. For what do I configure a vlan switch with vid if it then does not tag the traffic? Then creating a Trunk in my opinion would render the switch useless because the ports are trunked (i.e. they behave like one Port and not a "port replicator" aka switch). So for what would that be good? Can anyone explain that to me?
Since that is completely opositing things I don't really wonder about that leading to a kernel crash upon upgrading...
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1662 | |
1077 | |
752 | |
446 | |
220 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.