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

Notices


Reply
  Search this Thread
Old 05-01-2003, 06:45 PM   #1
DonMiner
Member
 
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@192.168.0.5:/stuff /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@192.168.0.5 or something? or does it have to be permanent?
 
Old 05-01-2003, 06:46 PM   #2
DonMiner
Member
 
Registered: Sep 2002
Location: Maryland USA
Distribution: Fedora Core
Posts: 33

Original Poster
Rep: Reputation: 15
im using rh9
 
Old 05-02-2003, 09:51 AM   #3
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
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 192.168.0.xxx would automatically run through the network card that has an IP address on the 192.168.0.xxx subnet.
 
  


Reply


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 01:03 PM
SuSEfirewall - how to block outgoing connections dbraghi Linux - Security 4 04-02-2005 09:08 PM
firewall outgoing connections hotrodowner Linux - Security 2 02-22-2004 12:51 PM
preventing users to make outgoing connections Shroom Linux - Security 5 06-15-2003 05:57 AM
Spurious outgoing connections while browsing LQ the theorist LQ Suggestions & Feedback 1 05-24-2002 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:27 PM.

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