How to configure local routes in an enterprise LAN (1)

Source: Internet
Author: User

With the continuous update and Development of Information Industrialization, in order to effectively improve work efficiency, many large units divide local area networks 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.

3. Broadcast Configuration

As you know, wks installed with Windows 2000 have a special ICMP Route disute function, which can replace the gateway parameters configured dynamically or statically, automatically listen to the broadcast information of the ICMP router to find out the most suitable gateway parameters that can be used by the current workstation. Of course, to successfully configure the gateway parameters of the workstation in broadcast mode, you must require that the routers in the LAN have enabled the ICMP Route disute function. To do this, follow these steps:

Click "start"/"run" command in sequence. In the displayed system running dialog box, enter the Registry Editing Command "Regedit" and click "OK" to open the registry editing interface;

Move the cursor to the Registry branch HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTcpipParameters. In the subwindow (2) on the right of the corresponding Parameters branch, click the Edit/New/Dword command in the menu bar, then, name the newly created Dword key value "Alibaba mrouterdiscovery ";

 

Figure 2

Double-click the created "mmrouterdiscovery" key value. In the Value Setting window that appears, enter the number "1" and click "OK". The Registry Editing page is displayed;

Place the cursor in the HKEY_LOCAL_MACHINESystemCurrentControlSetServicesadapternameParametersTcpip (where adaptername is the NIC value) of the Registry branch, and in the subwindow on the right of the corresponding Tcpip branch, click the edit, new, or Dword command in the menu bar, and name the newly created Dword key value "SolicitationAddressBcast ", set the key value to "1", click "OK", and restart the computer system.

Please note that this method is only applicable to communications between workstations in the LAN. It is best not to use this configuration method for networks or workstations with external communications, otherwise, it is easy to threaten the security of the internal network.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.