Networking Forums

Networking Forums > Computer Networking > Windows Networking > Routing with 3 subnet.

Reply
Thread Tools Display Modes

Routing with 3 subnet.

 
 
Ben.
Guest
Posts: n/a

 
      05-14-2004, 06:38 AM
Hello!

I'm trying to setup a link between two network separed by
another network the configuration is :

Network_A -- Getway_A --> Netork_C <-- Gateway_B --
Network_B

Network_A : 178.24.2.0 255.255.255.0
Network_C : 146.10.0.0 255.255.0.0
Network_B : 157.10.10.0 255.255.255.0

I think static route is the simple way to do that. But I'm
begginer and I'have some trubble. Can someone tell me how
configure the gateway, to route the packet from network A
to network B. Just give me the rule, I know how use them.

Thx!
Ben.
 
Reply With Quote
 
 
 
 
Roland Hall
Guest
Posts: n/a

 
      05-14-2004, 09:27 AM
"Ben." wrote in message news:cf3b01c4397e$1b6a4b70$(E-Mail Removed)...
: I'm trying to setup a link between two network separed by
: another network the configuration is :
:
: Network_A -- Getway_A --> Netork_C <-- Gateway_B --
: Network_B
:
: Network_A : 178.24.2.0 255.255.255.0
: Network_C : 146.10.0.0 255.255.0.0
: Network_B : 157.10.10.0 255.255.255.0
:
: I think static route is the simple way to do that. But I'm
: begginer and I'have some trubble. Can someone tell me how
: configure the gateway, to route the packet from network A
: to network B. Just give me the rule, I know how use them.

You set static routes to your NEIGHBORS. The DFG, if connected to the
Internet, IS the route to the Internet. When adding routes, you route the
NETWORK/subnet address to the target network/subnet and give it the gateway
to use.

In this configuration, the routers each have their own DFGs but a private
connection to each other.

On a Cisco router in the 178.24.2.0 network if the gateway was 146.10.0.2
and the target network was 157.10.10.0 and your DFG was 178.24.2.1:

Default route:
conf t
ip route 0.0.0.0 0.0.0.0 178.24.2.1

Route to Network B:
conf t
ip route 157.10.10.0 255.255.255.0 146.10.0.2

You would then have to add a route back on the other router in the
157.10.10.0 network with gateway 146.10.0.1 and DFG 157.10.10.1.

Default route:
conf t
ip route 0.0.0.0 0.0.0.0 157.10.10.1

Route to Network A:
conf t
ip route 178.24.2.0 255.255.255.0 146.10.0.1

If Network A had an Internet presence and Network B had to route through
Network A to get to the Internet, then Network B's config would be different
and only have a DFG to Network A.

conf t
ip route 0.0.0.0 0.0.0.0 146.10.0.1

Static route visual:
LAN A - [WAN A - C - WAN B] - LAN B
178.24.2.0 - [146.10.0.1 - 146.10.0.2] - 157.10.10.0

LAN A uses WAN B's IP address as the gateway to get to LAN B.
LAN B uses WAN A's IP address as the gateway to get to LAN A.

Interfaces:
E0 - LAN
S0 - DFG
S1 - Static Route
....

These are general setups. When a packet needs to route outside the local
subnet, if there is no static route set for the destination network, then
the DFG will be used.

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Online Support for IT Professionals -
http://support.microsoft.com/service...p?fr=0&sd=tech
How-to: Windows 2000 DNS:
http://support.microsoft.com/default...b;EN-US;308201


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      05-14-2004, 01:39 PM
Well, you could enable RIP on the two routers and just "get out of the way".
They will exchange routing data with each other and build thier own tables
themselves. But if these routers aren't that good, or you don't feel
comfortable with RIP, then just do the static routes like Rolland suggests.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

"Ben." <(E-Mail Removed)> wrote in message
news:cf3b01c4397e$1b6a4b70$(E-Mail Removed)...
> Hello!
>
> I'm trying to setup a link between two network separed by
> another network the configuration is :
>
> Network_A -- Getway_A --> Netork_C <-- Gateway_B --
> Network_B
>
> Network_A : 178.24.2.0 255.255.255.0
> Network_C : 146.10.0.0 255.255.0.0
> Network_B : 157.10.10.0 255.255.255.0
>
> I think static route is the simple way to do that. But I'm
> begginer and I'have some trubble. Can someone tell me how
> configure the gateway, to route the packet from network A
> to network B. Just give me the rule, I know how use them.
>
> Thx!
> Ben.



 
Reply With Quote
 
Matthew [MSFT]
Guest
Posts: n/a

 
      05-14-2004, 01:43 PM
Hi,

If this is a Windows server then On gateway A -

route add for 157.10.10.0 mask 255.255.255.0 146.10.0.x

(this will specify the gateway as 146.10.0.x (use the ip address on network
c on gateway B)
It will automatically pick the correct interface on the server

Then do the opposite for gateway B

route add 178.24.2.0 mask 255.255.255.0 146.10.0.x

(where the 146.10.0.x is the ip address for gateway A)





Thank you,
Matthew Fresoli
Microsoft Network Support
--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.


 
Reply With Quote
 
Ben
Guest
Posts: n/a

 
      05-15-2004, 11:06 AM
Ok!

Thx @all! I try some of this solutions monday, and let
you know how they is working!


 
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
Routing - Computers on either subnet have problems finding PCs on the other subnet ZZYZX Windows Networking 2 03-26-2011 01:01 AM
Multiple subnet routing issue from vpn DT Windows Networking 16 01-19-2010 06:06 PM
Routing and Off subnet ip address Glenn Windows Networking 2 09-22-2004 11:42 PM
routing on same subnet ... Markus Haberstock Linux Networking 2 05-15-2004 01:22 AM
subnet to subnet routing question S James Linux Networking 0 09-04-2003 03:37 PM



1 2 3 4 5 6 7 8 9 10 11