the Internet Windows Android

What the ping in games depends - the most effective ways to reduce ping. What ping is considered good

What is ping?

Ping allows you to determine the speed of computer interaction with the server. In fact, this such utility that controls the connection is similarly similarly. With the help of "Pencing", you can find out the status of connecting to the server, or the Internet as a whole.

Interacting with any server, the computer sends different data packages on it, each package is recorded by the time of departure. When the server receives them, it will also answer any packages with the data and they will also be recorded. Therefore, the difference between the time of arrival and sending packets determine the time delay in milliseconds, which characterizes the connection speed with this server. At the same time, packages with data may not even return to the computer, being lost somewhere on the road. The more lost data packets, the worse the connection is considered.

If absolutely all packets are lost, this compound can be considered completely broken. It's likely that the whole problem lies in the nearby network node from you, and maybe even on the computer itself. When time intervals, between sending and receiving packets, become very long, it also indicates a bad connection, low speed. It happens if the server is at the opposite end of the globe. It may also be connected with some problems on the network site between the server and your computer.

This is a fairly useful tool for network diagnostics and connection quality control. Therefore, let's see in more detail how to use them in practice.

For example, we all love to play in online Games (Well, or many love) and in such games a very important factor is the delay time. Therefore, comfort from the game itself will be very connected with this parameter. If there is a problem with the game, various "hanging", then with the help of ping, you can analyze the quality of the connection with the gaming server.

How to check ping?

To perform operations associated with peng. No additional applications need to be installed. It is enough to execute the desired command from the terminal. To do this, open the command prompt. At the same time, press the Win + R keys combination and then, in the window that appears, enter the "CMD" command, and then press the "ENTER" button.

There is still another way for opening command line. Just open the Start menu and enter all the same CMD command in the search field. And then, in the search results, find the program with the same name as the team in search requestOpen it.

The command line is a black window with flashing cursor. Now you can use the Pencing Team: "Ping". For example, you can check the connection with some site, let's go). To do this, enter this command and address of the site: "Ping website».

After that, press the "ENTER" button. Then the ping check and the output of the results will be tested. Among them will be the time of delay, the amount of data sent, the number of sent, received and lost packages. After analyzing all this statistics, it can be concluded about the quality of connection with this resource.

The utility sends four data packets, the size of 32 bytes and displays all statistics on them. The response time itself is measured in milliseconds. The TTL value indicates the time interval during which the computer expects an answer to data packets. In the presented drawings, statistics are quite good, because 0% of lost packages suggests that the connection is quite reliable. But it happens not always. In some cases, most of the packages can be lost, then we can conclude that such a connection is not reliable and does not work as it should. What to make sure the quality of the provider, you need to specify its DNS server with the ping command. You can check your router by typing the "Ping 192.168.1.1" command. This really makes sense, because often routers can be the main cause of a bad connection with the Internet and even its absence.

You can check access to the Internet, using ping search engine Google. Enter the "Ping Google.com" command and analyze the result.

To analyze ping, you can specify your number and size of data packets, as well as their existence time.

Let's consider the basic parameters that can be applied with the Ping command.

-t.- Specifies the number of packets of packages equal to infinity.

For example, you can enter the "Ping Google.com -T" command and click the "ENTER" button.

As you can see, packets are continuously sent. So it may continue indefinitely for a long time. In order to stop this process, use the simultaneous press of the "Ctrl + C" keys.

-N. - Specifies the number of packages you want to send.

Let's enter the "Ping Google.com -N 13" command.

In this case, we set the number of packages equal to thirteen. When all thirteen tests were performed, the operation immediately ended. Do not forget that all commands need to be prescribed with spaces, between "-n" and the number should also be a space.

Ping is a period of time that the computer is required to respond to the user's request. In other words, under this term, you can understand the time interval, for which the package sent from one computer comes to another computer on the network and returns backwards. The higher the ping, the longer the page will open in the browser. But this lack still tolerant. The greatest inconveniences of the high ping meaning brings lovers to play computer games online.

Ping in computer games

