Re: [Nolug] http (or any) request via secondary nic

From: Petri Laihonen <pietu_at_weblizards.net>
Date: Tue, 25 May 2010 18:33:53 -0500
Message-ID: <AANLkTim34Xp-cxXa74ETqsCYdtEfC17dEIu0dhkLVZZD@mail.gmail.com>

How would that work in reality?
How would a program such as bash script know then to use eth1 instead of
eth0?

P

On Tue, May 25, 2010 at 6:28 PM, Shane Russo <russo.shane@gmail.com> wrote:

> One solution is to not put a gateway on the internal nic.
>
>
> Thanks,
>
> Shane Russo
>
>
>
> On Tue, May 25, 2010 at 6:25 PM, Petri Laihonen <pietu@weblizards.net>wrote:
>
>> Hey,
>>
>> Is it possible to direct a process on the server to use eth1 instead of
>> eth0 for outgoing request?
>>
>> For instance, one can request PING command to use specified interface. How
>> about links (or Lynx), or cli script etc...
>>
>> If this does not work in the application level, how about some sort of
>> rule in the firewall, which would direct a request for
>> http://exampledomain.tld via eth1 instead of default eth0?
>>
>> Petri
>>
>
>

___________________
Nolug mailing list
nolug@nolug.org
Received on 05/25/10

This archive was generated by hypermail 2.2.0 : 05/25/10 EDT