FAQ: The 'ifconfig' program needs to be upgraded to one understanding
the new mechanism, the old program will not find the new aliases.
> 9) Is it possible to establish a connection from an alias IP?
> Say, if I have eth0 with address 1.2.3.4 and alias eth0:0 with address
> 1.2.3.5, how can I connect to a host acme.com from IP address 1.2.3.5,
> not from 1.2.3.4.
Sure, your program must do a bind() to desired local IP address
(with in_port == 0) before doing connect().
> Regards,
> Alexander
/Matti Aarnio <matti.aarnio@sonera.fi>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/