-   Linux - Networking (
-   -   Routing between two network (

satishap 12-12-2007 12:11 AM

Routing between two network
Hi to All,

we have at our office two network phisically isolated

network 1 : and running own internet from TATA ISP

network 2 : and running own internet from Airtel ISP

Now we want to connect these two network so that users of network 1 can access the network B and vicaversa.
But at the same time we don't want change the setup of network A.

we have got Redhat enerprise5.0 linux with two lancard. Can anybody tell me how to do the routing in Redhat enterprise 5.0 linux i.e what exactly route can be added so that both the network can communicate with each other.

jschiwal 12-12-2007 01:14 AM

If memory serves, those networks are on private IP addresses, which is what I would expect. You don't want to simply route the traffic through your default gateway, as the traffic would be unencrypted. You need to configure a virtual network connection on the gateway computer at each site. Or install a router that provides VPN tunneling. The hosts in each network need to have a route set up so that that device (router or computer) will be used as the gateway for the other network. I'm not sure but the DHCP server may be able to do that automatically if you use DHCP.

If you use samba, you may also need to configure one of the samba servers in each network as a WINS server. See the Samba 3 HOWTO for further information. The samba package installed that book in /usr/share/doc/samba-<version>/.

All times are GMT -5. The time now is 11:41 PM.