Re: Multiple network adapters -- getting processes to use a specific interface shufler wrote in <rct5e.924302$Xk.702207@pd7tw3no>:
> Hello all. I'm looking for some insights.
>
> I have a machine running Slackware 10.0 with which I intend on
> installing multiple NICs (3-5, depending if I can find two ISA Ethernet
> cards). Once I install the devices and configure them, I want to force
> specific processes to communicate through specific cards.
>
> For example, if I have 5 processes (foo0 - foo4), I want one of each to
> use a different interface (eth0 - eth4). As more processes are run, they
> would be distributed across the different NICs in whatever manner, it
> doesn't really matter. The key is being able to tell processes which
> connection to use.
>
> I haven't been able to find much information about this at all, be it
> from Google, IRC, any form of Slackware "manual" I can find, any other
> distro's manual, or even books (I've seemed to have discovered that most
> Linux books I've looked at are void of decent networking information in
> general, usually stopping at configuring a device).
>
> Most people I have spoken with have indicated that this is probably a
> per-program setting, meaning if a program can support using a specific
> interface, then good news, otherwise I'm SOL. I honestly believe this is
> nonsense, and what I am proposing is quite possible (or at least, I am
> hoping this is the case). As far as I can tell, the processes I want to
> do this with are not equipped for me to specify the device.
>
You should listen to those people. What's the process you're trying to run?
You're looking for a setting for which IP to listen on, which most server
processes have. |