What is Ping and Extended Ping and How to configure Ping and Extended 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.
| Ping Troubleshooting |
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.
| Ping and Extended Ping Configuration |
| Ping Code Description |
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 Detail |
R1 (config-if) #exit
| Interface Status up |
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 up |
R1 (config-if) #end
R1#
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 up |
R2 (config-if) #exit
R2 (config) #
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 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.
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.
R1#ping
192.168.2.1
| Successful Ping |
R1#
R1#ping
192.168.4.100
| 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
R1# show ip route
OR
R1#sh 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 Status |
Note:
The Network 192.168.1.0 and Network 192.168.3.0 are not listed in the R2
routing table.
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.
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 Field Descriptions |
| Ping Command Field Descriptions |
| Ping Command Field Descriptions |
| Ping Command Field Descriptions |
R1#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
- What is the difference between Ping & Extended Ping
- What is an Extended Ping?
- How do I run an Extended Ping
- Extended Ping command in Cisco Packet Tracer
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
0 Comments