Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-01-2003, 07:45 PM   #1
Registered: Sep 2002
Location: Maryland USA
Distribution: Fedora Core
Posts: 33

Rep: Reputation: 15
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?
Old 05-01-2003, 07:46 PM   #2
Registered: Sep 2002
Location: Maryland USA
Distribution: Fedora Core
Posts: 33

Original Poster
Rep: Reputation: 15
im using rh9
Old 05-02-2003, 10:51 AM   #3
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2000 MySQL connections, still "too many connections" newlinuxnewbie Linux - General 0 11-07-2005 02:03 PM
SuSEfirewall - how to block outgoing connections dbraghi Linux - Security 4 04-02-2005 10:08 PM
firewall outgoing connections hotrodowner Linux - Security 2 02-22-2004 01:51 PM
preventing users to make outgoing connections Shroom Linux - Security 5 06-15-2003 06:57 AM
Spurious outgoing connections while browsing LQ the theorist LQ Suggestions & Feedback 1 05-24-2002 11:29 AM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration