cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4331
Views
0
Helpful
12
Replies

Cannot ping from PC1 to google.com and Router cannot ping google.com

r20039r20039
Level 1
Level 1

Hi Experts

 

The topology is attached

 

Ping is Successful for the following:

PC1 to all interfaces and to PC2 as well. Ping Fails from PC1 to ASA G0/0

(I am using Ccproxy server to share the Internet on PC2: pc on the right side of the topology), that's why I have to telnet to that PC2 from PC1 to connect to that to Ping outside world (google.com).

I can surf the Internet from PC1 using the proxy server's address of 192.168.137.1(PC2) 

 

Now, I can ping from R2's fa0/1(192.168.137.2) to PC2(192.168.137 and vice versa but I cannot ping to google.com  from R2.

 

What is the reason?

 

Please help

All sh run config

 

R1#sh run
Building configuration...

Current configuration : 842 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
dot11 syslog
ip cef
!
!
!
!
no ip domain lookup
multilink bundle-name authenticated
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.16.0.2 255.255.0.0
 duplex auto
 speed auto
!
router rip
 network 8.0.0.0
 network 10.0.0.0
 network 172.16.0.0
 network 192.168.137.0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.1.254
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 login
!
scheduler allocate 20000 1000
end

 

 

-----

R2#sh run
Building configuration...

Current configuration : 833 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip cef
!
!
!
!
ip name-server 8.8.4.4
!
crypto pki token default removal timeout 0
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 8.8.8.8 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.137.2 255.255.255.0
 duplex auto
 speed auto
!
router rip
 network 8.0.0.0
 network 10.0.0.0
 network 172.16.0.0
 network 192.168.137.0
!
ip route 0.0.0.0 0.0.0.0 8.8.8.254
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
end

R2#

 

 

-----

ciscoasa# sh run
: Saved
:
ASA Version 8.4(2)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface GigabitEthernet0/0
 nameif outside
 security-level 0
 ip address 8.8.8.254 255.255.255.0
!
interface GigabitEthernet0/1
 nameif inside
 security-level 100
 ip address 10.1.1.254 255.255.255.0
!
interface GigabitEthernet0/2
 shutdown
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 shutdown
 no nameif
 no security-level
 no ip address
!
ftp mode passive
dns domain-lookup outside
dns server-group DefaultDNS
 name-server 4.2.2.2
object network obj_any
 subnet 0.0.0.0 0.0.0.0
access-list PER_ICMP extended permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
!
object network obj_any
 nat (inside,outside) dynamic interface
access-group PER_ICMP in interface outside
!
router rip
 network 8.0.0.0
 network 10.0.0.0
 network 172.16.0.0
 network 192.168.137.0
!
route outside 0.0.0.0 0.0.0.0 8.8.8.8 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
telnet timeout 5
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
!
class-map icmp-class
 match default-inspection-traffic
class-map icmp
 match any
class-map inspection_default
!
!
policy-map icmp_policy
 class icmp
  inspect icmp
policy-map global_policy
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
call-home
 profile CiscoTAC-1
  no active
  destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
  destination address email callhome@cisco.com
  destination transport-method http
  subscribe-to-alert-group diagnostic
  subscribe-to-alert-group environment
  subscribe-to-alert-group inventory periodic monthly
  subscribe-to-alert-group configuration periodic monthly
  subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:16645a41a30b1c6d95e8279fe85f720d
: end
ciscoasa#

 

---------------

PC1: 172.16.0.1/16                       PC2: 192.168.137.1/24

Gateway: 172.16.0.2                     Gateway: 192.168.137.2

 

 

12 Replies 12

Hello,

 

your drawing doesn't match the configurations you have sent, so it is hard to troubleshoot:

 

R2

 

interface FastEthernet0/1
ip address 10.1.1.100 255.255.255.0
duplex auto
speed auto

 

In your drawing that interface has IP address 192.168.137.2/24 ?

 

R1

 

interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto

 

In your drawing this interface has IP address 172.16.0.2/16 ?

 

Also, post the full configuration of the ASA. 

 

Georg
Now I have made correction in my post. Now the IP config reflects the Topology.
the sh run of ASA is complete here.

Hello,

 

thanks. I'll need to lab this, will get back with you...

Looking forward to the solution.

Hi,

 

I think you have a network loop:

On R2,

ip route 0.0.0.0 0.0.0.0 8.8.8.254

 

And on ASA,

route outside 0.0.0.0 0.0.0.0 8.8.8.8 1

 

I guess, you will need to change the default route on R2 as follows:

ip route 0.0.0.0 0.0.0.0 192.168.137.1

 

HTH,

Meheretab

HTH,
Meheretab

Ok. Now removed
On R2,
ip route 0.0.0.0 0.0.0.0 8.8.8.254

I have only one default route now on R2:
ip route 0.0.0.0 0.0.0.0 192.168.137.1

Same problem persist
R2#ping google.com

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.217.2.174, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#

R2#ping google.com

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.217.2.174, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#

Please post the output of the following:

 

R2#ping google.com source fa0/1

 

HTH,
Meheretab

Meher

R2#ping google.com source fa0/1

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Translating "google.com"...domain server (255.255.255.255) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.217.0.238, timeout is 2 seconds:
Packet sent with a source address of 192.168.137.2
.....
Success rate is 0 percent (0/5)
R2#

I'm wondering which way is the outside. Could you display the output of the
following?
On PC2: trace google.com

HTH,
Meheretab

Outside is the right hand side of the router towards facing R2
Review Cisco Networking products for a $25 gift card