What is Ping and Extended Ping and How to configure Ping and Extended Ping

 What is Ping and Extended Ping and How to configure Ping and Extended Ping

What is Ping

The Packet InterNet Groper (Ping) is the method to check the device accessibility through troubleshooting. The Ping uses two ICMP (Internet Control Message Protocol) query messages, which are ICMP echo requests and ICMP echo replies to determine whether the remote host is active. It also measures the amount of time that takes to receive the echo reply.

What is Ping
Ping Troubleshooting


What is Extended Ping

The extended ping permits to specify supported IP header options. This command allows the router to perform extensive test range options. When the ping command is sent from the router, the ping source address is the interface IP address that the packet uses to exit the router. If the extended ping is used on the router, the source IP address is changed to any IP address.

The Extended ping is used to perform more advanced the connectivity of the network and the host reach-ability. This command only works in Privileged EXEC Mode, while the normal ping command is used in both User EXEC Mode and Privileged EXEC Mode. At the command line type ping and press return to use this feature.

How to configure Ping and Extended Ping

Ping and  Extended Ping
Ping and Extended Ping Configuration

Ping Code
Ping Code Description

Configuring the Router R1 Serial Interface

Router> enable

Router# configure terminal

Enter configuration commands, one per line. End with CNTL / Z.

Router (config) # hostname R1

R1 (config) # interface serial 0/1/0

OR

R1 (config) # int s 0/1/0

R1 (config-if) # ip address 192.168.1.1 255.255.255.0

R1 (config-if) #encapsulation hdlc

R1 (config-if) #clock rate 64000

R1 (config-if) #no keepalive

R1 (config-if) #no shutdown

OR

R1 (config-if) #no shut

Clock Rate
Clock Rate Detail

R1 (config-if) #exit

Interface Status
Interface Status up


Configuring the Router R1 FastEthernet Interface

R1 (config) # interface fastethernet0/0

R1 (config-if) # ip address 192.168.3.100 255.255.255.0

R1 (config-if) #no shutdown

Interface Status
Interface Status up

R1 (config-if) #end

R1#

Configuring the Router R2 Serial Interface

Router> enable

Router# configure terminal

Enter configuration commands, one per line. End with CNTL / Z.

Router (config) # hostname R2

R2 (config) # interface serial 0/1/0

OR

R2 (config) # int s 0/1/0

R2 (config-if) # ip address 192.168.2.1 255.255.255.0

R2 (config-if) #encapsulation hdlc

R1 (config-if) #no keepalive

R2 (config-if) #no shutdown

R2 (config-if) #

OR

R2 (config-if) #no shut

Interface Status
Interface Status up

R2 (config-if) #exit

R2 (config) #

Configuring the Router2 FastEthernet Interface

R2 (config) # interface fastethernet0/0

R2 (config-if) # ip address 192.168.4.100 255.255.255.0

R2 (config-if) #no shutdown

Interface Status
Interface Status up

R2 (config-if) #end

R2#

Note: Bring an interface to in up/up-state; one can use the NO Keepalive command, even if the interface is not physically connected to any other device. Using the No Keepalive command we have disabled the keepalive message because we have not attached any device with FastEthernet 0/0 (LAN Interface) to the router.

Simple Ping

In the first, the ping command sends an echo request packet to an address and waits for the reply. If the echo request gets to the destination then the ping becomes successful and the destination can get an echo reply back to the source ping within a predefined time interval.


Ping Router R1 to R2

R1#ping 192.168.2.1

Ping Comand
Successful Ping

R1#

R1#ping 192.168.4.100

Ping Command
Unsuccessful Ping

R1#

Note: It won’t ping because the destination’s Network ID is not listed in the routing table of router R1, to make the destination network reachable configure the dynamic or static routing.

Router R1 and R2 Routing Table

Router R1

R1# show ip route

OR

R1#sh ip route

IP Route
IP Route Status

Note: The Network 192.168.2.0 and Network 192.168.4.0 are not listed in the R1 routing table.

Router R2

R2# show ip route

OR

R2#sh ip route

IP Route
IP Route Status

Note: The Network 192.168.1.0 and Network 192.168.3.0 are not listed in the R2 routing table.


Extended Ping

In Enable Mode type ping and press enter/return to use the extended ping feature, you are prompted for the fields in the Descriptions of Ping Command as given.

Ping Command Field Descriptions

The below table lists the ping command field descriptions, and with the use of the extended ping command, these fields can be modified.

Ping Command
Ping Command Field Descriptions
Ping Command
Ping Command Field Descriptions
Ping Command
Ping Command Field Descriptions
Ping Command
Ping Command Field Descriptions

Extended Ping Verification

R1#ping

Extended Ping
Unsuccessful Extended Ping

R1#

Note: The ping was not successful because the router R2 doesn’t know about the network 192.168.3.0 as it is not listed in the router routing table, so packets were dropped.


Search Tags

  1. What is the difference between Ping & Extended Ping
  2. What is an Extended Ping?
  3. How do I run an Extended Ping
  4. Extended Ping command in Cisco Packet Tracer

Get Packet Tracer Lab

If you want to configure and Practical Lab of Static and Dynamic Routing then visit below link: ðŸ‘‡

How to Configure Static Routing

Dynamic Routing

Redistribution of Routes in Dynamic Routing

How to Configure OSPF Multi-area

How to Configure OSPF Single-area

How to Configure EIGRP

How to Configure IGRP

How to Configure RIPv2

How to Configure RIPv1

Post a Comment

0 Comments