Blogger Templates Skip to main content

Ping - How does it work?

Ping is a network diagnostic tool that’s used to check if a host in a network is "alive and responding". Ping uses ICMP messages. More particularly ICMP query messages.
**So what happens when we ping a machine?
-The source sends an ICMP echo-request message to the destination.
-The ping program sets an sequence identifier which gets incremented with each echo-request message. It also sets a TTL (Time-to-live) period.
-Ping also inserts the sending time in the data section of the message.
-If the host is alive and responding, it sends an ICMP echo-reply message back to the source.
-Ping notes the time of the arrival of the response message, uses the sending time in the message part and calculates the Round-trip time.
-It then increments the sequence identifier (as said above) and sends a new echo-request message. This goes on for the number of ping requests set by the user or the program is terminated.

Comments

Popular posts from this blog

By passing windows 7/8/8.1/10 login password using ease of access

I am almost certain that this has been covered elsewhere. If you have seen this before, then I am sorry I wasted a precious few minutes of your life. 1, Boot up using a Windows 7/8/8.1/10 Installation CD or Bootable Pendrive. 2, At the first splash screen click “INSTALL NOW” then accept the license agreement click "NEXT". 3, Press "SHIT+F10" Simultaneously. Command prompt will open up. 4, Now u need to find out at what partition your OS is installed. you can check this by typing DISKPART>LIST DISK >SELECT DISK 1 > LIST VOL and in the volumes check for the BOOT partition and note down the volume label e.g "C" (it can be different for you). 5, Type in the following commands: cd C: cd Windows/system32 copy UtilMan.exe abc.exe copy cmd.exe Utilman.exe So what did we just do here? The first two commands changed our current working directory to "/Windows/system32". This location contains both "cmd.exe" (...

How To Create The Matrix Rain In Command Prompt

Step 1: Open Notepad. Step 2: Copy and paste the below code in your notepad @echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%. goto start       Step 3: Click on ” File ” and then ” Save As ” option. Save your file with a ” .bat ” extension i.e ” Matrix.bat “. Step 4: Run that batch file as an administrator. To enlarge The Screen Step 5: Right-click on the command prompt and Click on the properties. Step 6: Click on the Layout tab.  Step 7: Click On the window size section and enter your required resolution. Step 8: To apply changes Click on ok. To Stop The Matrix Rain: Just press CTRL + C, Then you will be asked: ” whether to terminate the job “. Now type ” y ” to stop the program. Tips : You can even add colors to your command prompt background and text. This is just by changing color codes i.e if you...

Reserved Storage in Windows 10 - 1903

To make sure your device can successfully update and that it runs its best, Windows reserves a portion of storage space on your device for use by temporary files, caches, and other files. When your device is low on space, Windows will clear reserved storage so it can be used for other processes, like a Windows update. Reserving storage also helps keep disk space usage on your device more predictable and more stable. DISM Commands To Enable or Disable Reserved Storage in Windows 10 1. Open a new elevated command prompt. 2. Type DISM.exe /Online /Get-ReservedStorageState to see if the Reserved Space feature is enabled or disabled. 3. Execute the following command to enable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Enabled. 4. Run the following command to disable Reserved Storage: DISM.exe /Online /Set-ReservedStorageState /State:Disabled. You are done. The change will be applied instantly, no restart required. Note: If Windows 10 is performing a ser...