Home > Back-end >  The target end MAC address for the source end what's the point?
The target end MAC address for the source end what's the point?

Time:09-25

Now that you have to know the destination IP address, why am I still need to send arp request to get the MAC address, the target of the MAC addresses for the source side what is the point?

CodePudding user response:

1, the distribution of IP is a network address, just like we find person house address,
2, the MAC is the code card, each network card MAC, there is only one network card MAC all over the world is the only, as resident identity card (unique),
3, computer software, can use a MAC, to determine the user's identity,
Although the MAC can copy, but by MAC a good way to determine the identity of the users,

The relationship between the IP and MAC, I seek (IP), and see if the person I'm looking for people (MAC),

CodePudding user response:

Since the IP and MAC address is unique and the only mapping, then from the point of view of communication MAC address is meaningless?

CodePudding user response:

If the program to verify target side is at the source MAC, it is necessary to the
MAC because theory is the only, regardless of the target client is in a LAN or wan, or other network, so the source side can verify whether the client (target) legal, only through the MAC, because the IP address is very easy to change, in the program at the source end was likely to be only one parameter, the IP address has changed, but will not change the MAC address, it should be very common

CodePudding user response:

Due to demand

CodePudding user response:

Understand, thank you for your advice!

CodePudding user response:

MAC address is the address of the data link layer, the IP address is the address of the network layer, data link layer more bottom, more fundamental, is no routing protocol, if MAC address is not directly to arrive, the MAC frame (data link layer of the data transmission unit) is discarded, the data transmission and network layer, network layer if the target IP cannot arrive directly, by the next level routing forwarding, simply is the data link layer protocol only work within the same network segment, the network layer protocol can work across a network segment (different network segment can have different data link layer protocol),
Is like A package from A city to B city, only to write the address of the sender and recipient address on the package, but the actual transport may experience more paragraphs, highway, railway, aviation, Courier... And so on,

CodePudding user response:

Popular point:

The IP and MAC is the address of the web search,
IP is a network of distribution terminal address
MAC network card node address
  • Related