Solved

how to access two networks

Posted on 2004-04-15
3
242 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 125 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 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