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?
whansen_at_corporate- [ Fr, 26 Mai 2006 03:09 ] [ ID #1331384 ]

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 ***
Tintin [ Fr, 26 Mai 2006 10:14 ] [ ID #1331385 ]

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.
whansen_at_corporate- [ Fr, 26 Mai 2006 23:25 ] [ ID #1331386 ]

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]
Joe Smith [ Di, 30 Mai 2006 04:23 ] [ ID #1335584 ]
Perl » alt.perl » Programming outbound http traffic for multiple NICs or aliased NICs

Vorheriges Thema: [DBD::Sybase] Prepare = Segmentation fault
Nächstes Thema: Problem installing XML::Xerces