Bkjia.com exclusive Article] The Study of computer network knowledge is inseparable from the practice of multiple experiments. However, expensive network devices are daunting for many people who want to build a real network environment. However, it is entirely possible to build the necessary network environment with simple devices. There are very few devices required for the following instance. You only need two computers and a crossover network cable. If you think it is still a little difficult to have these devices, you can use only one computer. You only need to download a vmwarevm software from the Internet and set it after installation, you can perform the following instance learning.
However, the commands and parameters mentioned below are all completed in an experimental environment with two computers. Windows 7 is used for the operating system, and no default gateway is configured for both computers. Note that a crossover network cable is used to connect two computers. one end of the network cable is the standard line sequence of T568A and the other end is the standard line sequence of T568B. Next we will introduce the problems encountered during the experiment step by step and the solutions to the problems. During this period, we naturally learned the IP and ARP protocols in the TCP/IP protocol family.
Figure 1 two hosts in the same network)
1. As shown in figure 1, this experiment environment is very simple, and everyone must have tried it. It is easy to understand that two PCs in the same network can communicate with each other without configuring gateways.
Figure 2 two hosts in different networks)
As shown in figure 2, the two PCs are in different networks, but they must be pinged between PC1 and pc2. In this network lab environment, many people may have not studied it in depth. Next we will analyze it step by step through some experiments:
Figure 3 PC1 cannot ping PC2)