victorli
asked on
configure gateway
I have a linux network which have 4 computers all installed in Linux: a front firewall, a web server, another firewall and database server. The second firewall is for protecting db server and also acts as a gateway between the 2 subnetwork: 192.168.2.0 is made up of "front firewall", "web server", "second firewall", 192.168.3.0 is made up of "second firewall" and "db server". All these are configured by my college and work very well.
My taks is to add another web server to this network, now my problem is the new server can see all computers on 192.168.2.0 but not 192.168.3.0, I use "/sbin/route -n" to check the routing table and found the gateway is not there. Since I am doing the configuration remotely and the new web server did not install X, I supposed I may need to directly edit some configuration files, how to do that?
The machine is linux redhat 7.3.
Thanks
My taks is to add another web server to this network, now my problem is the new server can see all computers on 192.168.2.0 but not 192.168.3.0, I use "/sbin/route -n" to check the routing table and found the gateway is not there. Since I am doing the configuration remotely and the new web server did not install X, I supposed I may need to directly edit some configuration files, how to do that?
The machine is linux redhat 7.3.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Redimido & jlevie:
Thanks for your comments and I found Redimido's comment is easy to follow and works although jlevie's comments may work as well.
Thanks for your comments and I found Redimido's comment is easy to follow and works although jlevie's comments may work as well.
Front firewall
|
192.168.2.0/24 Web server
|
Second firewall
|
192.168.3.0/24 DB server
And the new web server is in the 192.168.2.0/24 network.
It should have a default route pointing to the "Front firewall", and a static route to the 192.168.3.0 network pointing to the "Second firewall". And to see the DB server, adjustments in the configuration of the "Second firewall" will be necessary to allow traffic from the new web server to reach the DB server.