LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-30-2005, 02:45 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Rep: Reputation: 32
Question Need to route traffic through specific nic cards...


I've got a server and a client... both have 2 nics. The server has two shares that are served over the network via samba.

The clients are set up so that the samba shares are routed through the 2 nics and is setup via the fstab entry:

partial client fstab entry for nic 1
//10.40.12.1/e /mnt/e

partial fstab entry for nic2
//10.41.12.1/f /mnt/f

I know that they are routing correctly to the server's nics but what can I do to make sure that the traffic is routed from the 2 client cards? (I think the traffic is just moving through the eth0 and not both eth0,1 it should be one nic per share)

Last edited by Thaidog; 06-30-2005 at 02:48 PM.
 
Old 06-30-2005, 03:59 PM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
run iptraf and check through which device packets flow when accessing one or the other share.
 
Old 07-01-2005, 09:23 AM   #3
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by Nathanael
run iptraf and check through which device packets flow when accessing one or the other share.
I don't seem to have that app... I'm on Red Hat 9.0
 
Old 07-01-2005, 09:56 AM   #4
jagster
LQ Newbie
 
Registered: May 2005
Posts: 17

Rep: Reputation: 0
just change your settings on the default gateway
 
Old 07-01-2005, 07:31 PM   #5
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 32
I guess i should mention I have to use samba.. obviously not an issue with NFS.
 
  


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
Need help to route traffic properly with 2 eth cards mchan Linux - Networking 1 03-20-2005 07:55 PM
logging traffic of specific ports Bug Linux - Security 1 06-15-2004 08:26 AM
route any traffic between two NICs thirumala Linux - Networking 0 03-24-2004 05:54 PM
Route traffic like a hub atlesn Linux - Networking 2 03-21-2004 04:51 PM
Route all traffic of a given type to an interface tsweatt Linux - Networking 0 09-01-2003 12:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration