David Schwartz wrote:
> No. A machine can have two interfaces with the same IP address or two IP
> addresses assigned to one interface. While IP addresses are assigned to
> interfaces, not machines, an interface can have zero, one, or any number of
> IP addresses.
>
> DS
Hi,
I didn't know this. If I have two ethernet interfaces with distinct MAC
addresses, how could I have a single IP address for both? How would
R/ARP and DHCP work then?
In reply to your bind() suggestion, so you mean I should first bind()
my client socket on a particular local IP address, and then connect to
the remote machine?
Thanks,
Bahadir
|