In the course of computer network, we practice installing and configuring TCP/IP under Windows 2000 Server in the school data center. The computer in the data center has installed the protocol in advance, our test subject is to set the IP address and Its subnet mask to verify that computers in the same subnet can communicate directly.
The machine in the School LAN uses the DHCP server to obtain the IP address, so I use ipconfig/all to view host a's IP Address: 192.168.10.56, subnet mask 255.255.0, and the default gateway 192.168.10.1 the configuration of the adjacent host B is IP: 192.168.10.65, subnet mask 255.255.0, Default Gateway: 192.168.10.1, the preferred DNS is 192.168.10.1, and all machines in the IDC can access each other. Now let's change the configuration. In the local connection, host a's IP Address: 172.16.0.1, subnet mask 255.255.0, Default Gateway: 172.16.0.1, server B's IP Address: 172.16.0.2, subnet mask: 255.255.255.0, Default Gateway: 172.16.0.1, DNS is 172.16.0.1. At this time, both Party A and Party B can access each other. However, Party A can see and access machines other than Party B in the network.
We set that A and B can communicate with each other in the same subnet of 172.16.0.0, while other machines are still in the subnet of 192.168.10.0. Therefore, communication is not allowed. We thought for a long time and finally called the teacher. The teacher asked me to see if there were any routing settings. I opened "Control Panel> Management Tools> routes and remote access" and found that no routing was set. We checked the Protocol configuration and enabled the local connection. In the following project, we can see that NWLink IPX/SPX/Netbios Compatible Trasport Protocol and other protocols are installed. At this time, we found the problem: IPX/SPX protocol (IPX (Internetwork Packet Exchange) and SPX (Sequences Packet Exchange) protocol combination, it is a communication protocol developed by Novell to adapt to the development of the network. It is highly adaptive, easy to install, and also has the routing function, which can realize communication between multiple network segments. IPX is responsible for data packet transmission, and SPX is responsible for data packet transmission integrity. In Microsoft's NT operating system, the NWLink IPX/SPX protocol and the NWLink NetBIOX IPX/SPX protocol are generally used, that is, the NWLink protocol, the compatible protocol inherits the advantages of IPX/SPX and is more suitable for Windows network environments.
In the test just now, NWLink IPX/SPX takes effect when the TCP/IP protocol cannot implement communication between different subnets. To verify the correctness, server a and server B cannot access machines in different subnets except that server a and server B can communicate with each other after deleting this protocol.
Related Articles]
- Apple 12/640 PS LaserWriter TCP/IP configuration tool Telnet service default No Password Vulnerability
- Networks and protocols in the TCP/IP Model
- Interpreting TCP/IP protocol by connecting to an instance