11-25-2003 11:39 PM - edited 03-02-2019 11:58 AM
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
11-26-2003 12:07 AM
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
11-26-2003 07:24 AM
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
11-26-2003 10:00 PM
That did not work? Now I cant ping from 'internal' to 192.168.1.1? What is missing? Any clues?
11-27-2003 02:58 AM
Have you added at Linksys the route pointed by previous post ?
11-27-2003 10:17 PM
Yes... I tried that too?! Any other thoughts?
11-27-2003 10:24 PM
What should I use as the hop count? 2 or 1? Also, would this be considered LAN or WAN?
11-28-2003 12:04 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide