Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-12-2007, 01:11 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 10

Rep: Reputation: 0
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.
Old 12-12-2007, 02:14 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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>/.

Last edited by jschiwal; 12-13-2007 at 11:09 AM. Reason: fixed up.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lan Routing Same Network teamh Linux - Networking 5 04-30-2006 06:49 AM
Network Routing Configuration pjlewis Linux - Networking 2 01-22-2006 12:05 AM
Network Routing omid1979 Linux - Networking 0 11-15-2004 10:26 AM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 04:26 PM
Network routing of Internet jester_69 Linux - Networking 3 12-03-2003 01:18 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration