I have a Cisco 2960-X switch and a Cisco SG-300 switch. I created VLANs on 2960-X switch (e.g. VLAN 10 with ports 1-5 and VLAN 20 with ports 6-10) and allow DHCP for each VLAN.
Now, laptop 10.10.1.2 and laptop 10.10.2.2 can ping each other successfully.
After this:
- I connect SG-300 into a port of VLAN 20. VLAN 20 assigns it an IP address 10.10.2.3 by DHCP.
- I connect a third laptop into one port of SG-300 switch. It got an IP address 10.10.2.4 automatically (I did not do any configure on SG-300, a new switch)
- laptop 10.10.2.4 can ping 10.10.1.2 successfully.
- laptop 10.10.1.2 can ping 10.10.2.3, but cannot ping 10.10.2.4, which is behind SG-300 switch.
Hence, to make 10.10.1.2 ping 10.10.2.4 each other successfully, how to configure SG-300 switch?