SHARE
TWEET

Untitled

a guest Nov 21st, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Podziel sieć o adresie IP 172.20.144.0/22 na podsieci mieszczące po: 400, 10, 15, 220
  2. hostów.
  3.  
  4. 400 hostow:
  5.  
  6. 402 -> 2^9 = 512
  7. 32 - 9 = 23 -> nowa maska
  8.  
  9. ‭10101100‬  00010100‬ ‭‭10010000  00000000
  10. 11111111    11111111    11111110    00000000
  11. ========    ========    ========    ========   
  12. ‭10101100‬  00010100‬ ‭‭10010000  00000000    network: 172.20.144.0 / 23
  13. ‭10101100‬  00010100‬ ‭‭10010001  11111111    broadcast: 172.20.145.255
  14.  
  15. host min = 172.20.144.1 (network + 1)
  16. host max = 172.20.145.254 (broadcast -1)
  17. hosty: 510
  18.  
  19. nastepny wolny adres po 172.20.145.255(broadcast) to 172.20.146.0
  20. =============================================================================
  21.  
  22. 172.20.146.0 na 220 hostow:
  23.  
  24. 222 -> 2^8 = 256
  25. 32 - 8 = 24 -> nowa maska
  26.  
  27. ‭10101100‬  00010100‬ ‭‭10010010  00000000
  28. 11111111    11111111    11111111    00000000
  29. ========    ========    ========    ========
  30. ‭10101100‬  00010100‬ ‭‭10010010  00000000    network: 172.20.146.0 / 24
  31. ‭10101100‬  00010100‬ ‭‭10010010  11111111    broadcast: 172.20.146.255
  32.  
  33. host min = 172.20.146.1
  34. host max = 172.20.146.254
  35. hosty: 254
  36.  
  37. nastepny wolny adres po 172.20.145.255(broadcast) to 172.20.147.0
  38. =============================================================================
  39.  
  40. 172.20.147.0 na 15 hostow:
  41.  
  42. 17 -> 2^5 = 32
  43. 32 - 5 = 27
  44.  
  45. ‭10101100‬  00010100‬ ‭‭10010011  00000000
  46. 11111111    11111111    11111111    11100000
  47. ========    ========    ========    ========
  48. 10101100‬ 00010100‬ ‭‭10010011  00000000    network: 172.20.147.0 / 27
  49. ‭10101100‬  00010100‬ ‭‭10010011  00011111    broadcast: 172.20.147.31
  50.  
  51. host min: 172.20.147.1
  52. host max: 172.20.147.30
  53. hosty 30:
  54.  
  55. nastepny wolny adres po 172.20.147.31(broadcast) to 172.20.147.32
  56. =============================================================================
  57.  
  58. 172.20.147.32 na 10 hostow:
  59.  
  60. 10 -> 2^4 = 16
  61. 32 - 4 = 28
  62.  
  63. ‭10101100‬  00010100‬ ‭‭10010011  00100000
  64. 11111111    11111111    11111111    11110000
  65. ========    ========    ========    ========
  66. 10101100‬ 00010100‬ ‭‭10010011  00100000    network: 172.20.147.32 / 28
  67. 10101100‬ 00010100‬ ‭‭10010011  00101111    broadcast: 172.20.147.55
  68.  
  69. host min: 172.20.147.33
  70. host max: 172.20.147.54
  71. hosty: 14
  72.  
  73. wyniki:
  74.  
  75. 172.20.144.0 / 23
  76. 172.20.146.0 / 24
  77. 172.20.147.0 / 27
  78. 172.20.147.32 / 28
  79.  
  80. =============================================================================
  81. =============================================================================
  82. Podziel sieć o adresie IP 10.10.32.0/21 na 4 maksymalnie duże, równe podsieci.
  83. =============================================================================
  84. =============================================================================
  85.  
  86. 10.10.32.0/21
  87.  
  88. 2^x = n
  89. x -> liczba bitow
  90. n -> liczba podsieci
  91.  
  92. dzielenie na 4
  93.  
  94. 2^2 = 4
  95. liczba bitow = 2
  96.  
  97. 21 + 2 = 23 nowa maska
  98. 2^(32 - 23) - 2 =
  99. 2^ 9 - 2 = 512 - 2 = 510
  100.  
  101. 10.10.32.0/23           dzielimy na 510 hostow:
  102.  
  103. 10.10.32.0 + 510 = 10.10.34.0
  104.  
  105. 10.10.34.0 + 510 = 10.10.36.0
  106.  
  107. 10.10.36.0 + 510 = 10.10.38.0 / 23
  108.                    10.10.39.255 broadcast
  109.  
  110. min host: 10.10.38.1
  111. max host: 10.10.39.254
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top