Home > other >  Bosses, request to small white one answer!
Bosses, request to small white one answer!

Time:09-21

A host to A host B sends A message, see A little bit about the knowledge of the network, said the source host A purpose with IP and MAC address of host B, excuse me, host A is how do you know the IP host B? Solve???

CodePudding user response:

Are you going to send Courier, how do you know the address?

CodePudding user response:

Host A visit to host B, we commonly used is access to domain name, such as baidu, www.baidu.com, by this time the DNS domain names into IP addresses and DNS is in host A configuration or obtained automatically by DHCP

CodePudding user response:

In addition, unless the host A and host B in the same network segment, or host A message from the destination MAC is not the goal of host B, but to host A gateway of MAC

CodePudding user response:

Host A to B, and the data, if in the same network segment, the goal is B MAC, if not in the same network segment, the destination MAC is the MAC gateway, corresponding B received data have A MAC or A gateway of MAC, in either case, have to know each other or gateway (B) A MAC, MAC for A protocol is the ARP, it is A broadcast protocol, if A and B in the same network segment, if you don't know B, then sends an ARP request, all the terminal receives the request, only B accords with A condition, there is only A response to this request, B B at the same time, there has been A ARP table, A response is received after the ARP table, there will be B read directly from the ARP table, the next time you use the switch when forwarding AB data stored in the MAC and port mapping table, for the use of data forwarding,