Solved

Windows, route -f

Posted on 2012-04-02
3
531 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
Comment Utility
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
Comment Utility
-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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

771 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

16 Experts available now in Live!

Get 1:1 Help Now