How can I configure multiple gateways in a Windows system? First, I need to write the routing program "" file in the Windows installation directory, with the file contents:
route add target 1 mask subnet mask gateway 1
route add target 2 mask subnet mask gateway 2
route add 0.0.0.0 mask 0.0.0.0 Default gateway
Among them, Target 1 is the first network number of the route and Target 2 is the second network number of the route. The subnet masks are the subnet masks of the two networks respectively.
Secondly, set the routing program "" automatically executes every time you start Windows, that is, adds a shortcut to the program "" to the "Startup" bar of the menu. The specific setting steps are: click "Start → Settings → Taskbar and Start Menu" to customize the Start Menu program.
Click Add, enter "C:\Windows\" and press Enter. Here we assume that the Windows installation directory is "C:\Windows". Then double-click the "Start" folder, enter the name of the program in the "Start" menu, and then click the "Next" button to select the program icon. Finally, modify the properties pointing to the shortcut of the program "", click "Start → Program → Start", right-click "", select properties, select "Minimize" and "Close on Exit".
There is another method: select the file you want to add to the "Startup" item, then press the Microsoft logo key on the keyboard, select to place it anywhere, and then use this step to place it anywhere!
Through the above settings, the user's need to configure multiple gateways can be met.
route add target 1 mask subnet mask gateway 1
route add target 2 mask subnet mask gateway 2
route add 0.0.0.0 mask 0.0.0.0 Default gateway
Among them, Target 1 is the first network number of the route and Target 2 is the second network number of the route. The subnet masks are the subnet masks of the two networks respectively.
Secondly, set the routing program "" automatically executes every time you start Windows, that is, adds a shortcut to the program "" to the "Startup" bar of the menu. The specific setting steps are: click "Start → Settings → Taskbar and Start Menu" to customize the Start Menu program.
Click Add, enter "C:\Windows\" and press Enter. Here we assume that the Windows installation directory is "C:\Windows". Then double-click the "Start" folder, enter the name of the program in the "Start" menu, and then click the "Next" button to select the program icon. Finally, modify the properties pointing to the shortcut of the program "", click "Start → Program → Start", right-click "", select properties, select "Minimize" and "Close on Exit".
There is another method: select the file you want to add to the "Startup" item, then press the Microsoft logo key on the keyboard, select to place it anywhere, and then use this step to place it anywhere!
Through the above settings, the user's need to configure multiple gateways can be met.