cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
734
Views
1
Helpful
9
Replies

cisco router 4351 have ping but no internet

josecervini
Level 1
Level 1

I don't know how to do it or what command I need to make the router work. I've been trying to get it to work for several days but it doesn't work. I have ping to 8.8.8.8 and google.com from the router but from the PC it only pings to 8.8.8.8 both through the gig0/0/0 (wan) and gig0/0/1 (lan) interface. What command do I need so I can solve the problem? I'm looking forward to changing the Cisco router for an Aruba or TP Link, they are easier to configure.

Show run:

Building configuration...

Current configuration : 2268 bytes
!
! Last configuration change at 13:14:19 EST Mon Jul 8 2024
!
version 16.6
service timestamps debug datetime msec
service timestamps log datetime msec
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable secret 5 xxxxxxxxxxxxxxxxxxxx
enable password xxxxxxxxxxxxxxxxxxxxxx
!
no aaa new-model
clock timezone EST -23 0

!
ip host R1 192.168.1.1
ip name-server 8.8.8.8 4.2.2.2
ip domain name cisco.com
ip dhcp excluded-address 192.168.1.1 192.168.1.20
!
ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
domain-name cisco.com

!
subscriber templating
!
multilink bundle-name authenticated
passthru-domain-list jose
match www.lolyschicken.com
match www.cisco.com
match www.google.com

!
license udi pid ISR4351/K9 sn xxxxxxxxxxxxxxxxx
diagnostic bootup level minimal
spanning-tree extend system-id
!

username xxxxxxxxxxxx privilege 15 secret 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
redundancy
mode none

!
interface GigabitEthernet0/0/0
ip address dhcp hostname R1
ip nat outside
negotiation auto
spanning-tree portfast disable
ip virtual-reassembly
!
interface GigabitEthernet0/0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
negotiation auto
spanning-tree portfast disable
ip virtual-reassembly
!
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
ip nat inside source list 1 interface GigabitEthernet0/0/0 overload
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip tftp source-interface GigabitEthernet0
ip route 0.0.0.0 0.0.0.0 dhcp
!
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
!
line con 0
transport input none
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password xxxxxxx

login

!
end

pings from router:

josecervini_0-1720459801937.png

josecervini_1-1720459857060.png

 

 

3 Accepted Solutions

Accepted Solutions

ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1

Dns-server 8.8.8.8 8.8.4.4
domain-name cisco.com

This need only 

MHM

View solution in original post

It was the first thing I did, besides reloading the router and the PC.

View solution in original post

I power cycle, router, pc and modem, now work!!!!!!!!

View solution in original post

9 Replies 9

ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1

Dns-server 8.8.8.8 8.8.4.4
domain-name cisco.com

This need only 

MHM

How do I add that command?

Friend Check my comment

You need to add dns-server under dhcp pool of router

MHM

I add still same, is carzy this situation 

Only disconnect the pc cable abd reconnect again

And the  try 

Ping google.com

It was the first thing I did, besides reloading the router and the PC.

I power cycle, router, pc and modem, now work!!!!!!!!

You are welcome 
what was the issue, the PC dont have correct DNS server and the solution was we make router push the dns server IP to PC
and it work 
have a nice day 

MHM

Thank you very much, the truth is that it was frustrating all this time but people like you help a lot in this community, anyway, I think that many times Cisco products are much more complicated since I have installed other routers and the configuration is not so complicated. Thank you very much for your time.