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:
- 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.
- Trunk Ports: Configure the inter-switch links as trunk ports to allow VLAN2 traffic to pass between the switches.
- 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.
- 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.