Solved

how to access two networks

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

827 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