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

Fortiswitch L2 2 device ping with same VLAN

Hi, while configuring Tier 1 (Core) and Tier 2 (Distribution )FortiSwitch. I want to test 2 device ping each other, with the same vlan (for example VLAN2). Let say I don't want to mind the FG, only the L2 first. Do I need to set the VLAN2 with IP address to the Tier 1 (Core) and Tier 2 (Distribution) or it will work even if I set only to Tier 2.

 

Thanks

3 REPLIES 3
Jean-Philippe_P
Moderator
Moderator

Hello LB28, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Thanks, 

Regards,

Jean-Philippe - Fortinet Community Team
Jean-Philippe_P
Moderator
Moderator

Hello,

 

We are still looking for an answer to your question.

 

We will come back to you ASAP.

 

Thanks,

Regards,

Jean-Philippe - Fortinet Community Team
Jean-Philippe_P
Moderator
Moderator

Hello LB28,

 

I found this solution. Can you tell us if it helps, please?

 

To test connectivity between two devices on the same VLAN (e.g., VLAN2) across Tier 1 (core) and Tier 2 (distribution) FortiSwitches, you do not need to assign an IP address to VLAN2 on the switches if you are only concerned with Layer 2 (L2) connectivity. Here are the steps:

 

  1. VLAN Configuration: Ensure that VLAN2 is configured on both Tier 1 and Tier 2 switches. This includes tagging the appropriate ports that connect the devices and the inter-switch links.

  2. Trunk Ports: Configure the inter-switch links as trunk ports to allow VLAN2 traffic to pass between the switches.

  3. Device Configuration: Assign IP addresses to the devices within the same subnet on VLAN2. This is necessary for the devices to communicate with each other.

  4. Testing: Use the `ping` command from one device to the other to test connectivity. Since you are focusing on L2, the switches do not need IP addresses on VLAN2 for the devices to communicate. The IP addresses are only necessary if you need to manage the switches or perform routing functions.
Regards,

Jean-Philippe - Fortinet Community Team
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors