Solved

Windows, route -f

Posted on 2012-04-02
3
537 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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). …

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now