Solved

how to access two networks

Posted on 2004-04-15
3
226 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
Comment Utility
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
Comment Utility
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
Comment Utility
all you need is route
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now