-
Every host in an IPv4 network has a 1-second resolution real-time clock with battery backup. Each host needs to generate up to 1000 unique identifiers per second. Assume that each host has a globally unique IPv4 address. Design a 50-bit globally unique ID for this purpose. After what period (in seconds) will the identifiers generated by a host wrap around?
-
- 128 seconds
- 256 seconds
- 512 seconds
- None of these
Correct Option: B
Each host has a globally unique IPv4 address.
To design a 50 bit unique Id, 50 bit in the sense (32 + 18)
∴ it shows IP address (32 bit) followed by 18 bits.
1000 unique IDs ⇒ 1sec
∴ 218 unique Ids ⇒ | = 28 = 256 seconds | |
1000 |