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

From: Shane Russo <russo.shane_at_gmail.com>
Date: Tue, 25 May 2010 18:39:08 -0500
Message-ID: <AANLkTikmzqgs5rHAwPXHfoehT8lZ_0Y13JD9ABXrx_Pj@mail.gmail.com>

Are both nics connected to the internet?

Thanks,

Shane Russo

On Tue, May 25, 2010 at 6:33 PM, Petri Laihonen <pietu@weblizards.net>wrote:

> 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