Solved

Clearing Route Table

Posted on 2001-07-31
3
161 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
[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 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

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…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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