Computer Networks/Ping/Length

The ping command has an option to configure the length or size of the buffer to be transmitted. These activities will show you how to use the ping command with a custom packet length.

Preparation

edit

To prepare for this activity:

  1. Start Windows.
  2. Log in if necessary.

Activity 1 - Ping with a Custom Packet Length

edit

To ping with a custom packet length:

  1. Open a command prompt.
  2. Use ipconfig to display the default gateway address. Note the Default Gateway displayed.
  3. Type ping -l 1000 <default gateway address> where <default gateway address> is the default gateway address displayed above. For example, if the default gateway address was 192.168.1.1, you would type ping -l 1000 192.168.1.1. Then press Enter.
  4. Observe the results.
  5. Close the command prompt to complete this activity.

References

edit