Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Quick LAN question.

Okay, Try and follow me here. This is my topology for my house (just experimental):

1. Internet line comes in to my Linksys router (192.168.1.1)

2. From there the Linksys goes out to the eth0 (192.168.1.2) of a Cisco 2500 (named: link).

3. The ser0 (192.168.2.1) of 'link' goes out to the ser1 (192.168.2.2) of another Cisco 2500 (named: internal).

4. The eth0 (192.168.3.1) of 'internal' is connected to a linksys switch, which in turn is connected to the hosts.

5. Both routers are able to ping over the serial link.

6. The host 192.168.3.100 is able to ping anything internally (eg.. 192.168.2.2, 192.168.3.1, 192.168.3.100), but it is not able to ping anything outside of the router 'internal'.

7. The ip route for both routers are the follwing:

ip route 192.168.3.0 255.255.255.0 192.168.1.1

ip route 192.168.2.0 255.255.255.0 192.168.1.1

ip route 0.0.0.0 0.0.0.0 192.168.1.1

8. The default-gate for both routers is the follwing:

ip default-gateway 192.168.1.1

So here is the question:

If I want the computer 192.168.3.100 to be able to ping 192.168.1.1 so it can access the internet, what would I have to do? I don't know what I am missing. I need to tell the router that anything coming from the network 192.168.3.0 needs to be forwarded to 192.168.1.1 I suppose, but I will let you guys decide.

Thank you for your time and effort.

-Russell

7 REPLIES
Silver

Re: Quick LAN question.

I think this is all you need (remove previous static routes):

At router 2500 "internal"

ip default-gateway 192.168.2.1

At router 2500 "link"

ip default-gateway 192.168.1.1

ip route 192.168.3.0 255.255.255.0 192.168.2.2

Please, try it and let us know

HTH

Bronze

Re: Quick LAN question.

You also need to add a route on the Linksys router (if that is possible) back to the 192.168.3.0 network:

route 192.168.3.0 255.255.255.0 via 192.168.1.2

You may also (if possible) need to nat the 192.168.3.0 255.255.255.0 network on the Linksys.

-HTH

New Member

Re: Quick LAN question.

That did not work? Now I cant ping from 'internal' to 192.168.1.1? What is missing? Any clues?

Silver

Re: Quick LAN question.

Have you added at Linksys the route pointed by previous post ?

New Member

Re: Quick LAN question.

Yes... I tried that too?! Any other thoughts?

New Member

Re: Quick LAN question.

What should I use as the hop count? 2 or 1? Also, would this be considered LAN or WAN?

New Member

Re: Quick LAN question.

I figured it out!!!!!

Here is what I did:

On the linksys:

Static routes are as follows:

192.168.2.0 255.255.255.0 via 192.168.1.2 (hop count 2, interface LAN)

192.168.3.0 255.255.255.0 via 192.168.1.2 (hop count 2, interface WAN)

On router 'link':

ip route 192.168.3.0 255.255.255.0 192.168.2.2

ip route 0.0.0.0 0.0.0.0 192.168.1.1

On router 'internal':

ip route 192.168.1.0 255.255.255.0 192.168.2.1

ip route 0.0.0.0 0.0.0.0 192.168.2.1

I went on to setup the DHCP server on the router 'internal', and now I have a much too complicated home network. :)

You guys help me tons to get through this.... thank you much!

129
Views
15
Helpful
7
Replies