net-connect with different source ip?

Q&A's, tips, howto's
Locked
methodic
Posts: 58
Joined: Tue May 10, 2005 5:04 am

net-connect with different source ip?

Post by methodic »

I have a server with multiple interfaces, and I want to bind net-connect to a specific IP address, similar to the following perl code:

http://lbwiki.com/index.php/Perl_Connect_Script

Is this possible?

Thanks in advance.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

In newLISP currently only the listener can specify a specific IP-number / interface to use on a multihoned machine.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

version 9.9.6 due on Monday has a new function 'net-interface' to set the default network card IP address on multihoned computers.

Locked