I used the SVI on switch4

CodePudding user response:
Layer 2 switch on the left 4 f0/2 to accessThe left three layer switch 4 vlan10 address into 192.168.1.1
Ensure that the gateway is 192.168.1.1 PC on the left (your mistake suspected points), can ping 192.168.2.1
Make sure the right on the three-layer switch5 192.168.1.0/24 routing (suspected your error point),