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

From: Petri Laihonen <pietu_at_weblizards.net>
Date: Tue, 25 May 2010 21:16:54 -0500
Message-ID: <AANLkTilRiuEEOC6JVu-OiL4uPJYwToRSlRq_lLNN-U05@mail.gmail.com>

One of the interfaces is so called "private net"
And the resources needed to be accessed exist in the same "private net"

P

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

> 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