To effectively improve work efficiency, many large units divide the LAN into subnets for different purposes according to certain rules. To enable communication between different subnets, you must use the routing function. Therefore, you can configure the routing information to enable efficient communication between subnets. Next, this article will introduce several methods for configuring local routes from multiple perspectives. I hope this will help you!
1. Static Configuration
In this way, you can manually configure the gateway parameters of the TCP/IP network component through the network attribute setting window of Windows 2000 to complete the local default route configuration task, this method is usually used for workstations that use static IP addresses in LAN. To complete the local route configuration task in static mode, follow these steps:
Click Start, set, and control panel commands. In the displayed control panel window, double-click the network and dial-up connections icon to open the network connection List window; right-click the "local connection" icon and execute the "properties" command from the shortcut menu to open the network connection Property setting window;
Click the "General" tab in the window, select the "Internet Protocol (TCP/IP)" project on the corresponding tab page, and click the "properties" button, open the TCP/IP property settings window, click the "advanced" button in the window, and click the "IP settings" tab on the advanced property settings page that appears later;
Next, click "add" in the "Default Gateway" settings on the corresponding tab. In the setting box shown in "1", enter the IP address and the number of hops of the local router correctly, by default, the number of hops of the local router is 1.
Figure 1
After correctly entering the above parameters, click the "add" button to complete the default gateway configuration task. Of course, if there are other routers in the LAN, you can click the "add" button to add the IP addresses of other routers one by one. After adding all the router IP addresses, click OK to complete the local route configuration task.
2,Dynamic Configuration
If the LAN uses a DHCP server to assign IP addresses to each workstation, when any workstation is powered on and "added" to the LAN, it will automatically send the request information for requesting IP addresses to the LAN. Once the DHCP server in the LAN receives the request, A temporary IP address and corresponding network mask address will be automatically assigned to the current workstation, and the default gateway address and the number of hops will be automatically set for the workstation. Compared with the LAN workstation, the local route parameters are pre-set through the DHCP server, so this configuration method is automatically completed during the dynamic login process.
Note that the priority level of the local route information configured in dynamic mode is higher than that of the local route information obtained in static mode. That is to say, if there are multiple routing configuration methods in the same LAN, the routing information configured in static mode takes effect first, and the local routing information configured in dynamic mode takes effect later.