Many beginner gamers are interested in what ping in games and how it is manifested. It is clear to explain this on the example computer Game "Counter Strike". In this first-face shooter, Gamer controls the soldier, playing with other people on the Internet.

When the player presses the shot button, the signal from the game installed on the arrow computer goes through the network to the player's computer that controls the character in which the bullet arrives and then returns back. In the case of high ping, this signal will pass your way for a very long time. This will lead to the fact that after pressing the shots button, the bullet will not fly immediately. The opponent will have time to hide, and after a few seconds (depending on the ping value) will be shot.

What affects the response time

On how quickly the signal comes from one computer to another and returns back, the following factors affect:

  1. Provider.
  2. Game server.
  3. Server location.
  4. Operating system settings.

If we talk about the provider, the width of the channel and its quality plays an important role. Of course, the quality is playing a major role. There are cases when, with a 100 megabitan channel, Ping reaches a value of 300 ms, and at 10 megabit, 5 ms. As an example, you can bring the track. From point A to point b, it is faster to drive through a flat asphalt road with two stripes than a six-band soil track with a large number of pits.

But you should not discount the channel and the width of the canal. Even with a good connection, the narrow channel can cause high ping due to banal overloads. Again, the parallel can be carried out with a beautiful road and a highway with a lot of traffic jams.

Also, the response time can be increased trite due to the fact that the server is located very far from the Geima computer, and the signal is forced to go through a very long pathway and back.

Causes of high ping

There are six main reasons for increasing ping:

  1. Internet provider problems.
  2. Infection personal computer viruses.
  3. Reinstalling style.
  4. Antivirus and firewall.
  5. Problems on the game server.
  6. Active downloading content.

All this can cause long-term downloads of pages and lags in online games. If the user is not an avid gamer, and simply looks through the pages on the network, it does not even be necessary to know what ping is. In the game, he plays an important role, and knowledge of solving this problem is simply necessary.

Problem from provider

In this situation, the user cannot do anything. In order to check whether the provider has a problem, you must open the line and enter: ping game server IP address. In the case when the response time is more than 100 ms, the cause of large ping is to problems with the Internet service provider.

There is no other exit, except to call the provider and tell about the unpleasant situation. Usually this problem is solved during the day. but technical support It can make it faster and even advise the user what actions should be taken to avoid the emergence of such situations in the future.

If the appeal to technical support did not help, it is worth thinking about changing the provider. You can consult familiar gamers who do not have any problems with ping.

Viruses

Very often the cause of high ping is the infection of the operating system with viruses. Due to simple presence malicious programs In the Ping system will not increase, but this happens when viruses lead to the fact that the operating system independently starts downloading large volumes in hidden mode. This leads to slow work of the Internet.

Solve this problem is simple - just download the antivirus and scan the computer for malicious programs, and then delete the found. There are situations when the virus blocks access to official sites of antivirus programs. In such cases, you can either upload a file from other websites, or find additional utilities on the network that can scan a personal computer.

If the antivirus is not able to detect malicious fileAnd the user is confident that the cause of high ping is precisely the virus, then there is a very radical way to solve problems. It consists in reinstalling the operating system. But before such measures it comes very rarely.

Problems with a versa

If there is a high ping when good internetcaused this could be incorrect setting Stimple. This may happen if the program has been reinstalled, and the settings are not exhibited.

To solve the problem, open the program and go to the "Download" tab, which is in the settings. To resolve a problem with a high ping value, you must select your connection speed. In some cases, it is worth restarting the computer before turning on the game.

Firewall and downloads

As mentioned earlier, in order to lower the ping, you need to download the antivirus. However, there are cases when it is the antivirus that can cause a slow connection with the Internet. Eliminates the problem is very simple. Just turn off the antivirus and firewall, but do not forget to turn them on again before you start climbing the Internet.

Another reason for high ping can be active downloading data to the network or download from the network. In this case, you just need to pause data transmission.

Service problem

Very often the cause of high ping in the "COP" or in another online game is the problem in the server. It can not solve her user.

In this situation, nothing else remains, except to wait until the server administration will independently eliminate the cause of problems, after which Ping will return to a normal value. In order not to wait, you can simply change the server for a while.

