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

From: Shane Russo <russo.shane_at_gmail.com>
Date: Tue, 25 May 2010 18:39:44 -0500
Message-ID: <AANLkTikbuuR-PsPzmyEfy4iB-V4fPrZpszG_wqk-LXJ7@mail.gmail.com>

Also without a gateway the progam has no way of going beyond local address
space.

Thanks,

Shane Russo

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