Re: Programming outbound http traffic for multiple NICs or aliased NICs
am 26.05.2006 10:14:06 von Tintin
wrote in message
news:83lc72h9saass4dgvpitbd2m5mrrur4lnc@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
am 26.05.2006 23:25:56 von whansen_at_corporate-image_dot_com
On Fri, 26 May 2006 20:14:06 +1200, "Tintin"
wrote:
>
> wrote in message
>news:83lc72h9saass4dgvpitbd2m5mrrur4lnc@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
am 30.05.2006 04:23:36 von Joe Smith
whansen_at_corporate-image_dot_com@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]