Win2K Routing.
How can I change the default route from the command line in Win2K.
I can add a new route with
route add 10.10.24.0 mask 255.255.255.0 10.10.100.0
But I can't figure out how to change the default.
Thanks in advance,
Kev.
Windows Forum
How can I change the default route from the command line in Win2K.
I can add a new route with
route add 10.10.24.0 mask 255.255.255.0 10.10.100.0
But I can't figure out how to change the default.
Thanks in advance,
Kev.
by francis_seah
Try the following:
c:> route delete 10.10.24.0 MASK .....
to delete those route that you have created. However, the route add command only applies when your system is on. Why don;t you try to create a bat file and dump it on the startup so that you can defined the route that you want to run.
Tks..
Francis Seah
Default routes are always specified as 0.0.0.0 with a mask of 0.0.0.0
use
route -p ADD 0.0.0.0 MASK 0.0.0.0 x.x.x.x
Make sure that you don't have one listed in the GUI. The -p makes it persistant across reboots. x.x.x.x is the router IP.
HTH
Thank you.
That's what I was after.
Some testing indicates to me that I can actually have on assigned by the GUI, and I can delete it, and replace it. Which is exactly what I was after.
This discussion is closed to new replies.
Sort by Trending