Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was looking for a way to portfoward default gateways and I found in a Microsoft page that I had to try the command route delete, my internet disconnected and I couldn't connect to the internet anymore... Does anyone have a solution? It's an ADSL Modem.

I have:

  • Windows 7 x32
  • 4 GB ram
  • A kanji modem that has this problem too...

It's like Windows doesn't detect the wireless adapter, so it won't connect to the internet.

share|improve this question

In my experience, Windows has the very annoying habit of automatically recreating the route for no apparent reason. Through the Network and Sharing Center, the troubleshooter will probably manage to fix this automatically. Simply disconnecting and reconnect might too. If that fails, reboot.

Deleting the effectively disables the standard gateway. Traffic for which no known specified route exists, as is the case for most destinations on the internet, should be sent to the router, but your OS doesn't do that anymore. Instead, it instantly determines there is no route for your destination and gives up. You can manually restore the route through the command line using: route add mask, replacing the third IP by the address of your gateway.

share|improve this answer
+1, disabling/enabling adapter is normally enough to recreate it – wmz Sep 8 '12 at 15:12
the adress of my gateway? how can i get that, every time before this that i wrote ipconfig in the cmd the default gateway was, i just write route add mask – Santiago Sanchez Sep 9 '12 at 23:45
how can i disable/enable my adapter? the more information you gve me , the faster i will solve the problem :P – Santiago Sanchez Sep 10 '12 at 1:19
' mask' means the route is valid for all addresses, hence default gateway, but is not the IP of the gateway itself. Generally, you would use the LAN-IP of your router. DHCP does that automatically. You can disable the interface through the Network and Sharing Center: Change adapter settings, select the interface and click Disable. – Marcks Thomas Sep 10 '12 at 13:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .