[Tutor] Ip address
wormwood_3
wormwood_3 at yahoo.com
Tue Jan 20 04:47:54 CET 2009
Hello,
This is definitely possible. It's more a matter of system and OS configuration than Python though, so you might want to check out some Linux forums ( http://www.linuxforums.org/ ) for additional help. In short, I think the simplest would be: Have 3 separate network interfaces in your physical box, have your router provide one of the three addresses to each. Then you could configure the client to only connect through its associated interface/IP.
If this sort of setup wouldn't work, please tell us more about your configuration between your client and your network.
-Sam
_______________________
Samuel Huckins
Homepage - http://samuelhuckins.com
Tech blog - http://dancingpenguinsoflight.com/
Photos - http://www.flickr.com/photos/samuelhuckins/
AIM - samushack | Gtalk - samushack | Skype - shuckins
________________________________
From: W W <srilyk at gmail.com>
To: irimia.suleapa at unknownsoftware.ro
Cc: tutor at python.org
Sent: Monday, January 19, 2009 10:27:07 AM
Subject: Re: [Tutor] Ip address
On Mon, Jan 19, 2009 at 8:11 AM, Irimia, Suleapa <irimia.suleapa at unknownsoftware.ro> wrote:
Hello list,
I am new to python and i have a question. I managed to build a client which connect to an website and grab things from there. I run this client on a linux box, which have multiple ip address. What do i want is to run 3 clients and each one to use different ip address to access that website. Anyone can point me to some documentation about how this can be done?
I'm not 100% sure if I understand what you're saying, so let me clarify: You have one linux box, with 3 instances of your program running, and you want the server to see these as three unique IPs? I'm not aware of any way to do this without proxy servers or IP spoofing.
HTH,
Wayne
--
To be considered stupid and to be told so is more painful than being called gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness, every vice, has found its defenders, its rhetoric, its ennoblement and exaltation, but stupidity hasn't. - Primo Levi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090119/085f50b1/attachment-0001.htm>
More information about the Tutor
mailing list