LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   howto to route 2 subnets between 2 routes (http://www.linuxquestions.org/questions/linux-networking-3/howto-to-route-2-subnets-between-2-routes-840992/)

sys7em 10-28-2010 12:13 PM

howto to route 2 subnets between 2 routes
 
Hello all,

I have some CISCO,Linux related problem with 2 Class C subnets:

192.168.64.0 -> PC5
192.168.65.0 -> PC6

Here's a picture of my situation:
http://img219.imageshack.us/img219/1162/46599021.gif

HQ has to have 2 STATIC routes in order those 2 "PCs" mentioned above to have end to end connectivity with NETWORK A and NETWORK B. Now I try with

route0 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/0
route1 -> network: 0.0.0.0, mask: 0.0.0.0, nexthop: Serial 0/0/1

And it seems to work but I don't think it's proper! I feel it's kinda wrong ... but all my other attempts to set another couple of static routes ends in "Request timed out" and thus connection lost. Any suggestions would be appreciated.

Thank you in advance.

sys7em 10-28-2010 02:39 PM

Hey I got it all figured out.

Maybe someone will find himself across this topic and could find it useful. Good Luck.

The problem was that I have looked from the wrong side of the topology I had. I don't need to make anything with the 64 and 65 networks but the networks coming from A and B .. I have to route them properly. Networks A through Serial0/0 and Networks B through Serial0/1. (of course with the right network mask that covers all subnets according to the topology of A and B)


All times are GMT -5. The time now is 06:35 AM.