LinuxQuestions.org
Help answer threads with 0 replies.
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, 01: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 01:15 PM.
 
Old 10-28-2010, 03: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02: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 11:48 PM
static routes using route-eth0 file sti2envy Linux - Networking 2 09-08-2007 10:10 AM
howto route murat1 Linux - Networking 8 08-13-2007 08:14 PM
howTo: add ip route elrose Slackware 2 12-27-2005 01:44 PM


All times are GMT -5. The time now is 09:40 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration