Melitaweb
asked on
Selecting which IP address to use in Perl
Say I have a server with 4 ip addresses allocated to it:
example 12.34.56.1, 12.34.56.2, 12.34.56.3, 12.34.56.4
Whenever I connect to another server FROM my server it uses 12.34.56.1
Is there any way to write a script where I can either 'choose' which IP address to use to connect to other servers or cycle through them or even pick one of them randomly to use?
example 12.34.56.1, 12.34.56.2, 12.34.56.3, 12.34.56.4
Whenever I connect to another server FROM my server it uses 12.34.56.1
Is there any way to write a script where I can either 'choose' which IP address to use to connect to other servers or cycle through them or even pick one of them randomly to use?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ah well if it's not possible it's not. I'll give it a couple of days to see if anyone can shed any light before I award the points.