thanks man for the replies but i did get a solution doing this from another forum.
"You need to have the router LAN IP address on a separate subnet from the modem. If you're going to give the modem 192.168.1.1, put the router LAN address on 192.168.2.1. If the modem is on 192.168.1.1, you should not be able to ping it thru 192.168.1.2."
basically you have ip conflict between your adsl modem and the linksys.because from the modem you got 192.168.1.1 for the public ip and the same private ip from the linksys.a simple change in the 3rd octate solve the problem. :wink: