edited by
580 views
6 votes
6 votes
Every host in an $IPv4$ network has a $1$ millisecond resolution real-time clock with battery backup. Each host needs to generate up to $4096$ unique identifiers per second. Assume that each host has a globally unique $IPv4$ address. If you are to design a $60$-bit globally unique ID for this purpose, the time period (in seconds) after which the identifiers generated by a host wrap around will be _________
edited by

1 Answer

6 votes
6 votes
Each host needs to generate $4096$ unique identifiers per second which requires $\lg 4096 = 12\; \text{bits}$.
    
Now, these $12\;\text{bits}$ along with $32\;\text{bit}$ globally unique IP address will give a globally unique $44\;\text{bit}$ IDs which stays constant.
Since we are allowed $60\;\text{bits}$ we can use the next $16\;\text{bits}$ using the clock which changes every millisecond interval. Thus our IDs will wrap around once in $2^{16}\;\text{milliseconds or }\; 65.536\;\text{sec}.$
edited by
Answer:

Related questions

2 votes
2 votes
1 answer
1
gatecse asked Oct 23, 2020
314 views
In the $IPv4$ addressing format, if the number of networks allowed under $\text{Class A, Class B and Class C}$ respectively are $2^a,2^b$ and $2^c,$ the value of $2a + 3b...
1 votes
1 votes
1 answer
2
gatecse asked Oct 23, 2020
353 views
Which of the following mapping is CORRECT with respect to $IPv4$?$$\begin{array}{|c l |c l |}\hline& \text{Destination Address} & &\text{Type}\\\hline\text{I} & \text{01:...