Link to home
Start Free TrialLog in
Avatar of ragaMuffin
ragaMuffin

asked on

how to access two networks

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
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jainrah
jainrah

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.
all you need is route