Manipulation with registry

This is one of the least effective ways to solve the problem. He involves making some changes to the operating system register to reduce the high ping, which is undesirable. Such actions can cause irreparable harm to the operating system and lead to the fact that it will have to reinstall.

First you need to open the registry and go on the next way: HKEY_LOCAL_MACHINE \\ Software \\ Microsoft \\ Windows NT \\ CurrentVersion \\ Multimedia \\ SystemProfile. Then you need to open the file available in this folder. In this file, the parameter will be important a. Instead, you need to enter fffffffff. After that, you need to save all changes and restart the computer.

Check compound

To check the ping, you must open the "Start" menu and in the list of service programs to find and open the command line. You can quickly do this by pressing the Win + R key combination. In the window that opens, enter the following text and press the ENTER key: Ping server address -N 10.

Also on the Internet you can find special programsthat make it possible to check the ping, but they are not recommended to use them. All that is needed to check the quality of the Internet connection is installed along with the installation of the operating system, and third-party programs can harm the computer by infecting the virus system.

Cfosspeed

This program is able to solve the high ping problem in games. It allows you to increase throughput and downgrade the response time. CFOSSPEED aims to optimize traffic every time connecting to the Internet using two or more data streams.

This ping program also performs a number of other functions. First, it is capable of maintaining high connection speed even with active loads. Secondly, CFOSSPEED reduces the number of problems while playing audio and video files.

One of recent updates Versions for smartphones The program was optimized, which made it possible to significantly improve the quality mobile Internet. Trial version CFOSSPEED is available within 30 days, after which you need to purchase a program.

Reduced ping in "Control Strike 1.6" with CS Ping

The "counter strike" is one of the most popular in the world. And many gamers are wondering how to lower ping to a minimum. The big popularity of the shooter was the reason that a large number of Programmers began to develop programs for lowering ping. One of these is CS Ping.

The size of the utility is a little more than one megabyte. The principle of operation CS Ping involves the installation of the correct config automatically. The program generates a config depending on the computer data.

After downloading, you must copy all the files to the game folder and run the program. In the window that opens, you must go to the config and click "Show". After that, CS Ping will automatically create the settings that need to be copied and insert into a file with the settings of the game, replacing the already existing configuration.

Ping Optimization in WOT

World of Tanks is another very popular worldwide online game, and a long response time is very annoying many gamers. Leatrix Latency Fix is \u200b\u200ba ping program that initially supported WOT, but over time, the developers have expanded a list of supported games, which included popular products such as Warface and Point Black.

In order to reduce the ping using this program, you just need to download and install it. After that, you can open the game and enjoy it. In many games there is a decrease in ping about twice.

Telnet

This is a utility that makes it possible to check if a personal computer has a personal computer or a laptop to connect to the server.

In order to open Telnet on the device running the operating system from Microsoft, go to the control panel and select the "Enable and Disable Components" item. In the menu that opens, check the Telnet client. Then you need to open the Start menu, find the command line and enter the following text: telnet site address 25.

Output

Software for lowering ping is not a panacea. Lovers of computer online games are trying to eliminate the high ping problem in every way if there is such. And very often they resort to installing third-party programs. It is not recommended to do this, because such a software can harm the computer.

A much more efficient way is manual setting ping. Also, very often ping can be increased due to the problem of the provider. It is an appeal to the Internet service provider is the most effective way to reduce ping. Third-party programs are really able to reduce the response time or at least eliminate jumps in ping. However, not all of them are safe. Even if the installation of such a program does not infection the operating system with viruses, such utilities can vaulting user data. Therefore, before installing such dubious programs, you should think about whether it is worth it, and try to find another way to solve the problem.

Hello, dear blog readers Website. If you are actively using the Internet, and in particular if you play online games, then about such a thing as ping you heard undoubtedly.

There are sometimes problems with him when he is too high, and the question arises about how to lower Ping. Sometimes the sake of this even change the Internet provider, reinstall the system and produce other difficult actions.

However, many have heard this word only occasionally and do not really imagine what it is. Therefore, I will start from the beginning, namely, what is ping, why it is so important and how you can check it. Well, in conclusion, it is mentioned about what can affect its decrease. I hope it will be interesting.

