On Wed, 16 Jul 2003, Matt Fuerst <(E-Mail Removed)> wrote:
> Hi all,
>
> Thanks in advance for any and all advice. This is a relatively simple setup,
> so I hope this is a nerf toss.
>
> We are replacing our existing servers and network with a Linux network. We
> currently have a large number of segments and a poorly designed system we
> are hoping to streamline. Our proposed system is a follows.
>
> Two Servers, Server A and Server B. Server A is a file server for Group A,
> Server B is a file server for Group B (two portions of the same building).
> Server B is also running a DHCP server and Server A is running DHCP relay to
> get IP addresses from Server B.
>
> Server A has two ethernet cards, IP addresses 192.168.5.X ("Server" segment)
> and 192.168.6.X ("Client" segment) and Server B has IP addresses 192.168.5.X
> and 192.168.7.X. So a Client on A segment gets assigned a 192.168.6.X
> address and a client on B segment gets assigned a 192.168.7.X. All fine and
> dandy so far?
>
> Clients on B can see Server B and it's 192.168.7.X IP address fine, and can
> ping it's other address fine as well, the 192.168.5.X one. However, the
> routing stops there, and it cannot see the other server nor any of the other
> client machines.
Set DHCP to give 192.168.6.x boxes a default route to server A.
Set DHCP to give 192.168.6.x boxes a default route to server B.
on server A:
route add -net 192.168.7.0 gw serverB_192.168.5.x_IP
echo 1 > /proc/sys/net/ipv4/ip_forward
on server B:
route add -net 192.168.6.0 gw serverA_192.168.5.x_IP
echo 1 > /proc/sys/net/ipv4/ip_forward
Note: You might need to include the device that leads to the other network
at the end of the route command (like: dev eth1). If the above tests
successfully, there are likely settings in your network scripts that could
make it more permanent (automatic during boot).
If you have single point internet access, put that on 192.168.5.x network
and give each of server A and server B a default route to it. However, it
may be more involve than that is it cannot be configured to route to your
A and B networks.
--
David Efflandt - All spam ignored
http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/