Question

In: Computer Science

Suppose a computer receives two ARP replies for a single request. The first reply claims that...

Suppose a computer receives two ARP replies for a single request. The first reply claims that the MAC address is M1, and the second reply claims that the MAC address is M2. How does ARP handle the replies?

Solutions

Expert Solution

Ans: We should first try to understand the working of Address Resolution Protocol. If a machine talks to another machine in the same network, it requires its physical or MAC address. But ,since the application has given the destination's IP address it requires some mechanism to bind the IP address with its MAC address.This is done through Address Resolution protocol (ARP). IP address of the destination node is broadcast and the destination node informs the source of its MAC address. Let us suppose a situation like:- A wants to send packets to machine B, A has to send an ARP packet to resolve the MAC address of B and hence this will increase the traffic load too much, so to reduce the communication cost computers that use ARP maintains a cache of recently acquired IP_to_MAC address bindings, i.e. they dont have to use ARP repeatedly.When machine A wants to send packets to machine B, it is possible that machine B is going to send packets to machine A in the near future.So to avoid ARP for machine B, A should put its IP_to_MAC address binding in the special packet while requesting for the MAC address of B. Since A broadcasts its initial request for the MAC address of B, every machine on the network should extract and store in its cache the IP_to_MAC address binding of A When a new machine appears on the network (e.g. when an operating system reboots) it can broadcast its IP_to_MAC address binding so that all other machines can store it in their caches. This will eliminate a lot of ARP packets by all other machines, when they want to communicate with this new machine.

Thus, as per it's working, the computer would treat each reply independently and updates it's cache to have M2. The M1 MAC Address is replaced in the cache by M2 MAC Address. However, M2 would be binded with the same IP Address as that of M1 because there is a single request.


Related Solutions

An insurance company states that 15% of all fire insurance claims are fraudulent. Suppose the company is correct, and that it receives 130 claims.
An insurance company states that 15% of all fire insurance claims are fraudulent. Suppose the company is correct, and that it receives 130 claims.What's the probability that at least 15 claims are fraudulent?What's the probability that less than 10 claims are fraudulent?
You are employed by a firm that manufactures computer chips. This firm receives components from two...
You are employed by a firm that manufactures computer chips. This firm receives components from two different suppliers. Currently, 65% of the components come from Supplier 1 and 35% of the components come from Supplier 2. Define A1 as the probability that a randomly-selected part comes from Supplier 1 and A2 as the probability that a randomly selected part comes from Supplier 2. In other words, Pr(A1) = .65 and Pr(A2) = .35. Parts can be either good (G) or...
A computer repair shop has two work centers. The first center examines the computer to see...
A computer repair shop has two work centers. The first center examines the computer to see what is wrong, and the second center repairs the computer. Let x1 and x2 be random variables representing the lengths of time in minutes to examine a computer (x1) and to repair a computer (x2). Assume x1 and x2 are independent random variables. Long-term history has shown the following times. Examine computer, x1: μ1 = 28.6 minutes; σ1 = 7.3 minutes Repair computer, x2:...
The Mayo Clinic in Rochester is evaluating two different computer systems for handling provider claims. There...
The Mayo Clinic in Rochester is evaluating two different computer systems for handling provider claims. There are no incremental revenues attached to the projects, so the decision will be made on the basis of the present value of costs. Mayo's corporate cost of capital is 10 percent. Here are the net cash flow estimates in thousands of dollars: a. Assume initially that the systems both have average risk. Which one should be chosen? b. Assume that System X is judged...
QUESTION 22 A neuron receives two neurotransmitter signals in a row from a single neuron. Each...
QUESTION 22 A neuron receives two neurotransmitter signals in a row from a single neuron. Each causes a graded potential that would by itself be insufficient to trigger an action potential, but the combined effect of the two graded potentials is sufficient to trigger an AP. This is an example of: temporal summation spatial summation summed twitches graded potential synergy 1 points    QUESTION 23 The resting membrane potential is negative because: there are more positively charged proteins in the...
Suppose that two speakers are connected to a single nail with two strings to form a...
Suppose that two speakers are connected to a single nail with two strings to form a triangular shape. One string has a 3rd harmonic wave of 300 Hz and weighs 3 g/m. The other string has a fundamental frequency of 400 Hz and weighs 4 g/m. Both strings have a tension of 2N When the speakers play at 1600 Hz, what interference happens at the location of the nail? Speed of sound is 343 m/s
a) In a single slit experiment, suppose you want to make the first dark spot disappear...
a) In a single slit experiment, suppose you want to make the first dark spot disappear from practical measurement (you can't see it anymore). What could you do? b) In single slit experiment you want to make the dark "smudges" or dark spots closer to the center, what two things could you do? c) In a double or multiple slit experiment, you almost always see dark smudges on either side of the center. Why is that? What are the dark...
Kerri is single and claims two exemptions. Last year she earned $48,800 in wages. Additional tax...
Kerri is single and claims two exemptions. Last year she earned $48,800 in wages. Additional tax information for the year is as follows: interest earned: $229; capital gains from sale of stock: $2,650; penalty on early withdrawal of savings: $400; contributions to Keough retirement fund: $1,500; real estate taxes paid: $4,500; mortgage interest paid: $4,200. Find the taxable income for the year. (ps . Standard Deduction in 2018 for MFJ or QW with dependent is $24,000; for S or MFS...
Suppose that two different sets of treatments are of interest. The first treatment has two levels...
Suppose that two different sets of treatments are of interest. The first treatment has two levels ( A versus B ). The second treatment has two levels ( a versus b ). Denote by y the response variable of interest. a) Construct a statistical test for testing whether there is a difference in expected value of y between A and B. b) Construct a statistical test for testing whether there is a difference in expected value of y among the...
Suppose we have a disease phenotype that is determined by a single gene with two alleles....
Suppose we have a disease phenotype that is determined by a single gene with two alleles. Further suppose it follows a autosomal recessive mode of inheritance with reduced penetrance. We have an individual who is unaected (does not have the disease phenotype) and whose genotype is unknown. We cross this individual with a true-breeding aected individual. How many possible genotypes can this unaected individual have at the disease locus? A. 3. B. 2. C. Only 1 (due to reduced penetrance)....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT