02-08-2020 02:08 AM - edited 02-08-2020 02:10 AM
Hi everyone !
I have a problem with the communication between two switches, here is the simplified configuration:
My PC1 and 3 cannot communicate. Same for my PC2 and 4.
There is surely something I did wrong but what ...
Some will invite me to do a trunk between my two switches but can we try to solve this problem in the current state of my config which should work in theory ?
Looking forward to your help !!
02-08-2020 02:27 AM
If these switches are independent - you do not have any other option to communicate.
As per your diagram, what is the connection config between port switch 1 - 9 to switch 2 - port 1 and for other port same like 13 to 5
Questions :
1. Are you able to ping PC1 to PC2 ?
2. where is the Layer 3 IP configured in Switch for 10.X and 8.X subnet?
3. what model switches, and what code running?
4. Post full configuration of both the switches.
Options : for now (until we know more information here)
1. Stack them to work as expected.
2. Create port-channel or Trunk and allow the VLAN to work.
02-08-2020 03:00 AM
Hello,
provided you are using crossover cables to connect the switches, make sure the ports are configured as below:
SWITCH 1
interface FastEthernet0/2
description Link to PC1
switchport mode access
switchport access vlan 1
spanning-tree portfast
!
interface FastEthernet0/9
description Link to SWITCH_2
switchport mode access
switchport access vlan 1
spanning-tree portfast
!
interface FastEthernet0/6
description Link to PC2
switchport mode access
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/13
description Link to SWITCH_2
switchport mode access
switchport access vlan 2
spanning-tree portfast
SWITCH 2
interface FastEthernet0/10
description Link to PC3
switchport mode access
switchport access vlan 1
spanning-tree portfast
!
interface FastEthernet0/1
description Link to SWITCH_1
switchport mode access
switchport access vlan 1
spanning-tree portfast
!
interface FastEthernet0/14
description Link to PC4
switchport mode access
switchport access vlan 2
spanning-tree portfast
!
interface FastEthernet0/5
description Link to SWITCH_1
switchport mode access
switchport access vlan 2
spanning-tree portfast
02-08-2020 09:24 AM
The original post shows a simple topology which has 2 switches. Each switch has some ports in vlan 1 and some ports in vlan 2. Each switch has an access port in vlan 1 and an access port in vlan 2 which connect to corresponding ports in the other switch. Each switch has a PC connected to a port in vlan 1 and to a port in vlan 2. If the switches are configured correctly then the PCs should be able to communicate to the other PC in that vlan. If the PCs are not able to communicate within their vlan then there must be some issue in the configuration or in the connection between switches. Ultimately we may need to see the configuration of each switch. But as a first step in figuring this out I would like to see the output of these commands on each switch
show cdp neighbor
show interface status
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide