Solved

Windows, route -f

Posted on 2012-04-02
3
569 Views
Last Modified: 2012-04-03
I did a route -f on my Windows machine

Now I can not remote desktop to it

Why did this happen

How do
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Assisted Solution

by:frajico
frajico earned 167 total points
ID: 37798327
You have deleted the default route and the default gateway.

If you obtain your IP address from a DHCP server, just disable your network connection on the PC and re-enable again. You will obtain again the default gateway and the default route configuration.

If you have a static IP address, you must configure again the default gateway on the PC connection properties, and add the default route throguht the dfault gateway with:

route add 0.0.0.0 mask 0.0.0.0 IP_default_gateway
0
 
LVL 14

Assisted Solution

by:theras2000
theras2000 earned 166 total points
ID: 37798339
-f should get rid of the default gateway/s, so now the machine can't get to the internet anymore.  I assume you're not nearby, so you're going to have to visit the machine.  Have you set a static IP on that machine?  If so, check the TCP/IP settings and see if the gateway is gone.  I suspect that if you just reboot that machine, it'll be back to normal.
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 167 total points
ID: 37798708
route -f clears the routing table information. So now you do not have routing information to go to other Networks.
you can restart your machine or disable/Enable your network card.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question