For a Ping /connectivity to work :
1.Route should be in Routing Table.
2.Route should be in both source and destination table.
Example Ping expects a reply.ICMP ECHO REPLY.
debug command shows activity.
3.For directly connected Routers default route or static route
on the Reply end is enough.
Example:Extended Ping.
1.Route should be in Routing Table.
2.Route should be in both source and destination table.
Example Ping expects a reply.ICMP ECHO REPLY.
debug command shows activity.
3.For directly connected Routers default route or static route
on the Reply end is enough.
Example:Extended Ping.
PING From Source.
Router#ping
Protocol [ip]: ip
Target IP address: 192.168.1.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: gigabitethernet0/1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.2.1
.....
Success rate is 0 percent (0/5)
Destination debug output.
Destination is receiving the Ping Echo Request.
Extended Ping from source
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: s=192.168.1.2 (local), d=192.168.2.1 len 128, unroutable
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: s=192.168.1.2 (local), d=192.168.2.1 len 128, unroutable
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: s=192.168.1.2 (local), d=192.168.2.1 len 128, unroutable
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: s=192.168.1.2 (local), d=192.168.2.1 len 128, unroutable
Adding a default route on reply end
Router(config)#ip route 0.0.0.0 0.0.0.0 g0/0
Router(config)#ip route 0.0.0.0 0.0.0.0 g0/0
Results in change below.If Routers are not connected
that a Routing protocol or multiple static/default routes required.
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: tableid=0, s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, sending
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, encapsulation failed
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: tableid=0, s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, sending
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: tableid=0, s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, sending
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: tableid=0, s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, sending
IP: tableid=0, s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.2.1 (GigabitEthernet0/0), d=192.168.1.2 (GigabitEthernet0/0), len 128, rcvd 3
IP: tableid=0, s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), routed via RIB
IP: s=192.168.1.2 (local), d=192.168.2.1 (GigabitEthernet0/0), len 128, sending
No comments:
Post a Comment