mfturra / professional-work

Code base for professional projects that involve API requests, data processing of large scale data sets, and PostgreSQL DB builds.
0 stars 0 forks source link

Review general information around Address Resolution Protocol (ARP) & MAC Addresses #6

Closed mfturra closed 3 months ago

mfturra commented 3 months ago

MAC Addresses

Definition: Media Access Control Address is a hexadecimal number that's assigned to each device connected to a network to help machines identify one another and communicate with one another. Typically found engraved onto a devices Network Interface Card (NIC). Also identified as the Physical or Hardware Address.

How does it work in the same network?

Connectivity in the same network

  1. When devices want to communicate with each other on the same network, they will inspect each others IP address to start. If the IP addresses are in the same group, then they know that they're all in the same network.
  2. Machine A, when trying to communicate with Machine B, will send out an Address Resolution Protocol or ARP broadcast to all devices on the local network asking Machine B to identify themselves via their local IP address. At confirmation of Machine B's IP address, they will then share their MAC address with Machine A.
  3. Once that connection has taken place, communication can now take place between both machines. The IP & MAC address of both machines will then be stored in their respective cache memory. This is done to make the connectivity more efficient in the future.

How does it work in the different network?

Summary

References:

  1. MAC Address Explained by PowerCert Animated Videos
  2. ARP Explained - Address Resolution Protocol by PowerCert Animated Videos
  3. What is a MAC Address & How do I find it? by TechTarget