I connected my laptop to my modem through WLAN and connected my PC to the modem by LAN.
The IP address of my laptop is
The IP address of my PC is
I am able to ping my default gateway from both the hosts. The default gateway is my modem and the IP is
But the ping from my laptop to PC and vice versa fails. Why?