My guess would be the following: the 2950 doesn't have a default gateway, so all it can do is ARP for all destination IP addresses whether they're on the local subnet or not. This is fairly common behavior whenever a device either a) doesn't have a gateway, or b) is using itself as a gateway.
Because the switches are directly connected and each switch's uplink port is in the same VLAN as its management interface, the 2940 sees the ARP request and sends an ARP reply to the 2950. The 2950 now has a layer-2 address via which 188.8.131.52 is reachable, and can hence construct and send packets to that IP.
Again my understanding is that in standard TCP/IP implementations a subnet mask needs to be applied to see if the destination is in the same network or not.In this case destination is in a different subnet,so ping should immediately fail.No ARP broadcast needs to be sent.
I agree that this is the way things should be done. And it's the way Windows XP works per some testing that I just did -- the behavior of ARP'ing for everything only occurs when a Windows XP machine is configured with itself as the gateway, while remote hosts are immediately declared unreachable when no gateway is configured. (I thought I had a recollection of Windows boxes behaving this way without a default gateway as well, but I may not be remembering correctly.)
But a lot of vendors have somewhat of a history of making their devices more likely to work by default (i.e., more user friendly) at the expense of totally clean/correct/secure/etc protocol behavior, a good example of which is proxy-arp being enabled by default in Cisco routers. So I wouldn't be surprised if Cisco layer-2 switches, in the absence of a default gateway for management traffic, just ARP'd for all destinations rather than immediately giving up. And I can't think of any other possible reasons for the behavior you're seeing (unless CDP is somehow coming into play here, but that's a longshot), so I figured I'd mention it.
I think the only way you're going to know for sure what's going on is by connecting the switches via a hub, and placing a sniffer on the hub to capture the traffic. Clear the ARP caches of both devices, send a ping, and watch the packets.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.