Ask Question
12 October, 09:35

Convert the given IP address in dotted decimal notationto its equivalent 10 digit decimal number and given decimal numberto its equivalent dotted decimal notation. i) 172.31.1.5 ii) 2887713028

+5
Answers (1)
  1. 12 October, 10:38
    0
    i) 172.31.1.5 = > 2887713029

    ii) 2887713028 = > 172.31.1.4

    Explanation:

    i) We convert the IP address 172.31.1.5 to its 10 digit decimal notation as follows:-

    256^{3} * ip1 + 256^{2} * ip2 + 256^{1} * ip3 + ip4

    = 16777216*172 + 65536*31 + 256*1 + 5

    = 2887713029

    ii) Decimal numbers can be converted into ip addresses by the reverse process, that is successive division by 256 and finding the remainder at each stage. Hence,

    2887713028

    = 256^{3} * 172 + 256^{2} * 31 + 256^{1} * 1 + 4

    So the corresponding ip address is 172.31.1.4
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Convert the given IP address in dotted decimal notationto its equivalent 10 digit decimal number and given decimal numberto its equivalent ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers