LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2007, 12:11 AM   #1
satishap
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 : 172.18.0.0/255.255..0.0/172.18.0.50 and running own internet from TATA ISP


network 2 : 172.20.0.0/255.255.255.0/172.20.0.1 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, 01:14 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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 10:09 AM. Reason: fixed up.
 
  


Reply



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 05:49 AM
Network Routing Configuration pjlewis Linux - Networking 2 01-21-2006 11:05 PM
Network Routing omid1979 Linux - Networking 0 11-15-2004 09:26 AM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM
Network routing of Internet jester_69 Linux - Networking 3 12-03-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:52 PM.

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