Académique Documents
Professionnel Documents
Culture Documents
CN
2.To Obtain the MAC Address From A Local Host: 3. To Obtain the MAC Address From A Remote Host:
IP Addresses Identifies which Portion of IP Address is the Network ID and Which Portion is the Host ID
IP Address
All Devices on the Same Physical Segment Share a Common Network ID (Subnet Mask)
CN
Broadcasts
The portion of the network that you can retrieve information from by using a broadcast packet!
Out a port of a router Between two routers Routers Dont Forward Broadcasts
IP Addressing Rules
ARP
Maps a MAC (Hardware) Address to a Destinations Hosts or Routers IP Address
RFC 826
The MAC Address is Used in the Address Field of the DataLink Frame (Ethernet, Token Ring, etc.)
CN
Local or Remote
CN
Local or Remote algorithm IP Address of Destination Computer is Obtained (DNS, WINS, Broadcast, etc.) IP Address of Destination is Analyzed to Determine if it is Local or Remote
To Setup a TCP Connection: The Source Host Uses Its Subnet Mask to Determine the Network ID of the Destination Hosts IP Address The Source Host Compares the Destinations Network ID to Its Network ID
CN
If the Destination Hosts MAC Address is Not in Cache, A Local Broadcast is Initiated to Obtain the Destinations Host MAC Address
If There is a Special Route, The Source Computer Checks its ARP Cache For a Cached MAC Address of the Router Associated With the Route in the Local Route Table
If the Routers MAC Address is Not in Cache, a Local Broadcast is Initiated to Obtain the Routers MAC Address
If There is No Special Route in the Source Hosts Local Route Table, The Source Computer Checks its ARP Cache For a Cached MAC Address of the Default Gateway If the Default Gateways MAC Address is Not in Cache, A Local Broadcast is Initiated to Obtain the Default Gateways MAC Address
CN
What breaks it ??
All Hosts on the Same Physical Segment Must Have the Same Network ID
ARP
Maps a MAC (Hardware) Address to an IP Address Obtains MAC Address From Cache or With a Local Broadcast Works Automatically if IP Addresses are Correct!
CN