Programming outbound http traffic for multiple NICs or aliased NICs
I'm trying to get my server to make connections on different ethiernet
devices. In this case these are aliased devices. Anybody know how to
do that?
Re: Programming outbound http traffic for multiple NICs or aliased NICs
<whansen_at_corporate-image_dot_com [at] us.com> wrote in message
news:83lc72h9saass4dgvpitbd2m5mrrur4lnc [at] 4ax.com...
> I'm trying to get my server to make connections on different ethiernet
> devices. In this case these are aliased devices. Anybody know how to
> do that?
What type of traffic?
Are you trying to get your source address to appear from multiple addresses?
There's a big difference between multiple NIC's and aliased NIC's, so it
does make a difference.
*** Posted via a free Usenet account from http://www.teranews.com ***
Re: Programming outbound http traffic for multiple NICs or aliased NICs
On Fri, 26 May 2006 20:14:06 +1200, "Tintin" <tintin [at] invalid.invalid>
wrote:
>
><whansen_at_corporate-image_dot_com [at] us.com> wrote in message
>news:83lc72h9saass4dgvpitbd2m5mrrur4lnc [at] 4ax.com...
>> I'm trying to get my server to make connections on different ethiernet
>> devices. In this case these are aliased devices. Anybody know how to
>> do that?
>
>What type of traffic?
>
>Are you trying to get your source address to appear from multiple addresses?
yes
>There's a big difference between multiple NIC's and aliased NIC's, so it
>does make a difference.
The current system has aliased NICs each with a sepearte IP address.
I guess I'm looking for a way to bind stock http requests to a
specific aliased NIC or IP address.
Re: Programming outbound http traffic for multiple NICs or aliasedNICs
whansen_at_corporate-image_dot_com [at] us.com wrote:
> I guess I'm looking for a way to bind stock http requests to a
> specific aliased NIC or IP address.
perldoc Net::HTTP
$s = Net::HTTP->new( %options )
The "Net::HTTP" constructor method takes the same options as "IO::Socket::INET"
perldoc IO::Socket::INET
In addition to the key-value pairs accepted by IO::Socket, "IO::Socket::INET" provides.
LocalAddr Local host bind address hostname[:port]