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.
To prepare for this activity:
- Start Windows.
- Log in if necessary.
Activity 1 - Ping with a Custom Packet Length
To ping with a custom packet length:
- Open a command prompt.
- Use ipconfig to display the default gateway address. Note the Default Gateway displayed.
- 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.
- Observe the results.
- Close the command prompt to complete this activity.