How to configure multiple gateways in WinXP system

  

Our online environment is often replaced, companies, homes, cafes, libraries, etc., every time you go to a WinXP system to configure a gateway, it is very troublesome, and many Users don't know how to configure multiple gateways. It takes a certain number of steps to configure multiple gateways under WinXP system. Unfamiliar friends can look down.

First of all, in the WinXP installation directory, write the routing program "route.bat"; file content:

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, target 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 "Start" column of the menu. The specific setting steps are: click “ start → set → taskbar and start menu & rdquo;, custom start menu program.

Click “Add”, enter “C:\\Windows\ oute.bat” 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 click the "Next" button to select the program icon. Finally, modify the properties of the shortcut to the program "route.bat"; click “start →program →start”, right click on <route.bat”, select properties, select “minimize” and&ldquo ; close when exiting & rdquo;

There is also a method: Select the desired added & ldquo; Start & rdquo; file entry, then press the Microsoft logo key on your keyboard, select it just in one place, then this step It can be placed anywhere!

With the above settings, you can meet the needs of WinXP users to configure multiple gateways. It looks complicated, but it is quite easy to operate. As long as we prepare the route.bat file to the computer, the rest of the operation can be easily solved by step-by-step.

Copyright © Windows knowledge All Rights Reserved