When there are more than two network segments in a local area network, hosts divided into different network segments are invisible to each other. To solve this problem, it is necessary to set up routers between different network segments. If you spend tens of thousands of yuan to buy a router, it is not worth it to only connect to two network segments in the LAN. In fact, we can completely utilize the soft router in Windows 2000:
Preparation before soft routing installation:
1. Install Windows 2000 Server on the computer you want to set as soft routing.
2. Install two network cards in the computer that you want to set as soft routing.
3. Install the TCP/IP protocol in the computer to be set as soft routing, and configure the IP address information for the two network cards (for example, 192.168.1.1/255.255.255.0 and 10.0.0.1/255.0.0.0) so that the two network cards are in two different IP network segments respectively.
Installation steps for soft routing:
Log in as the domain user administrator and perform the following operations.
1. Click "Start/Programs/Administrative Tools/Route and Remote Access" in turn to open the "Route and Remote Access" window.
2. Click the "Operation" menu, select the "Configure and Enable Routing and Remote Access" command, run the "Routing and Remote Access Server Installation Wizard", and click [Next].
3. Since you want to install the router here, select the "Network Router" option and click [Next].
4. Generally speaking, only the TCP/IP protocol and NetBEUI protocol are installed in the LAN computer, and only the TCP/IP protocol has the routing function. The AppleTalk protocol is only used for communication between Apple computers. Since the TCP/IP protocol is already displayed in the Protocol list, select the "Yes, all available protocols are on the list" option and click [Next].
5. In this example, the remote access service is not installed, so select "No" and do not use request dial-up to access the remote network. Click [Next].
6. Complete the "Routing and Remote Access Server Installation Wizard" and click [Finish].
Soft routing settings:
1. Click "Start/Programs/Administrative Tools/Route and Remote Access" in turn to open the "Route and Remote Access" window.
2. Right-click the server name to enable routing, and then click Properties to display the Properties dialog box.
3. On the General tab, select the Router check box, and select the "For LAN only" option, and click [OK].
4. In the "Routing and Remote Access" window, open the "IP Routing" directory tree on the left, right-click "General", and select "New Routing Protocol" in the shortcut menu to display the "New Routing Protocol" dialog box.
5. Select "RIP Version 2 for Internet Protocol" in the "Routing Protocol" list and click [OK]. Note that it is recommended to select the RIP protocol in small and medium-sized networks, and the OSPF protocol in large networks.
6. Right-click "RIP" in the directory tree and select "New Interface" in the shortcut menu to display the "New Interface for RIP Version 2 of the Internet Protocol" dialog box.
7. Select the first network interface, that is, "Local Connection", click [OK] to display the "RIP Properties" dialog box.
8. Just use the default value of the RIP attribute, click [OK].
9. Repeat the above operations 6 to 8 to add a second network interface to RIP, namely "Local Connection 2".
Client configuration
If you want to achieve mutual access between computers in the two IP address segments 192.168.1.0 and 10.0.0.0, after installing and setting up the IP routing, you must also make corresponding settings for the client. For computers in the 192.168.1.0 address segment, their default gateway needs to be set to 192.168.1.1, and for computers in the 10.0.0.0 address segment, their default gateway needs to be set to 10.0.0.1.
1. Open "Start/Control Panel/Network" in turn to open the "Network" dialog box.
2. In the "Configuration" tab, in the "The following network components have been installed" list, select the devices listed in "TCP/IP", click the [Properties] button to display the "TCP/IP Properties" dialog box.
3. Select the "Gateway" tab, type "192.168.1.1" in the "New Gateway" dialog box (if the IP address is between 192.168.1.0~192.168.1.255) or "10.0.0.1" (if the IP address is between 10.0.0.0~10..255.255.255) and click [Add].
4. Click [OK] to complete the gateway settings and restart the computer according to the system prompts.