I have connected 2 cisco 2960 switches using access ports (not trunking) and i configured one management ip for each.
The first one
ip address 10.10.10.1 255.255.255.0
The second one
ip address 192.168.1.1 255.255.255.0
No default gateway is configured.
The 2 ports connecting the switches are configured to be in vlans 1 and 5 respectively.
The two management ips belong to different subnets and the switches are layer 2. There is no Layer 3 device between them however ping is successful from both sides.How is this possible?
Shouldnt ping be working only if management ips were in the same subnet and ports belonging in the same VLAN?