How can I configure multiple gateways in windows? First, you must write routes in the Windows installation directory. ProgramThe "route. Bat" file contains the following content:
Route add Target 1 mask subnet mask gateway 1
Route add destination 2 mask subnet mask gateway 2
Route add 0.0.0.0 mask 0.0.0.0 Default Gateway
Destination 1 is the first network number of the route, and destination 2 is the second network number of the route. The subnet mask is the subnet mask of the two networks.
Next, set the route program "route. Bat" to automatically execute each time windows is started, and add the shortcut pointing to the program "route. Bat" to the "Start" column in the menu. Click Start> Settings> taskbar and start menu to customize the Start Menu program.
Click Add, enter c: \ windows \ route. bat, and press Enter. Here we assume that the installation directory of Windows is "C: \ Windows ". Double-click the "Start" folder, enter the name of the program in the "Start" menu, click the "Next" button, and select the program icon. The last modification points to the program "route. bat "shortcut properties, click" Start> program> Start ", right-click" route. bat, select properties, and select "minimize" and "close upon exit.
Another method is to select the file to be added to the "Boot" item, press the Microsoft logo key on the disk, and choose to place it anywhere, then, you can put this step anywhere!
With the preceding settings, you can configure multiple gateways.