Home  >  Article  >  What are the reasons why the IP address cannot be pinged?

What are the reasons why the IP address cannot be pinged?

王林
王林Original
2020-12-15 16:37:29101878browse

The reasons why pinging fails to reach the IP address are: 1. The other party is shut down or the IP address does not exist; 2. The network segment is different and cannot be found through routing; 3. The firewall filters the ICMP packets sent by ping; 4. IP The address setting is wrong; 5. The network cable is faulty; 6. The gateway is not set.

What are the reasons why the IP address cannot be pinged?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

Common reasons are as follows:

1. The other party is shut down/ip does not exist

2. The network segment is different and cannot be found through routing

3. Firewall Settings filter ICMP packets sent by ping, resulting in no feedback and time out

4. The IP address setting is wrong. For servers with multiple network cards, the IP configuration of each network port must not be in the same setting. A network segment, otherwise it will cause the routing to not know which exit to choose

5. Network cable failure

6. No gateway is set. This is for the small network 128 network segment, using the router. If it is not configured Will not be able to route

Related extensions:

IP protocol

IP protocol is a protocol designed for computer networks to connect to each other for communication. In the Internet, it is a set of rules that enable all computer networks connected to the Internet to communicate with each other. It stipulates the rules that computers should abide by when communicating on the Internet. Computer systems produced by any manufacturer can interconnect with the Internet as long as they comply with the IP protocol. Network systems and equipment produced by various manufacturers, such as Ethernet, packet switching network, etc., cannot interoperate with each other. The main reason why they cannot interoperate is because of the basic unit of data they transmit (technically called "frame"). The format is different. The IP protocol is actually a set of protocol software composed of software programs. It uniformly converts various "frames" into "IP datagram" format. This conversion is one of the most important features of the Internet, enabling all kinds of computers to All can achieve interoperability on the Internet, that is, they have the characteristics of "openness". It is precisely because of the IP protocol that the Internet has rapidly developed into the world's largest and open computer communication network. Therefore, the IP protocol can also be called "Internet Protocol".

IP Address

There is also a very important content in the IP protocol, that is, a unique address is specified for every computer and other device on the Internet, called an "IP address" . Because of this unique address, it is ensured that users can efficiently and conveniently select the objects they need from thousands of computers when operating on connected computers.

The IP address is just like our home address. If you want to write to a person, you need to know his or her address so that the postman can deliver the letter. A computer sending information is like a postman. It must know the unique "home address" so as not to deliver the letter to the wrong person. It's just that our addresses are expressed in words, and the computer's address is expressed in binary numbers.

IP addresses are used to give computers on the Internet a number. What we see every day is that every connected PC needs an IP address in order to communicate normally. We can compare "personal computer" to "a telephone", then the "IP address" is equivalent to the "telephone number", and the router in the Internet is equivalent to the "program-controlled switch" of the telecommunications bureau.

The IP address is a 32-bit binary number, which is usually divided into 4 "8-bit binary numbers" (that is, 4 bytes). IP addresses are usually expressed in the form of (a.b.c.d) using "dotted decimal", where a, b, c, and d are all decimal integers between 0 and 255. Example: The dotted decimal IP address (100.4.5.6) is actually a 32-bit binary number (01100100.00000100.00000101.00000110).

For more knowledge about computer programming, please visit: Introduction to Programming! !

The above is the detailed content of What are the reasons why the IP address cannot be pinged?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn