Windows NT server is used as a router
Keywords: NT
Windows NT server is used as router 2000-05-26 · Unknown CPCW network technology to today, no longer limit in a small LAN. In the daily network, the most encountered is to connect the existing network, achieve maximum resource sharing, information interoperability. Putting different networks, what kind of protocol is adopted. TCP / IP has developed so far and has become a widely used network general protocol. Approved by the majority of computer users. With TCP / IP, you can easily connect internets between networks of different networks, and different operating systems, while it can be easily coupled to the Internet. In TCP / IP network interconnection, interconnection of different networks often use the router. Traditional hardware-based router prices are often higher, not for general units, and during the networking process, the problems that often encounter will interconnect two or two local area networks, and they do not use expensive. Dedicated router. In fact, there are many network operating systems that provide routing functions, just software-based routing, such as Windows NT static routing system, Novell's multi-protocol routing MPR, etc. Based on software-based routing technology. Software-based routing, function is definitely better than hardware-based dedicated routers. But it already has the basic functions of the router. Basic routing functions can be implemented. Software-based routing is ideal for small networks. Software-based routing techniques are described below with internet interconnection. As we all know, in the TCP / IP protocol, IP protocol (Internet Protocol) provides addressing and routing. When data is sent on the network, the data is first packaged and becomes an IP packet. IP allows packets to pass from one place from one place to another. The transmission of data in the network is performed in one way. In an Ethernet, it is easy to send the message from a machine to another. Surpantly, only the machine that is only the same as the address in the message will be responded, and the other machines will ignore this information. It can be seen that inside the same network, each message does not have to select the path, you can directly reach its destination. However, when two or more network interconnections, the situation is bigger. As shown in Figure 1, when a machine in the network counter wants to send information to a machine in the network computer center, if there is no route from the network counter to the network Computer Center, the information is not available at all. Arrived. From the above analysis: Since information in the same network can be smoothly transmitted, then if there is such a machine: a machine that belongs to the network counter and the network Computer Center. With it, two different networks can pass information. In fact, in Windows NT, IP route is the function of IP. NT allows a machine to be formulated into a multi-hook. That is, on the same computer, two or more network cards are installed, and each block is connected to a network. From this machine as a router, the route of the IP package is performed between the two networks. This route is a static route, and the static router requires manual construction and updating the routing table. In the case of each network has been built, establish a NT router, its establishment procedure is as follows: 1. Install two network cards in the same Windows NT machine, and the NIC can use the NT support. Windows NT can be Windows NT Server or Windows NT Workstation, the version is preferably 3.51 or higher.
Based on WIN? DowsNTServer4.0 Chinese version. 2, enter the control panel, install the TCP / IP protocol 3, configure a network card: Configure an IP address for each block, and the two IP addresses belong to the IP address within a different network. 4. Set the IP routing function of Windows NT for enable. 5. After confirmation, restart the computer. In this way, the NT router can work in both networks. The NT router work process is as follows: A computer counter01 in the Counter network is to send information to a computer CC01 in the Computer Center network. It queries whether the CC01 is in the same network through the broadcast mode. If it is in the same network, the packet is transmitted by the COUNTER1 to the CC01, and the IP package is transmitted in the same network. If you pass the query, I found that the CC01 is not in the same network, and I will issue some counter1 to find that I don't know how to reach the CC01 at all. In this case, the packet is sent to the default gateway: Router1 (When in the network, you must pass online counter in advance The default router of each machine is set to Router1. The IP address is the IP address of Router1. For each machine within the network, the default router is actually such a machine, if you send a message point not When it comes to the destination address, it sends the information to the default router. After the router is sent to it), after the Router1 receives the information, the information is checked by the IP software running on it, and can be determined by checking the package content. The source address and destination address in the IP package, if the source IP address in the IP package is found to be in the same network with the IP address of the first network card, the target IP address is in the same network with the second block, it will This information is sent to the network computer center through its second network card. Once the packet enters the network computer center, the destination computer listening to the network is sent to yourself, so it receives the packet and recombines them. The above is the case where the NT router works within two networks. It is indeed a great task, but if there are three or more networks, the methods mentioned above cannot be eligible. Please see the following network structure: Router1 router can only pass the message 192.168.101 to the network 168.168, but cannot pass the information from the network 192.168.101 to network admin (195.125.96). However, the route command in NT can tell the router how to reach AdminCenter. For Router1 and Router2, they all belong to the network of Computer Center at the same time, so the router can be issued to the AdminCenter through the ComputerCenter network (193.169.101). Network (195.125.96), just tell the Router2 network card address in the Network Computer Center.