[Tutor] Ip address

Lie Ryan lie.1296 at gmail.com
Tue Jan 20 15:18:14 CET 2009


On Mon, 19 Jan 2009 19:47:54 -0800, wormwood_3 wrote:

> 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.

Definitely not what he expected, I'm sure. It is impossible for a single 
network interface to have more than 1 IP address. 

I want to ask what is he going to do with such set up though. It is 
trivial to emulate IP addressess through ports, so use that instead. Also 
inter-process communication in a single machine is usually better done 
using pipes.



More information about the Tutor mailing list