cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1787
Views
10
Helpful
4
Replies

Router no hace ping a PC

klkconklwa
Level 1
Level 1

Buenos dias, estoy intentando configurar un router para que tenga salida a internet mediante otro router Orange, el router cisco que estoy configurando va conectado al router Orange (192.168.115.1)que tiene salida a internet, ya he configurado que el router cisco tenga salida a internet, pero no consigo que mi PC tenga acceso a internet, conecto con un cable de red al router cisco, a una interficie, a esta interficie no le puedo assignar una IP porque és como un puerto de switch, entonce le assigno IP mediante una VLAN, en este punto el PC me hace ping al router, pero el router no al PC.

 

Si alguien sabe que puede ser, gracias.

 

Configuración del router:

Current configuration : 1407 bytes
!
! Last configuration change at 09:27:58 UTC Fri Mar 11 2022
!
version 15.6
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
wan mode ethernet
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
controller VDSL 0
shutdown
!
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Ethernet0
no ip address
shutdown
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
ip address 192.168.115.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
ip address 10.215.0.1 255.255.0.0
!
router rip
network 10.0.0.0
network 192.168.115.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.115.1
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
line con 0
no modem enable
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
stopbits 1
line vty 0 4
login
transport input none
!
scheduler allocate 60000 1000
!
end

 

1 Accepted Solution

Accepted Solutions

If PC able to gateway 10.215.0.1 are you able to ping 8.8.8.8 ? and able to get internet.

 

If the Router not able to ping Pc then Windows FW issue

 

https://www.lifewire.com/how-to-disable-the-windows-firewall-2624505

 

Are you able to view on Router

 

show ip arp ( PC MAc then you are good)

 

Tests :

 

1. from Router are you able to ping 8.8.8.8

2. from PC ping Router , ping 8.8.8.8

3. tracert from Pc to 8.8.8.8

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

If you able to ping From PC Router, that mean you able to reach Gateway, PC may have FW that is the reason Router may not be able to ping back.

 

If you looking PC to access internet add below config bold and test it :

 

interface GigabitEthernet2
ip address 192.168.115.2 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface Vlan1
ip address 10.215.0.1 255.255.0.0
ip nat inside
!
!
ip route 0.0.0.0 0.0.0.0 192.168.115.1
!
access-list 1 permit 10.215.0. 0.0.255.255
ip nat inside source list 1 interface GigabitEthernet2 overload

 

 

Make sure PC has DNS config 8.8.8.8

worth post ipconfig /all from PC

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

HI @balaji.bandi, thanks for that, i test that config and continues without ping router-PC:

Current configuration : 1505 bytes
!
! Last configuration change at 11:06:31 CET Thu Mar 10 2022
!
version 15.6
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
wan mode ethernet
clock timezone CET -23 0
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
controller VDSL 0
 shutdown
!
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0
 no ip address
 shutdown
 no atm ilmi-keepalive
!
interface Ethernet0
 no ip address
 shutdown
!
interface FastEthernet0
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface GigabitEthernet0
 no ip address
!
interface GigabitEthernet1
 no ip address
!
interface GigabitEthernet2
 ip address 192.168.115.2 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface Vlan1
 ip address 10.215.0.1 255.255.0.0
 ip nat inside
 ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.115.1
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 10.215.0.0 0.0.255.255
!
!
line con 0
 no modem enable
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 stopbits 1
line vty 0 4
 login
 transport input none
!
scheduler allocate 60000 1000
!
end

And thats the Ipconfig:

 

If PC able to gateway 10.215.0.1 are you able to ping 8.8.8.8 ? and able to get internet.

 

If the Router not able to ping Pc then Windows FW issue

 

https://www.lifewire.com/how-to-disable-the-windows-firewall-2624505

 

Are you able to view on Router

 

show ip arp ( PC MAc then you are good)

 

Tests :

 

1. from Router are you able to ping 8.8.8.8

2. from PC ping Router , ping 8.8.8.8

3. tracert from Pc to 8.8.8.8

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks @balaji.bandi i think it was the: ip nat inside source list 1 interface giga2 overload

Now it's working with that config:

version 15.6
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
wan mode ethernet
clock timezone CET -23 0
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
controller VDSL 0
 shutdown
!
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0
 no ip address
 shutdown
 no atm ilmi-keepalive
!
interface Ethernet0
 no ip address
 shutdown
!
interface FastEthernet0
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface GigabitEthernet0
 no ip address
!
interface GigabitEthernet1
 no ip address
!
interface GigabitEthernet2
 ip address 192.168.115.2 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface Vlan1
 ip address 10.215.0.1 255.255.0.0
 ip nat inside
 ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface GigabitEthernet2 overload
ip route 0.0.0.0 0.0.0.0 192.168.115.1
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 10.215.0.0 0.0.255.255
!
!
line con 0
 no modem enable
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 stopbits 1
line vty 0 4
 login
 transport input none
!
scheduler allocate 60000 1000
!
end

Review Cisco Networking for a $25 gift card