Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to access two networks

Posted on 2004-04-15
3
Medium Priority
?
278 Views
Last Modified: 2013-12-15
I have a linux box connected to two private networks. eth0 is on 192.168.X.X and eth1 is on 10.1.X.X
how do I tell an application to use a specific eth device, or do I just need to tell it ip address and the OS would know how to route it.  
You don't need to spoon feed me the solution, i need to know what kind of technique do i need, IPchain, route,firewall, ipforwarding, get the pic?
thank you in advance for your help
0
Comment
Question by:ragaMuffin
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10839182
Since both networksare directly connected to the Linux box all that's necessary is to specify the IP of the host on a network and the kernel routing engine will use the correct interface.
0
 
LVL 1

Expert Comment

by:jainrah
ID: 10845083
all you need to do is tell the application the IP addr. Also need to make sure that your routing tables are correctly set up and IP FORWARD is set to 1 (if you wish the 2 networks to communicate with each other.
0
 
LVL 3

Expert Comment

by:tolgadalkilic
ID: 10847201
all you need is route
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question