System Configuration:
Two Dual boot computers Windows XP and Ubuntu 9.04
Symptoms:
Ubuntu gets valid IP from DHCP.
Ubuntu can browse local computers and network drives.
Ubuntu can not browse the web.
Ubuntu can only ping computers in local network.
Ubuntu Default gateway 10.0.0.2
Windows has no issues.
Windows gets valid IP from DHCP
Windows can browse local computers and network drives.
Windows can browse the web.
Windows Default gateway 10.0.0.2
Solution:
Windows would time out when tracert www.google.com (start run cmd then type tracert www.google.com ) Then Windows would go out through 10.0.0.1.
Ubuntu never went out 10.0.0.1 and just waited for ever to time out.
In terminal run
It will print out a table like this one:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth0
Then run
Code:
sudo route del default gw 10.0.0.2
sudo route add default gw 10.0.0.1
This solved the problem. Ubuntu needed the correct default route.
Bookmarks