thanks for replying.yep i did exactly that. set static IP and DNS nos. with or with out the DNS nos i could still ping it though. this is quite strange. yep i ping yahoo.com (216.109.112.135) i get a reply.
log file
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\User1>ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
Reply from 216.109.112.135: bytes=32 time=335ms TTL=49
Reply from 216.109.112.135: bytes=32 time=336ms TTL=50
Reply from 216.109.112.135: bytes=32 time=335ms TTL=50
Reply from 216.109.112.135: bytes=32 time=334ms TTL=49
Ping statistics for 216.109.112.135:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 334ms, Maximum = 336ms, Average = 335ms