Solved

Clearing Route Table

Posted on 2001-07-31
3
160 Views
Last Modified: 2010-04-13
Ok,

Here's the deal.  I have a server with crazy routes that shouldn't be there.  Whent I do a route print on my Win2k Server, a crap load of IP's shoot out.  I wanna clear this all out, as it should not contain a route for each and every IP out there.  How do i do this?  I also can't reinstall the TCP/IP stack as I only have PcAnywhere access to the machine.

Thx.
0
Comment
Question by:lofu
3 Comments
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 6338779
You can remove them one by one, with the command
route delete <ipaddress>

If you can't drop your ipstack, this is as far as i know the only way to clean it up. If you are unsure of which routes you can delete, you can post a ROUTE PRINT here along with an IPCONFIG /ALL, and we can tell you what is safe to delete.

Tonny
0
 
LVL 13

Accepted Solution

by:
hstiles earned 100 total points
ID: 6340655
I think the command you're looking for is "route -f"

If you're using a Windows NT/2000 machine as a router, it's a good practice to schedule a job to execute soon after the machine starts running the route -f command, followed by route add commands for all of your static routes.
0
 

Author Comment

by:lofu
ID: 6345453
Why do the routes stay in the tables?  We have 10 of these machines and some of the tables are 'clean' while others keep routes in.

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

765 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