I have two Cisco layer 3 switches. In switch 1, I created two vlans, 10.10.1.0/24 and 10.10.2.0/24. The connection is shown in the figure.
- PC 1 and PC 2 have static IP address (10.10.1.5 and 10.10.2.5)
- switch 2 is connected to switch 1 through vlan 2
- DHCP pool is not activated in both switch 1 and 2
To let PC 1 and PC 2 communicate with each other (for example, use ping to verify), I should configure static route in switches, right? How to configure this?