Duke001
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
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
I would delete it. That is the command
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please post the output from the command:
netstat -rn
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..
try this instead :
netstat -nao | findstr "10.0.0.244 "
see if you get an output line..
ASKER
After running the command:
>netstat -nao | findstr "10.0.0.244 "
... nothing has been found.
>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"?
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
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.
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.