Solved

Why won't my 1900 series CISCO router connect to the internet

Posted on 2011-03-14
10
1,187 Views
Last Modified: 2012-05-11
We just got a 1900 series Cisco router and after setting it up, I can see the network with it and ping it, but cannot get to the internet from it.  Here is the config:
Using 1500 out of 262136 bytes
!
! Last configuration change at 01:13:30 UTC Mon Mar 14 2011
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CasinOmahaRouter
!
boot-start-marker
boot-end-marker
!
enable secret 5
enable password @!
no aaa new-model
!
!
no ipv6 cef
no ip routing
no ip cef
!
ip name-server 207.5.120.16
ip name-server 207.5.120.17
ip name-server 66.37.236.22
!
multilink bundle-name authenticated
!
license udi pid CISCO1921/K9 sn FGL15042EK1
!
redundancy
!
interface GigabitEthernet0/0
 description To Internet
 ip address 10.236.15.??? 255.255.254.0
 ip nat outside
 ip virtual-reassembly
 no ip route-cache
 duplex auto
 speed auto
 !
!
interface GigabitEthernet0/1
 description XXX Network
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 no ip route-cache
 duplex auto
 speed auto
 no mop enabled
interface Serial0/0/0
 no ip address
 no ip route-cache
 shutdown
 no clock rate 2000000
 !
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 101 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
ip route 0.0.0.0 0.0.0.0 10.236.14.1
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 any!
control-plane
line con 0
line aux 0
line vty 0 4
 password
 login
!
scheduler allocate 20000 1000
end

And these are the settings for our current router:
ip address 10.236.15.???
subnet mask 255.255.254.0
gateway 10.236.14.1
dns  207.5.120.16
Any help would be very much appreciated!!  
0
Comment
Question by:coughlin74
10 Comments
 
LVL 4

Expert Comment

by:bjove
ID: 35133655
Enable routing:
Router(config)#ip routing
0
 

Expert Comment

by:rodrigo01
ID: 35133658
do you created the Vlan?
0
 

Author Comment

by:coughlin74
ID: 35133915
Routing is enabled now. I did not create a Vlan.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 4

Expert Comment

by:bjove
ID: 35134081
Can you ping gateway 10.236.14.1 from the router?
Try to tracert to some public address from some PC on 192.168.1.0 network. What is the output?
0
 

Author Comment

by:coughlin74
ID: 35134423
The Ping works at 80%, tracert fail with error message unable to resolve taget system name.

current config

ip name-server 207.5.120.16
ip name-server 207.5.120.17
ip name-server 66.37.236.22
!
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1921/K9 sn FGL15042EK1
!
!
interface GigabitEthernet0/0
 description To Internet
 ip address 10.236.15.xxx 255.255.254.0
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 !
!
interface GigabitEthernet0/1
 description CasinOamha Network
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 no mop enabled
 !
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 101 interface Serial0/0/0 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
!
!
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 35135001
Remove this route
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0

The default route must point to the next hop IP and *not* the interface

ip route 0.0.0.0 0.0.0.0 10.236.15.?

Since 10.236.15.x is a private network, I assume that the next hop device already has Internet access on some public IP address?

0
 
LVL 4

Assisted Solution

by:bjove
bjove earned 250 total points
ID: 35136917
What do you get if you try:
tracert 207.5.120.16
from  from some PC on 192.168.1.0 network?
What is the output if you try:
ipconfig /all
on the PC?
What is the output of
show ip route
on the router?
0
 

Author Comment

by:coughlin74
ID: 35140791
Our internet service has been down all morning, I will get you some answers as soon as possible. Before I disconnect the internet to test I have to let them catch up.
0
 

Author Comment

by:coughlin74
ID: 35143509
Our Linksys current settings
10.236.15.xx 255.255.254.0
Gateway 10.236.14.1

Config file
hostname CasinRouter
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$j/Mk$ecEfgreZtnpX1CSVDpqBp1!
no aaa new-model
!
!
!
!
no ipv6 cef
ip source-route

ip name-server 207.5.120.16
ip name-server 207.5.120.17
ip name-server 66.37.236.22
!
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1921/K9 sn FGL15042EK1
!
!
!
redundancy
!
interface GigabitEthernet0/0
 description To Internet
 ip address 10.236.15.xxx 255.255.254.0
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 !
!
interface GigabitEthernet0/1
 description CasinNetwork
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 no mop enabled
 !
!
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 101 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 10.236.14.1
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 any



Ipconfig/all shows

Ip 192.168.1.251 255.255.255.0
D.Gateway 192.168.1.1
DNS 192.168.1.252
        192.168.1.1

gateway of last resort is 10.236.14.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.236.14.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.236.14.0/23 is directly connected, GigabitEthernet0/0
L        10.236.15.165/32 is directly connected, GigabitEthernet0/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, GigabitEthernet0/1
L        192.168.1.1/32 is directly connected, GigabitEthernet0/1

0
 

Author Closing Comment

by:coughlin74
ID: 35143627
The router is now working after I typed that last message. This was the longest I had it on the network the entire time I was testing it. I also changed the IP route as you can see on that last config. Not sure why it started working but it’s up and going. Thanks for all your help.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question