- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- connect two servers which are in different network...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 02:27 AM
тАО04-12-2005 02:27 AM
I have two Aix servers,everyone is on a network,these networks are connected by a router(WAN).
Every Aix server has one network card.
I install a database in one of these servers,and that users in network A and B to be connected to
this database.
I had search in the net and found these three informations :
1-So as to realize that,i must have 2 network cards.
2-I must just run "ip route" command in my router.
3-I must run "route add..." command in both servers.
Did someone has any idea about these informations,are they true?
Best regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 02:28 AM
тАО04-12-2005 02:28 AM
Re: connect two servers which are in different networks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 03:10 AM
тАО04-12-2005 03:10 AM
SolutionYou can set up a default route in your network configuration if you wish.
1) Yes, you can use a little Linksys router to connect the two networks and thereby negate the need for a second network card.
2) Sounds like router configuration which is beyond my current skill set.
3) Yes, this will be necessary. Its laid out pretty well in the route man page.
If you provide details, me or others can give you the necessary commands.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 03:12 AM
тАО04-12-2005 03:12 AM
Re: connect two servers which are in different networks
You will need to add a route at the gateway so traffic can flow between the networks. Say you have a network like this:
network 1: 192.168.1.0/24
network 2: 172.16.1.0/24
router connected to internet, network 1, and network 2 like so:
interface 1: 192.168.1.1
interface 2: 172.16.1.1
internet iface: real ip from your ISP
As long as the route table on your gateway device is correct it will see that traffic for network1 is connected to interface 1 and vice versa. Everything else goes out the internet interface.
Then on your DNS servers you add an entry the database server, the entries will be exactly the same on each network. Say the database machine is on address 172.16.1.200, clients in the 192.168.1.0 network will still use the 172.16.1.200 address to connect.
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 06:00 AM
тАО04-12-2005 06:00 AM
Re: connect two servers which are in different networks
I made a serach in the net and i find "ip aliasing".Can you tell me if that resolve my problem, and how can i use it?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2005 09:26 AM
тАО04-12-2005 09:26 AM
Re: connect two servers which are in different networks
Is the router the physical link between the two networks, or is it a flat space with multiple networks on the same physical switches/hubs?
If you are just running a flat network space with traffic in 2 networks I guess you could run an IP alias on a single adapter with one address in each of your networks but I have a feeling there is a limitation with this setup. You would need to have your routes set, and I'm not sure if the ip_alias code can handle aliases on different subnets.
I'll see what I can dig up.
--Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2005 11:52 PM
тАО04-19-2005 11:52 PM
Re: connect two servers which are in different networks
You said users would connect to the database on AIX from n/w A and n/w B. I am assuming here that your AIX is in a different n/w from n/w A & n/w B.
1. Machines on N/w A & B must have a gateway configured so that they may route the packet to the n/w in which AIX resides.
2. Similarly AIX machine also must have a route defined so that it can route packet to n/w A as well as n/w B.
Once these configurations are done, you may test the connectivity (using ping/traceroute).
I do not see any reason why do we need 2 cards here...