In order to test my newly setup WRT160NL, I hook up an intermediate wireless router to my home router for testing purpose.
Here's my setup:
Home wireless router hooked up to DSL broadband. Running wep encryption.
(Intermediate) Asus Wireless router's WAN port connect to one of LAN port on the home router. No encryption.
WRT160NL running Openwrt wireless connect to Asus intermediate router.
My problem is, from WRT160NL, I can ping 74.125.47.99 but I can not ping www.google.com.
root@OpenWrt:/# ping www.google.com
ping: bad address 'www.google.com'
root@OpenWrt:/# ping 74.125.47.99
PING 74.125.47.99 (74.125.47.99): 56 data bytes
64 bytes from 74.125.47.99: seq=0 ttl=50 time=31.082 ms
64 bytes from 74.125.47.99: seq=1 ttl=50 time=24.095 ms
64 bytes from 74.125.47.99: seq=2 ttl=50 time=22.683 ms
64 bytes from 74.125.47.99: seq=3 ttl=50 time=23.143 ms
^C
--- 74.125.47.99 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 22.683/25.250/31.082 ms
root@OpenWrt:/# cat /etc/resolv.conf
nameserver 127.0.0.1
I know that, if I turn off encryption on my home router, and connect WRT160NL to that, then I don't have this problem.
So what happen to the DNS service when I hook up an intermediate router? I tested with my laptop, and the laptop is fine.
I tried google the issue but still can't figure it out.
Thanks, CJ