"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