Computer Science, asked by samthaan4861, 1 year ago

First address in block can be found by setting rightmost 32- n bits to

Answers

Answered by afsha786
0
you can make a program in which you can code bit no 32
Answered by seelamahit912
0

First address in block can be found by setting rightmost 32- n bits to 0s.

How do you determine a block's first address?

Set the 32 - n is the rightmost bits of the address's binary notation to 0s to find the first address in the block.

  • A block of addresses in IPv4 addressing is defined as x.y.z.t /n, where x.y.z.t is one of the addresses and the /n is the mask.
  • Setting the rightmost 32 n bits to 0s yields the first address in the block.
  • Setting the rightmost 32 n bits to 1s will yield the block's last address.
  • The formula 2^{32} -n can be used to calculate the number of addresses in a block.

As a result, the rightmost 32-n bits can be set to 0s to find the first address in the block.

#SPJ3

Similar questions