The Gateway to Computer Science Excellence
0 votes
210 views
IPv6 uses 16-byte addresses. If a block of 1 million addresses is allocated every
picosecond, how long will the addresses last?
in Computer Networks by Boss | 210 views

1 Answer

0 votes
No. of IP addresses: 2^128 . Log base 2 is 128

Addresses supplied in  a second is 10^6/(10^-12) = 10^18 log base 2 of this is 18 * log[BASE 2] 10. =  12 * 3.3219 (approx) = 59.7942

128 - 59.7942 = 68.2058

Now log [BASE 2] (no. of seconds in a year of 365.25 days) = 24.9115

Therefore, 68.2058 - 24.9115 = 43.2943

So, No. of years is 2^(43.2943)

If approx answer is needed then 2^43 is 8796093022208 and 2^0.2943 is 1.2263

Multiply to get approx 1.07866*10^11 years

Sorry lots of approximation used. Large value calculators can give you exact answer.
by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,223 questions
59,818 answers
201,021 comments
118,091 users