1 |
If some other machine wants to communicate with some second other |
2 |
machine ... say secmachine.homenet.com it connects to the DNS server of |
3 |
homenet.com. (This step won't be done if IP addresses are in use. |
4 |
|
5 |
The DNS server then sends the IP address to firstmachine.homenet.com or |
6 |
firstmachine uses the known one. |
7 |
|
8 |
Next firstmachine will broadcast an "ARP whois ip.of.sec.srv" request. |
9 |
sec.srv or secmachine will answer with an ARP reply which contains the |
10 |
IP and the MAC address. |
11 |
|
12 |
Firstmachine then initiates the communication using this MAC address. |
13 |
|
14 |
Don't forget. The transport layer is ETHERNET. There don't exist IP |
15 |
addresses. |
16 |
|
17 |
Just for clarification. |
18 |
|
19 |
arp will do exactly this and arpd can even collect such information |
20 |
because every machine on a subnet will see all of the requests and |
21 |
replies. |
22 |
|
23 |
Regards |
24 |
Frank |
25 |
|
26 |
|
27 |
On Wed, 2005-08-31 at 05:50 -0500, John Jolet wrote: |
28 |
> On Aug 31, 2005, at 1:38 AM, Frank Schafer wrote: |
29 |
> |
30 |
> > |
31 |
> > ... what about arp? |
32 |
> > |
33 |
> |
34 |
> If this machine has the mac address listed on the outside of the |
35 |
> case, or he opens it up to look at the card, sure. if you don't know |
36 |
> what the mac address is....then you're stuck. Of course, if it's a |
37 |
> small, home network, you could always just turn off all the other |
38 |
> computers except that one and the one you're on and ask the router |
39 |
> who's connected. be quicker just to launch nmap and go get some coffee. |
40 |
-- |
41 |
gentoo-user@g.o mailing list |