A gateway, or router, is a prerequisite for the operability of a home or corporate network. That is why its stable operation is important, and also you must be able to properly install and configure the router to ensure the smooth operation of your network. Setting up a router in Windows XP and Windows 7 is a snap.
Instructions
Step 1
To start setting up, open "Start", then - "Control Panel", and select the network connections menu. Right-click on the adapter for which you want to configure the gateway, then click in the drop-down menu "Properties".
Step 2
Click the Networking tab. Find the "Components Used by This Connection" section to change the protocols.
Step 3
Open the "Internet Protocol TCP / IPv4" section and click on "Properties" to change the IP. You will be prompted to choose whether to automatically obtain IP addresses and DNS server addresses, or to configure these settings manually.
Step 4
By configuring to receive addresses automatically, you make your gateway a DHCP server. If you manually configure the addresses, your default gateway will be the IP address you entered.
Step 5
When you are finished configuring the gateway, add network routes using the command line. To call it, open Start, click "Run" and enter the cmd command in the window that appears.
Step 6
Add new routes as follows: route -p add [destination] [mask subnet gateway mask] [metric metricinterface, where destination is an IP address, the subnet mask is set automatically - 255.255.255.255, the gateway will be the IP address corresponding to the router, the metric should be the smallest, and you need to determine the interface index by entering the route print command at the command line. You can skip this parameter and it will be automatically detected based on the gateway address.