Several web sites gave lots of different options for what might be wrong. None of them fixed my problem. On a whim, I finally decided to have a close look at the DHCP logs on my router (which happens to be a Linux server running the ISC DHCP daemon).
I noticed that the laptop was repeatedly requesting an IP address that was not in my LAN subnet. My DHCP server was offering a valid IP address, but the laptop was rejecting that offer.
The short solution was to switch the laptop over to a static IP address, then back to dynamic DHCP again. If you're not sure how to do that, here's the details:

The network should now be working. Try to ping www.google.com to test it out.
Now go back into the IPv4 properties and set both the IP address and the DNS servers to be obtained automatically. This is where they should have been before we started all this.
Test the network again by pinging an outside address.
If you check the DHCP server logs again on your router, you should see that the laptop is once again accepting the offer of an appropriate IP address.
I have no idea what caused this to happen. If this solution fixed the problem for you, too, please let me know in the comments below. If not, let me know that as well.
No comments:
Post a Comment
Please leave your comment below. Comments are moderated, so don't be alarmed if your note doesn't appear immediately. Also, please don't use my blog to advertise your own web site unless it's related to the discussion at hand.