[TriLUG] multiple IP from the same network card?
Chris Merrill
cmerrill at nc.rr.com
Wed Jun 18 15:50:54 EDT 2003
Mike Johnson wrote:
> Outgoing requests/connections will originate with the IP
> address of the primary interface.
<snip>
> If I understand what you're trying to do, it's not as easy as you think.
> You'll need to get down at the network layer, and play around with raw
> packets. You need to craft packets with whatever source IP you want,
> with your MAC address, send the request and then cope with the response
> (and pass this up to your application, if needed).
Are you sure? In Java, for instance, you can "bind" a socket to the
IP address of your choice. I assume this is supported on all platforms.
*********************************
Chris Merrill
cmerrill at nc.rr.com
*********************************
More information about the TriLUG
mailing list