In general, the word "Ping" have two similar interpretations. In everyday life ping Call Internet Channel Quality Check At the subject to how quickly there are signals. If quickly, then the channel is good, which is especially critical for those who play online games in which events unfold a bit quickly than in chess.

You probably heard about such a game as the counter strike - an online shooter (first-person shooter), when you play through a network with a group of the same as you players and each of you through the Internet manages the actions of your character. And what have the ping, you ask? But when

Suppose you seen your enemy and pressed the shot button. What happens? A signal from the gaming program installed on your computer goes via the Internet to the server (a special computer that can be anywhere in the network) where the game is launched. But the Internet is not an abstract thing, but physical devices through which the signal sent by you will go. AND signal speed This path can be completely different.

Very often, in everyday life, the speed of the response and imply when they talk about ping. Those. How fast to the signal from your computer will pass through the network to another computer (or server), and then return back to you. If Ping is very big (it is usually measured in milliseconds), then your game will be godlessly laugh, slow down and blend. And you will be ready to split the mouse and the keyboard about the monitor screen.

And how otherwise, if you won't have anything to do anything with such monstrous delays in the transfer of your actions and receiving an answer to them. While your shot signal goes to the server and returns back, you can already shoot (and more than once).

Low Ping can bring an avid player before the frenzy yes and simple user The Internet is not very pleasant to wait long to wait for the opening of the pages in the browser. But still, questions of checking and decreasing ping (increasing the speed of the response) are primarily worried about online players.

How to check Ping?

Slightly above, I said that the word "ping" has two interpretations. One of them (every way) I explained a little higher. But the second is based on the fact that there is a Ping program (at all operating systemsah, who know how to work with the Internet), which allows you to send a test package to any internet node with an IP address (computer on the network, server, router, etc.) and measure the time for which it will return back.

Exactly this time is called ping (delay or lag). The test package has a small weight and departs on a special service protocol. Due to the last circumstance, not in all cases high ping (a long delay time between sending and receiving) will talk about a bad Internet channel, because problems with the passage of the signal may occur only on this service channel, and everything will fly to the main channel .

But in most cases, you can put a sign of equality between high ping and a bad channel (not suitable for online games). It is impossible to play an online shooter (and any other playful game other than step-by-step strategy) if Ping is equal to 300 milliseconds (a third of a second). But if it is 15-20 ms, then everything is just wonderful and you will not even need to know what it is, and even more so as it is measured. Interest in pinging occurs mainly when problems and serious lags appear.

So, to check the ping, you don't need to download anything and install. If you are, in the interface of your game, the current average (or maximum) value will be displayed somewhere in the interface (and often FPS - the drawing rate in the frames per second).

If you did not find or the response speed you are interested in without applying to gamers, then there are also no special problems. As I have already mentioned, all the operations have built-in vancing programs. Due to the fact that I am not familiar with Linux - I will explain on the example of Windows.

What do you need to do in Windows, what to check ping? Not enough to banality:


There is also I. online services For, which often also check and ping (the time of passing the test signal from your computer to their server). But still, the method described above is the most reliable in terms of measurement accuracy.

In addition to measuring the time of test signal, this program (Ping) is often used to propagate Server or router. In this case, the fact of the response itself will be important, and not the time that he left for his sending and receipt. Pinguy different devices Networks often can be localized the breakdown in the chain of devices (I do this at work). In general, the thing is useful 🙂

How to reduce (lower) ping?

If your value ping is very critical, and it is very big as an evil (such that creates problems with online games or even when working in a browser), then you are naturally starting to ask the question - and whether it can somehow lower it. In principle, it is possible, but not always a decrease in ping is possible to achieve simple manipulations.

