-   Linux - Networking (
-   -   outgoing connections (

DonMiner 05-01-2003 06:45 PM

outgoing connections
i have 4 ethernet cards installed... the setup:
eth0: direct connection to internet
eth1: my roomate's private network
eth2: my other roomate's private network
eth3: my private network

people can connect to me normally, but i would like to connect to my roomate's computer that is on one of the other private networks....
for example, if i wanted to SCP something i would do

scp don@ /home/don/stuff/
the problem is that it will use the eth0 device (by default i'm guessing)... how do i specify which device to use?
Is there a temporary way to do this? something like eth1:don@ or something? or does it have to be permanent?

DonMiner 05-01-2003 06:46 PM

im using rh9

GAVollink 05-02-2003 09:51 AM

Post your output for netstat -rn (your Kernel's routing table) as well as the specific sub-net set-ups for each Ethernet card. That will tell me so much more.

Normally, you should be able to set up the routing table correctly, and any traffic going to would automatically run through the network card that has an IP address on the subnet.

All times are GMT -5. The time now is 09:29 AM.