Networking Forums

Networking Forums > Computer Networking > Linux Networking > routing between two subnets using separate routers.

Reply
Thread Tools Display Modes

routing between two subnets using separate routers.

 
 
bailey86
Guest
Posts: n/a

 
      12-12-2006, 09:38 AM
Hi,

This is the setup we have


( Internet )
|
|
|
-------------------------------------------------------------------------------------------------------------------------
WAN interface
[Main router]
LAN port - x.x.x.238
-------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
--------
--------------
WAN port x.x.x.233 WAN port
x.x.x.234
[Subnet 1 router] [Subnet
2 router]
LAN port set to 192.168.1.0/24 LAN port set
to 192.168.2.0/24
--------
-----------------
|
|



Hopefully that looks alright!

Basically there are 5 usable addresses assigned by the ISP - the
initial ADSL router picks up its WAN address via DHCP and this is a
variable address and can change with a new lease.

There is a subnet set up between the three routers using the subnet
supplied by the ISP.

This means that the two subnet routers are accessible to the internet
using their IP addresses - and this is what is needed to get VPN's
working.

What I need to know is very basic - what is the principle for being
able to access one subnet from the other - i.e. on 192.168.1.0 I
want to be able to access 192.168.2.0.

I thought it would be about adding static routes to the two subnet
routers but that does not seem to work - also I added static routes to
the main router but that did not work either.

If someone could point me at a known answer then at least I would be
trying to get the right idea to work.

Thanks,

Kevin

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up two separate networks on two routers on one Network? steve Network Routers 15 08-14-2008 05:40 PM
Selective routing / how to separate 2 subnets Piotrek G. Linux Networking 5 04-21-2008 08:51 AM
DNS over NAT on separate subnets ablack@carneys.com Windows Networking 4 03-09-2006 06:48 PM
Do I need separate subnets? Steve Jones Wireless Internet 2 07-18-2005 04:59 PM
End point VPN routers on geographically separate Win2K3 DC controlled networks ch Windows Networking 2 04-23-2004 09:40 PM



1 2 3 4 5 6 7 8 9 10 11