From what the response time may depend on:

  1. From your Internet provider.
    1. It is also important not even the width of the channel, but its quality. You can get ping in 300 ms on a channel of 100 megabits (), and you can get 4 ms with a channel 10 megabit. If you carry out, the six-band gravel road will be a priori slowly than two-band, but asphalt.
    2. However, the width of the channel still matters. The narrow channel may cause a degradation of response time, because Lags can occur due to the banal congestion of the channel (the packages simply do not push through). It can be compared with traffic jams on a luxury coating, but too narrow to cope with the available road traffic.
  2. From the game server. He may not have enough high-quality or too narrow Internet access channel, which is why many games start brakes and lags.
  3. From the location of the gaming server. It can be tritely too far away from you, and the signal passing through many dozens of intermediate nodes slows down and can even partially lean.
  4. From passing the signal from the network card of your computer to the game file that you have running. Here it may be a lot of reasons affecting the ping - from viruses to confused operating system settings.

Actually, the advice that can follow the foregoing help you downgrade ping Before acceptable value when it does not affect the comfortable use of your computer on the network.


Good luck to you! To ambiguous meetings on the blog pages Website

see more Rollers you can go on
");">

You may be interested

FAQ and FAQ - what is it?
What is respect and what does this word mean when communicating on the Internet Traffic - what it is and how to measure online traffic
When the Internet appeared - the history history and when the Internet Day is celebrated Moderator is a person making communication in the network possible Pruf - what it is and why Proof or Pruflink require on the Internet
Site - what is it and what are they?

Internet ping directly affects the connection speed. So, one of the methods of diagnosing the quality of the connection with the World Wide Web is to test the ping. If it turns out that the problem is precisely in this parameter, users are trying to lower ping in all ways. Many reinstall the system or change the provider. But is it worth resorting to such radical measures? And the speed of the Internet?

What is ping

This concept denotes the reaction time of the Internet connection and is its characterizing a sign. Simple languageThe parameter shows how fast the client's computer, sending a request to the server, receives an answer. The indicator is measured in milliseconds. Check ping and Internet speed means to estimate the quality of the Internet connection. With this verification, the number of sent and received packets is compared.

Why do you need to diagnose the Internet connection

To understand what the Internet should be ping, there may be different reasons. Someone checks the indicator solely of interest, the other collect statistically data. The main reason for the ping verification is, as a rule, poor quality of the Internet connection. To understand that the speed of the connection with the World Wide Web leaves much to be desired, on the following signs:

  • pages are loaded too slowly;
  • communication with the Internet is also interrupted;
  • media files are not loaded, errors appear;
  • online games "inhibit", "fly out".

What should be the ping of the Internet normally? So, the Internet determines the slow speed of the connection.

Who needs to determine ping in preventive purposes

Diagnostics of the quality of the connection before the occurrence of problems can be carried out in the following cases:

  1. To determine the game service. For some users, the online game industry is a way of earning. It will be better to "propagate" the server in advance in order to avoid unnecessary misunderstandings.
  2. To select resources to post information. To implement the project, hosting is required. The service in a wide variety of variations is available in World Wide WebBut it is difficult to determine the choice. One of the quality indicators of the hosting provider is the ability to access its own information resource at any time without interruptions.
  3. In order to know how the ping of its own electronic resource is determined in other countries.

What does ping depend on

The determination of what ping on the Internet and the factors affecting the indicator can be combined into three categories:

  1. Distance. The more intermediaries between sending and receiving information, the longer the geographical remoteness of the server from the client's computer.
  2. Uploading. The ping value is incremented directly proportional to the number of simultaneously working online applications.
  3. Equipment. A significant factor determining the quality of the compound is the technique with which it is provided. By the way, this approval of both the server and the client's computer is approved. The speed of the connection will also be affected in a certain way: direct, wireless, modem. Depending on the devices (modem, Wi-Fi-router), the speed will also be different.

How to Test Ping

In order to determine which internet ping should be, you first need to check the indicator on own computer. From where the indicator will be diagnosed, and the method of pinging is depends. If the procedure is carried out for personal purposes, you can use the following method:

  1. Select the Win + R keys combination.
  2. Enter the CMD command at the command prompt
  3. After clicking ok, type Ping.
  4. After pressing the gap enter the address of the site.
  5. After clicking on ENTER, all information will be displayed on the screen.

If the number of packages sent is the number of received, then this is a normal ping for the Internet. For optical fiber, this indicator should be equal to hundred milliseconds. With this value, no critical change in the Internet will not be noticeable. Ping up to one hundred fifty milliseconds is considered acceptable, over - this is already a problem that needs to be solved.

How to test ping sites

In order to find out which Internet Ping should be, use various online services. Ease of access, waiting time and other information can be obtained in order to further analyze its own information resource. In statistics, by the way, use users from all over the earth.

There are several online services for testing ping, the most common of which are as follows:

  • Ping Admin. This service is used by people around the world and provides information about access to various electronic resources for computers that can be located anywhere. To use the resource you need to enter the address of the site of interest and press ENTER.
  • WService.info. In addition to standard information about electronic resourceThe user is given the opportunity to propose it and check the connection. These services developers are provided free of charge.
  • PR-CY. Thanks to this online resource, you can find out the condition of hosting and domain. After testing, IP information will be displayed on the screen, the HTTP status code and the decryption.

What are the ways to reduce the quality indicator of the Internet connection

It is logical that after testing (especially if the results of the parameter rating did not satisfy the user) the question arises how to reduce the ping of the Internet. Mostly tips on changing this indicator give avoid GamersAfter all, they are more often fighting with a decrease in ping. From general recommendations, you can allocate the following tips:

  1. To make a ping value minimal for visitors to your own web resource, you need to be segmented. This means that it is necessary to allocate from all visitors to the site target audience. You should define the geographical position of users and select a server that provides hosting services in the required region.
  2. In order to remember how much you can remember what ping on the Internet, you need to unload the Internet channel. This means the banal closure of useless applications.
  3. Conducting a defragmentation procedure. Ping depends not only from technical characteristics devices, but also from order in the computer. The work will be performed faster if the files to which the program refers will be located ordered.
  4. The choice of an Internet provider providing best quality services.
  5. Use proxy servers. Danger this method Reducing the ping indicator consists in the possible loss of some data packets.

Ping value is an important characteristic Quality of Internet connection and comfort of work at a computer. Sometimes it is necessary to test for preventive purposes. When explicit problems appear, one or more methods of dropping ping should be used.

Team Ping. This is perhaps the most used network command line utility. Ping. Present in all versions of all operating systems with network support and is a simple and convenient tool for a node polling name or its IP address.

For the exchange of service and diagnostic information on the network uses a special protocol of managers. Icmp Internet Control Message Protocol). Team Ping. Allows you to send a type of control message type Echo Request. (Type is 8 and is specified in the ICMP message header) Addressable node and interpret the response received from it in a form convenient for analysis. In the data field of the ICMP package, the English alphabet symbols are usually contained. In response to such a request, the interviewed node is reasonable to send an ICMP package with the same data that was accepted and the message type Echo Reply (type code in ICMP header is 0). If any problem occurs when exchanging ICMP messages, the Ping utility will display information for its diagnostics.

Command line format:

Ping [-t] [-A] [-n Number] [-l Size] [-f] [-i TTL] [-V TOS] [-R Number] [-S Number] [[-J ListHail] | [-K list logs]] [-w Timeout] finite

Parameters:

-t. - Continuous segment of packages. Combinations of keys are used to complete and output statistics. Ctrl + Break (statistics and continuation), and Ctrl + C. (output statistics and completion).
-a. - Defining addresses by nodes.
-N Number - The number of sent echo requests.
-l Size - Data field size in the bytes of the sent request.
-f. - Installing the flag prohibiting package fragmentation.
-i TTL. - Set the lifetime of the package (field "Time to Live").
-V TOS. - Task type type (field "Type of Service").
-R Number - Record the route for the specified number of transitions.
-s Number - time stamp for the specified number of transitions.
-J listware - free choice of route by list of nodes.
-K list logs - Hard route selection by list of nodes.
-W Taymouth - The maximum waiting time of each response in milliseconds.

Examples of using:

ping Google.com. - Echo request to the node named google.com. With default parameters - the number of packages is 4, the length of the data array \u003d 32 bytes.

ping -6 ya.ru. - Ping node ya.ru. using IPv6 protocol

ping -a 192.168.1.50 - Perform ping with the definition of the name of the end site at its address.

ping -S 192.168.0.1 Computer - Ping node computer From the source 192.168.0.1. Used when there are multiple network interfaces on the computer.

ping W 5000 ya.ru - Ping with wait timeout is 5 seconds (by default - 4 seconds).

ping -N 5000 -L 1000 site - Survey node website 5000 times, packages with a length of 1000Bet. Permissible maximum length data - 65500.

ping -N 1 -L 3000 -f ya.ru - Ping with a ban fragmentation package.

ping -n 1-R 3 ya.ru - Send 1 Echo request to the node ya.ru. With the display of the first 3 transitions on the route.

ping -i 5 ya.ru - Ping indicating the time of life TTL \u003d 5. If you need a larger number of transitions to the end node, the router that interrupted the delivery will respond with the message "Life life (TTL) is exceeded when transferring a package."

  • Ping application for step-by-step diagnosis Internet access problems:
  • Generalized Computer Connection Scheme (Tablet, Laptop home network) The remote end node can be represented as follows:

    The most common network with IP addresses is used as a home network 192.168.1.0 /2555.255.255.0. We are talking about IPv4 - IP protocol version 4, where 4 bytes are used for addressing. IP addresses It is customary to submit in the form of decimal values \u200b\u200bof bytes separated by points. Each device on the network must have a unique address. In addition to the address, in the network settings used mask Networks (subnet mask). The mask has the same submission format, as well as the address. The combination of addresses and masks determines the range of addresses that belong to local network - 192.168.1.0-192.168.1.255. The first and last range of the range are not assigned to individual network devices, since they are used as a network address and broadcast address. Usually, the address of the router is made equal to 192.168.1.1 or 192.168.1.254. This is not a mandatory standard, but in practice it is used quite often. Single mask bits define a permanent part of the IP address of the network, and zero-allocated by individual nodes. Value 255 - This is a byte with united bits. The network mask serves as a means of determining the range of IP addresses belonging to the local network. Devices with such addresses are attainable locally, without using routing. Routing is a method for exchanging data with network devices not belonging to this local network through a special device - router (Router, router). Routers are specialized computers with multiple network interfaces and specialized software providing forwarding IP packets between the sender and the recipient in different networks. In such a shipment, several routers can participate, depending on the complexity of the route. The home router is the simplest variation of the router, which provides shipment of packets addressed to the external networks next route router on the provider's network. The following router checks the achievability of the address of the destination node locally, and either forward data or transfers them to the next router in accordance with the route table. This happens until the data is reached by the recipient or end the lifetime of the package.

    The Ping command can be used to diagnose individual nodes:

    ping 127.0.0.1 - This is ping a loop interface. Must be performed without errors, if installed and are installed, network software components are installed.

    ping your IP or name - Ping on own address or name. Must end without errors if all IP protocol software is installed and network adapter.

    ping Router IP Address - must be executed if working lAN card Computer, Fixed Cable or Wireless Connection, used to connect to the router and Figure Router itself. In addition, IP settings must be such that the address of the computer and the router belong to one subnet. Usually it is when network settings Performed automatically by means of the DHCP server of the router.

    ping Yandex.ru. - Perform a node survey named yandex.ru.. If the survey is completed with the error, the reason may be not only the lack of communication with the provider router, but also the impossibility of determining the address of the node yandex.ru. due to problems with software Name resolution.

    ping 8.8.8.8. - Perform a node survey with an IP address of 8.8.8.8. If the survey is performed at the address without errors, and the name of the name is completed by the message about an unknown node, the problem is in the resolution of names. The reason may be the inoperability of the DNS server provider. In this case, you can try to change it in the settings network connection On Google's public DNS servers with addresses 8.8.4.4 and 8.8.8.8. Also, the problem may be caused by poor quality of communication with the provider, which is accompanied by too much response time and packet disappearance.

    ping -t Yandex.ru. - Perform ping before pressing the Ctrl + C combination, when you click Ctrl + Break - statistics and the node survey continues.

    Ping -N 1000 -L 500 192.168.1.1 - Run Ping 1000 times using messages, 500 bytes long. Ping packages of standard length in 32 bytes can be performed without errors, and on long - with errors, which is characteristic of wireless connections at a low signal level under intensive interference conditions.

    Ping -N 1 -R 9 -W 1000 Yandex.ru - Run Ping 1 time (key -N 1), extradite the route for the first 9 transitions (-R 9), expect a response to 1 second (1000 ms)

    As a result of the execution of this command, a route tracing is displayed:

    Batch exchange with Yandex.ru with 32 data bytes:
    Answer from 87.250.251.11: Number byte \u003d 32 Time \u003d 36ms TTL \u003d 54
    Route: 81.56.118.62 -\u003e
    81.56.112.1 ->
    10.109.11.9 ->
    10.109.11.10 ->
    195.34.59.105 ->
    195.34.52.213 ->
    195.34.49.121 ->
    195.34.52.213 ->
    87.250.239.23

    Ping statistics for 87.250.251.11:

    Packages: Posted \u003d 1, Received \u003d 1, Lost \u003d 0
    (0% loss)
    Approximate reception time in MS:
    Minimum \u003d 36 ms, maximum \u003d 36 ms, mean \u003d 36 ms

    IN this exampleThe chain of 9 routers is built between the sender and recipient of the packages. Need to take into account the fact that in the utility version ping.exe. For Windows, the number of transitions can receive a value from 1 to 9. In cases where this value is not enough, a command is used. tracert.

    The absence of an echo response is not always a sign of a malfunction, because sometimes for security reasons, some nodes are configured to ignore echo requests sent ping. An example is the node microsoft.com. And some routers in small providers networks.

    Use Ping in command files.

    Often, the Ping command is used to organize delays in command files. Pencing a loop interface is performed with the desired value of the packet counter specified by the parameter -N.. The sending of echo requests is performed with an interval of 1 second, and the response on the loop interface comes almost instantly, so the delay will be approximately equal to the counter minus one:

    ping -N 11 127.0.0.1 - Delay in 10 seconds.

    The Ping command is used in command files to determine the availability of IP addresses. Since, the result of the polling is not reflected in the ErrorLevel variable, then instead of its analysis uses the search for certain features in the standard Ping output data. If you carefully look at the Ping.exe program messages when a survey of an affordable and inaccessible node is surveyed, we can see that they differ significantly

    ping 456.0.0.1 - Ping on a non-existent address

    The answer to such a command may differ from the specific version of the utility, and may be approximately

    When checking the connection, it was not possible to detect the node 456.0.0.1. Check the node name and try again.

    ping Yandex.ru. - Ping to the address of the yandex.ru node

    Reply to Ping Available node:

    Exchange packages with yandex.ru 32 bytes:
    Answer from 87.250.250.11: Number byte \u003d 32 Time \u003d 10 ms TTL \u003d 55

    Thus, to solve the task of determining the availability of the node in the command file, it is sufficient to analyze the characteristic words in the pen.exe output with a successful answer. Most characteristic in this case the presence of a word TTL.. It never occurs when an error occurs and consists of just from the symbols of the English alphabet. To search for "TTL" in the results of Ping.exe it is convenient to combine it to execute it in a chain with a symbol string search command Find.exe. (Ping and Find conveyor). If the text is found by the Find command, the value of the ErrorLevel variable will be equal to 0

    Ping -n 1 Computer | Find / I "TTL"\u003e NUL
    IF% errorlevel% \u003d\u003d 0 Goto Live
    Echo Computer is unavailable
    Subprogram processing of an inaccessible state
    ...
    EXIT
    : Live - Start a node availability processing routine
    ...
    ...

    In a simpler version, you can use commands:

    Ping Yandex.ru | Find "TTL \u003d" && ECHO YANDEX PINGABLE - The ECHO command is performed if the errorlevel value set by the Find is 0, i.e. node yandex.ru. Replies to Ping.

    Ping Server64 | Find "TTL \u003d" || Echo Server64 Not Pingable - The ECHO command is executed if the errorlevel value installed Find is not equal to 0, i.e. knot Server64. did not answer Ping.