Re: 2 Routers
- From: Chris Cox <ccox_nopenotthis@xxxxxxxxxxx>
- Date: Tue, 05 Sep 2006 11:09:30 -0500
miguel-lopes wrote:
Hello I have a linux Suse 9.3 installed and it is working fine but I have a
problem is how cam I serve 2 diferente networks.
Let me explain we have 2 routers 192.168.1.254 ( framerelay) and
192.168.1.252 (internet).
The default gateway on linux box is 192.168.1.252 because I want this
machine to acces the internet and I also want it to comunicate with the
frame relay at the same time. That is when some request comes to this
machine intranet
A small Drawing
|-------router (192.168.1.252)------ internet
box1----+
|----router (192.168.1.254)------intranet---+----IP
192.168.2.*
|-----IP 192.168.3.*
|-----IP 192.168.4.*
The network 192.168.2.*, 192.168.3.*�, etc , requests infromation to work on
a aplication web developed.
How can I do this??
Well.. your diagram didn't come out well... but I'm going
to say that if you put in a static route for your framerelay network
devices to use 192.168.1.254... that things should work.
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.254
route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.254
route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.1.254
You'd need a static route for each network via the intranet
gw.
You can set this up as part of YaST networking so that they will go
into the /etc/sysconfig... choose Routing in your Network Device
config in YaST and fill in the static route info there.
.
- References:
- 2 Routers
- From: miguel-lopes
- 2 Routers
- Prev by Date: Re: What does this mean?
- Next by Date: Re: Fuzzy graphics with 10.1
- Previous by thread: 2 Routers
- Next by thread: Re: 2 Routers
- Index(es):
Relevant Pages
|