I'm having the same problem. I can ping whatever I want, successfully, but anything that requires DNS, such as FireFox, SSH, or Synaptic, I can't connect. (I can, however get google to come up in FireFox, if I type in the IP address, and can connect to SSH servers if I use the IP addresses.) Naturally, I can also connect, and log into, both routers (by typing in their IP's into FireFox).
This problem occurs when I'm using the Ubuntu (7.10 Gutsy) OS on my computer. When I reboot into XP (it's a 3 boot computer), everything works fine. I even plugged in my laptop to the same router, and it works fine (in XP). The computer that is having problems (in Ubuntu and not in XP) is using a Hewlett-Packard J2585B 10/100mb ethernet adapter. It is sitting behind a D-link router, which sits behind a Linksys router, that connects to the internet.
My (successful) XP connection looks like:
Code:
IP Address: 192.168.0.102
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1 <-the D-Link
DHCP Server: 192.168.0.1
DNS Server: 192.168.0.1
My Ubuntu /etc/resolv.conf says:
Code:
nameserver 192.168.0.1
iptables -L outputs:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ifconfig includes the following for eth0:
Code:
inet addr: 192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
Scope: Link
UP BROADCAST RUNNING MULTICAST
I thought it might be a driver issue for the HP card, I'm using, but that doesn't really make sense, and it came up in Ubuntu's Device browser just fine.
I'm kind of stumped on this one. Any help would be greatly appreciated. Thanks in advance.
EDIT: After doing a little bit more hunting, I found that
turning off IPv6 in FireFox solves my dns resolve issues (only for firefox, however). This makes me wonder if the problem is simply because I don't have IPv6 support on my D-Link Router. (I just looked all over the router, and I don't think it supports IPv6.) I'll see If I can get a firmware upgrade for it, and see if this resolves the issue.
Still, any help would be much appreciated.