Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up Test Network, No Internet on one side

Status
Not open for further replies.

Ztrek7

IS-IT--Management
Mar 12, 2004
100
0
0
US
I have a linksys cable modem router that supplies my home network with the internet. The network is 192.168.1.0 /24

I have a cisco 2514 v12.2 IOS that I want to create a network on it, connect it to my personal network and share the internet. The new network I am creating is 192.168.10.0 /24

Here's the thing, I can ping from personal network to test network and vice versa, personal net has internet, but test does NOT.

Below is the config. I thought it was a NAT problem, so I configured that, not 100% sure on config of NAT though. Also, when I try to add the access-list 10 permit any it kicks me out of my telnet session. I remove it to get back in. Could this be the problem? Am I going about this the wrong way?

Any input would be appreciated.

Thanks,

-Jeremy

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
!
hostname DCE
!
ip subnet-zero
ip name-server 74.137.112.196
ip name-server 74.137.112.197
!
!
interface Ethernet0
ip address 192.168.1.150 255.255.255.0
ip nat outside
!
interface Ethernet1
ip address 192.168.10.1 255.255.255.0
ip nat inside
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
router igrp 1
network 192.168.1.0
network 192.168.10.0
!
ip default-gateway 192.168.1.150
ip classless
ip nat pool ovrld 192.168.1.151 192.168.1.151 prefix 24
ip nat inside source list 10 pool ovrld overload
access-list 7 permit any
 
Remove:

nat pool ovrld 192.168.1.151 192.168.1.151 prefix 24
ip nat inside source list 10 pool ovrld overload

and try this:

ip nat inside source list 10 interface ethernet0 overload
access-list 10 permit ip 192.168.10.0 0.0.0.255
 
Also add a route to the Internet
ip route 0.0.0.0 0.0.0.0 192.168.1.1

or

ip route 0.0.0.0 Ethernet0
 
Thanks for your guy's help, got it working, but a different way. Took out NAT and put RIP on the linksys and changed Cisco protocol to RIP. Seems to work fine.

R55ell, isn't that the same thing as:

ip default-gateway 192.168.1.1

Thanks,

Z
 
They are not the same but I’d be interested in knowing if the “IP default-gateway” entry was working for you.

IP default-gateway is used when IP routing is disabled. I always believed the entry was for telneting/administering the device. I believe it not would route packets as a router does but respond to me when I was access it.

IP route is a method to enable routing. This is a static method. You have one interface to the world and anything that wasn’t directly connected to this Cisco router will ultimately need to go out that interface or traverse 192.168.1.1.

You enabled routing when you configured a routing protocol “RIP”.

Everybody has their opinion as to the best way to enable routing for different deployments. If RIP is working for you than your good. You may look at different methods to make your network more efficient.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top