Changing the default gateway from the Windows commandline
The command to use is route
. Use route --help
and route print
for information and then use the following command to change the gateway from 192.168.0.1 to 192.168.1.1.
route change 0.0.0.0 MASK 0.0.0.0 192.168.1.1
Good luck :)