Tcmidian756 Tcmidian756
  • 01-09-2017
  • Computers and Technology
contestada

Why does a layer 3 device perform the anding process on a destination ip address and subnet mask?

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 08-09-2017
To get the network number and node number of the destination machine. The subnet mask is usually called the NETwork MASK, so anding it with the address gives you the network number. Using the not logical operator on the netmask then protects the node bits in a second and operation.

address & netmask = network number
address & not( netmask ) = node number

The not operator essentially just flips the bits of it's argument.
Answer Link

Otras preguntas

Using the Law of Sine or Cosine, solve for the unknown variable (round to the nearest tenth) HELP QUICK PLEASE
Find the complete predicate in the sentence below. Roy ate at my house last night. A)ate. B)ate at my house. C)ate at my house last night. D)Roy ate
What is a declarative?
If someone could help me on this, that would be great. Thanks.
Show that all terms of a quadratic pattern are positive
According to the trichromatic theory of color vision, the eye has cones sensitive to colors associated with ___________. A. red, green, and yellow B. green, pur
Does anyone know the correct answers??
La personne qui sert des repas dans un restaurant, c'est
Rewrite the equation by completing the square x^2+2x-3=0
Big question for physicists out there:How can we be sure dark matter actually exists in our universe?