You are here

Changing the default gateway from the Windows commandline

Submitted by Druss on Thu, 2020-12-17 17:58

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 :)