cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
242
Views
1
Helpful
4
Replies

Cisco router can connect to internet but any connected devices can't

Karakas
Level 1
Level 1

I configured my cisco router to connect to the internet and it does connect but any connected devices don't have internet. My router is a cisco 897VA-VAB something and here is my configuration I suspect it has to do something with the vlan:

Using 4528 out of 262136 bytes
!
! Last configuration change at 07:58:52 UTC Sun Nov 3 2024 by karakas
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname karakas
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model
memory-size iomem 10
!
!
!
!
!
!
!
!
!
!


!
ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool ccp-pool
import all
network 10.10.10.0 255.255.255.128
default-router 10.10.10.1
lease 0 2
!
ip dhcp pool 192.168.1.0 255.255.255.0
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8 4.2.2.2
!
!
!
no ip domain lookup
ip domain name yourdomain.com
ip name-server 8.8.8.8
ip name-server 4.2.2.2
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
cts logging verbose
license udi pid C897VAB-K9 sn FCZ2229E352
!
!
vtp version 2
username karakas privilege 15 secret 5 $1$/iTv$MydhEFx5bow43C/pA2gbN1
!
!
!
!
!
controller VDSL 0
no cdp run
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
shutdown
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
!
interface GigabitEthernet5
no ip address
!
interface GigabitEthernet6
no ip address
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
ip address 192.168.2.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
description $ETH_LAN$
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
ip nat inside source list 1 interface Vlan1 overload
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 0.0.0.0 0.0.0.0 Vlan1
!
!
tftp-server flash:/firmware/vdsl_bond.bin
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
banner exec ^C
% Password expiration warning.

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

Try below and device in the Lan able to get Interenet.

no ip nat inside source list 1 interface Vlan1 overload
no ip route 0.0.0.0 0.0.0.0 Vlan1

ip routing (some device have default enable in case required add)

ip nat inside source list 1 interface GigabitEthernet8 overload

any connected devices don't have internet.

This was not sure, using Lan PC you trying to connect to remote vpn server using any connect ?

before connecting make sure you have internet connection to PC - so lets fix that before you proceed further.

still issue post below output

show run

show ip interface brief

show ip route

what is the PC IP you get ?

from PC post ipconfig /all and ping 8.8.8.8 and google.com

 

BB

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

How to Ask The Cisco Community for Help

View solution in original post

@Karakas 

 This route is not necessary

no ip route 0.0.0.0 0.0.0.0 Vlan1

And you NAT is incorrect

no ip nat inside source list 1 interface Vlan1 overload

Change to this

ip nat inside source list 1 interface GigabitEthernet8 overload

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

Try below and device in the Lan able to get Interenet.

no ip nat inside source list 1 interface Vlan1 overload
no ip route 0.0.0.0 0.0.0.0 Vlan1

ip routing (some device have default enable in case required add)

ip nat inside source list 1 interface GigabitEthernet8 overload

any connected devices don't have internet.

This was not sure, using Lan PC you trying to connect to remote vpn server using any connect ?

before connecting make sure you have internet connection to PC - so lets fix that before you proceed further.

still issue post below output

show run

show ip interface brief

show ip route

what is the PC IP you get ?

from PC post ipconfig /all and ping 8.8.8.8 and google.com

 

BB

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

How to Ask The Cisco Community for Help

Brother I have internet thank you very much

@Karakas 

 This route is not necessary

no ip route 0.0.0.0 0.0.0.0 Vlan1

And you NAT is incorrect

no ip nat inside source list 1 interface Vlan1 overload

Change to this

ip nat inside source list 1 interface GigabitEthernet8 overload

Thank you very much as well

 

Review Cisco Networking for a $25 gift card