LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2010, 12:13 PM   #1
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
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.

Last edited by sys7em; 10-28-2010 at 12:15 PM.
 
Old 10-28-2010, 02:39 PM   #2
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing routes in "route" file... imprise Linux - Newbie 1 06-01-2009 01:18 PM
Two shared dhcpd subnets, how do I route the guest subnet to a web page or to squid? cmisip Linux - Networking 3 08-31-2008 10:48 PM
static routes using route-eth0 file sti2envy Linux - Networking 2 09-08-2007 09:10 AM
howto route murat1 Linux - Networking 8 08-13-2007 07:14 PM
howTo: add ip route elrose Slackware 2 12-27-2005 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration