LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-16-2007, 01:51 PM   #1
Gnome_Leader
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 7
Posts: 6

Rep: Reputation: 0
Divide network trafic


I have a PC that I want to use as a server.
I have 2 network cards (both working fine), but I want to use one of them for vsftpd only. And the other one for all the other communication.

Does anyone knows how to do that?
How to link a program to a network card?

I am using Fedora 7


Gr,

Gnome
 
Old 10-16-2007, 02:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
there is no sense in using a single nic for one service, you presumably have a layer 3 logic, i.e. ip addressing, routing, which is making you want this result? what is that?
 
Old 10-16-2007, 02:28 PM   #3
Gnome_Leader
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 7
Posts: 6

Original Poster
Rep: Reputation: 0
The reason to do that is, that I visit some Lan party's.

And I want to be sure that my ftp connection is stable and good.

This regardless of the trafiek to my game-servers or all the other possible resource absorbers.

Gnome
 
Old 10-16-2007, 02:51 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
you still need to provide more technical information... you're moving an ftp server between seperate LAN's? surely the FTP server is useless then anyway? if you mean from your own home then surely your ISP is the bottleneck, not a nic on your server... more info please.
 
Old 10-16-2007, 03:07 PM   #5
Gnome_Leader
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 7
Posts: 6

Original Poster
Rep: Reputation: 0
In those lanparty's we connect + - 100 PC together via an Gb switch.

The people who wants to share data, can put this data on my ftp server.
The people who wants to get data, can find them on my ftpserver.
So all the data is on a central server.

Unfortionatly I also run the game servers, where users can loggin and play games together.

So we have only 1 global network with static ip's.

On this network I have 2 ip's (for my two network cards) on the same network.

Now I want to use one for data trafic (FTP) and one for the other services (Games).

PS. There is no internet connection on those lan's.

Gnome
 
Old 10-16-2007, 03:14 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
personally i'd suggest just bonding both nics and using them both for both functions.

i believe if you just tell vsftpd to listen on one ip, end therefore one nic, the return traffic would head that way, but unless you really are seeing one of these nics literally maxing out at, say 800mbps which is as good as you'd ever get on a gig nic, then there's no danger in bonding two nics, and you'll get a better overall performance with less mssing about.
 
Old 10-16-2007, 03:18 PM   #7
Gnome_Leader
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 7
Posts: 6

Original Poster
Rep: Reputation: 0
Ok,

Thanks

Gnome
 
  


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
Selecting distro for home network router/trafic shaper/fileserver/misc muggizuggi Linux - Newbie 12 08-08-2006 02:27 AM
Using a seperate router to divide network coindood Linux - Networking 4 09-14-2005 11:13 AM
htb.init divide trafic in groups ? Problem .. sys7em Linux - Networking 0 08-18-2005 05:35 AM
Trafic shaper ... how ? sys7em Linux - Networking 0 01-24-2005 06:35 PM
Howto monitor network trafic on specific port MDanger Linux - Networking 2 03-31-2004 01:45 PM


All times are GMT -5. The time now is 11:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration