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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing from two inside network.

Status
Not open for further replies.

mostecryder

IS-IT--Management
May 20, 2005
45
US
I have trouble routing from an inside network to another inside network to the internet. Here's the network diagram what im trying to do

Cisco Router => D-Link Wireless Router => DSL modem => Internet.


The Cisco router has two Fast Ethernet port. Outside interface is connected to the Wireless router on the 192.168.0.0. The Inside interface is on the 20.1.1.0 network. I can't access the Internet from the 20.1.1.0 network. Here's my config on the Cisco router.interface FastEthernet0/0
ip address 192.168.0.10 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.1.1.100 255.255.255.0
duplex auto
speed auto
!
interface Service-Engine1/0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1


*****
When I ping the internet at 4.2.2.2 it works but when i try an extended ping to 4.2.2.2 from 20.1.1.100 it doesn't work

Router#
Router#ping 4.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/24 ms
Router#ping
Protocol [ip]:
Target IP address: 4.2.2.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 20.1.1.100
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.2.2.2, timeout is 2 seconds:
Packet sent with a source address of 20.1.1.100
.....
Success rate is 0 percent (0/5)
Router#sh ip int brie
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.0.10 YES manual up up
FastEthernet0/1 20.1.1.100 YES NVRAM up up
Service-Engine1/0 unassigned YES unset administratively down down
Router#


****
Here's my routing table

Router#
Router#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.0.1 to network 0.0.0.0

20.0.0.0/24 is subnetted, 1 subnets
C 20.1.1.0 is directly connected, FastEthernet0/1
C 192.168.0.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.0.1
Router#

***
I would like all my nodes on the 20.1.1.100 network to be able to have access to the Internet. Thanks in advance for the help!
 
Is the 20.1.1.0/24 your registered address space? Or are you NAT'ing somewhere on the other other devices?

I would check the routing and NAT setup on both the devices outside the Cisco router.

It may just be that one of them doesn't have a route for 20.1.1.0/24 via 192.168.0.10
 
thanks KiscoKid.. I got it to work, I didn't know you have to do a dynamic NAT for the inside network to access the Internet. Appreciate the help
 
Hi mostercryder,

That was an interesting problem.. If you have a moment can you post how you created the Dynamic NAT? I'm a novice but would like to understand how you did this for the inside network.

thanks a lot
hb101
 
I think you have two possible problems.
The first, in the DSL modem or in the D-Link you have to do the NAT at network 20.1.1.0, and also you have to put the follow route:
ip route 20.1.1.100 255.255.255.0 192.168.0.10

One option is to do NAT in the cisco router with this configuration:

interface FastEthernet0/0
ip address 192.168.0.10 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.1.1.100 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface Service-Engine1/0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1

ip nat inside source list 10 interface FastEthernet0/0 overload

access-list 10 permit 20.1.1.0 0.0.0.255


Try this and tell us!!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top