Configuring multiple gateways for the Windows operating system

  
How can I configure multiple gateways in a Windows system? First, write the routing program "route.bat" file in the Windows installation directory. The file contents are: 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 where target 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. Secondly, each time you start Windows, the routing program "route.bat" is automatically executed, and the shortcut to the program "route.bat" is added to the "Startup" column of the menu. The specific setting steps are: Click “Start → Settings → Taskbar and Start Menu” to customize the start menu program. Click "Add", type "C:\\Windows\ oute.bat" and press Enter. Here we assume that the Windows installation directory is "C:\\Windows". Then double-click the "Startup" folder, enter the name of the program in the "Startup" menu and click the "Next" button to select the program icon. Finally, modify the properties of the shortcut to the program "route.bat", click "Start → Programs → Start", right click on the "route.bat", select the properties, select "Minimize" and "Close on Exit". There is also a way: select the file you want to add to the "Startup" item, then press the Microsoft logo button on the keyboard, choose to put it anywhere, and then you can place it anywhere through this step! Settings can meet the needs of users to configure multiple gateways.
Copyright © Windows knowledge All Rights Reserved