Binding a socket with a local address NOT of my machine

From: Talmon_Reiss (Talmon_Reiss@KereniX.com)
Date: Sun Jun 03 2001 - 06:02:17 EST


Hi

I need to send packets with a local IP address which is not one of my
interface addresses. The "bind" call on the socket will fail if I try this.
Is it possible at all? Does the kernel code need to be changed to not return
an error on the "bind" in order to do this? Or is it not as simple as that?

TIA
Talmon

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:01:15 EST