Link to home
Start Free TrialLog in
Avatar of Duke001
Duke001Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Persistent Routes

Hi Experts!

I have noticed that I have still an old address on the routing table of my server as follow:

Persistent Routes:
Network Address     Netmask    Gateway Address    Metric
        0.0.0.0               0.0.0.0                10.0.0.244    Default

I am wondering if I should get rid of this record as this was heritage from the old network.

If yes, is the command below the right one?

>route delete 0.0.0.0 mask 0.0.0.0 gateway 10.0.0.244

Thanks,
Duke001
Avatar of Mike Roe
Mike Roe
Flag of United States of America image

I would delete it.  That is the command
ASKER CERTIFIED SOLUTION
Avatar of Giladn
Giladn
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Typically default routes are set based on a NIC configuration.

Do you still have a NIC that may have that set as the default router/gateway?

I am also assuming that you do have some other address set as your default.

If this route is set based on somebody issuing the route add command with the "-p" option, then I think you may need to edit the registration or after a re-boot it will come back.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Duke001

ASKER

I have been away from the office and just come back to this issue today.

Giladn wrote:
0.0.0.0   0.0.0.0  (your default network interface gateway)  1  (metric)

on my server:
0.0.0.0   0.0.0.0  (my default network interface gateway) 266 (metric)

Is the metric number ok?

Sorry, but as I am a novice I am a little nervous about deleting things without a reasonable amount of understanding.

I do appreciate your patience.

Thanks,
Duke001
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please post the output from the command:


netstat -rn
Giving credits ahead for GILTJR for the idea -

try this instead :
netstat -nao | findstr "10.0.0.244 "

see if you get an output line..
Avatar of Duke001

ASKER

After running the command:
>netstat -nao | findstr "10.0.0.244 "
... nothing has been found.
Do you have a network interface on the 10.0.0 subnet?

Can you provide the output of "ipconfig /all"?
do:
route print > route.txt
now you have a backup of routing table.
n

now execute:
route -f
it will flush the routing table from presistant routes (the 1 you have)
thats it.

G
Doesn't route -f flushed ALL routes from the routing table.

At least that is what it did when I just did it on my PC.  All routes were gone.  Had to reboot to get them back.  I do not use DHCP on my PC, I have a static IP address coded.