Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
darrencarr
New Contributor II

VLANs on Fortigate

Guys I am experiencing a bit of an issue. I have two Fortigate 1000A' s that I am trying to connect over a L2 circuit. I only have one physical port available on each of the Fortigates so am trying to make use of VLANs. I have created the VLAN on each of the interfaces (Int 8). However when I patch into the Foritgate I get a MAC flapping issue. When I investigate further I have found that both VLANs are using the same MAC address 0009.0f09.0008 Is there anyway I can adjust this? I am guessing this is how the Fortigate creates its VLANs and the 8 at the end of the MAC relates to the interface number? Anyone experienced anything like this? I dont really want to start adjusting MAC addresses in the config if I am going to run into issues? I cannot upload the network diagram for some reason... will try again off another connection...
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
10 REPLIES 10
g3rman
New Contributor

Looks like both of your Fortigates are in HA mode. I also assume that they are not in the same cluster. If that' s the case go ahead and configure each unit for a different cluster ID (http://kc.fortinet.com/default.asp?id=1772&Lang=1).
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
darrencarr
New Contributor II

Hi You are correct my Fortigates are in HA mode. I was hoping that if I used interface 2 instead of 8 I would get a different MAC address for the VLAN and this would solve my issue. I am having trouble attaching the network diagram, can email if you want to have a look? Thanks D
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
g3rman
New Contributor

Are they in the same HA cluster? If not I really would recommend simply changing the cluster ID on one. That is the best way to do it.
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
darrencarr
New Contributor II

Hi I have four Fortigates in total in my network. Two are in a HA cluster at HQ and two are in a HQ cluster at the other site. I am trying to connect interface 8on both of the Fortigates with a L2 WAN connection but am getting the MAC address flap issue on the switch I am patching the Fortigate into. If you believe that changing the cluster id could solve the issue what is the impact to the cluster? Thanks D p.s. would it help if I sent you the network diagram? thanks for your help
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
darrencarr
New Contributor II

g3rman Thank you for your help having read through the document I do agree your method is the best way. The consultants who implemented the firewall solution have left the group_id on both clusters as 0. Sometime back they tried to get them to talk to one another but it failed, im now thinking this is what caused the issue. I dont have a full test lab to test out changing the current configuration i.e. adjusting the group_id, can you tell me what is the likely impact given that this is a semi-production network. Obviously the virtual MAC addresses willl change, will the device need a reboot? Thanks oh and one last question... how does the device manage the MAC address of the virtual interface i.e. any VLANs that sit beneath the physical interface? is there any way to show these? Thanks
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
g3rman
New Contributor

I can' t comment on the actual impact, of course scheduling a maintenance window would be wise ;) At worst you would experience a few dropped pings, the firewalls should not have to reboot. Also, make sure you clear the ARP cache on any surrounding devices once you make the change as the virtual MAC addresses will change on the firewall you modify. Not quite sure what you mean by the second question. Can you elaborate?
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
darrencarr
New Contributor II

Thanks for the information :) What I was wondering was if I have created a VLAN lets say VLAN1029 on the physical interface Interface 8 and assign an ip of 172.31.33.1/30 how do I view the MAC-ADDRESS of this interface? Or do I not get to see it as it is hidden behind the virtual one associated with the physical interface in the cluster? I am just trying to document how the network will look and can' t quite get my head around how the cluster will manage VLANs associated with a virtual mac-address for a given interface? Thanks.. hope this makes sense... again I can flick you a jpeg of the network which may make things easier?
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
g3rman
New Contributor

Two things: -Under System -> Network edit Port 8. This gives you the physical MAC address for Port 8. This works for units in standalone mode. -The MAC address for your Port 8 in HA mode (and any VLANs trunked to the port) will be 00-09-0f-09-00-0b (assuming your cluster ID is 0). You never see the physical MAC for Port 8 on the network, only the virtual MAC. Let me know if I' m still not answering the question .. I am a bit slow at times :)
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
darrencarr
New Contributor II

Hi Thanks again for getting back to me and taking the time to explain this. I read over HA component last night and understand this now. I' ve looked over the Firewall config and this issue is definetly (as you have suggested) being caused by the group ID. One last question I have is regarding my design. In my network I have two L2 WAN circuits that I need to patch into a single Fortigate interface. For this reason I am creating two VLANs on the physical interface lets say VLAN 1029, 1332. I have patched the two circuits into access ports in a L2 Cisco switch (in their respective VLAN) and from here I have a trunk connection from the switch into the Fortigate interface (one from each switch into the physical interface 8) of each of the Fortigates. I' m just wondering how the Fortigate manages the failover of a Fortigate for the VLANs and how you view a VLAN on a Fortigate? i.e. one of the VLANs has an address of 172.31.33.1 and the other 172.31.32.1 (.2 on the other side). When sending traffic how does it look up the MAC address of these interfaces to send traffic? Sorry if I' m not being clear here.... we will get there in the end!
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors