Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.