Advertisement
metalni

Mrezi 2. Kolokvium zadaci reseni

Jan 20th, 2021
662
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. 10.3.84.129/20
  2.  
  3. Subnet IP:
  4.  
  5. 10.3.0101|0000.00000000
  6. 10.3.80.0
  7.  
  8. -----------------------------
  9. IP: 194.149.172.0/25
  10. Subnet IP: 194.149.172.0|0000000
  11. = 194.149.172.0
  12. Broadcast IP: 194.149.172.0|1111111
  13. = 194.149.172.127
  14. Range: [194.149.172.0 - 194.149.172.127]
  15.  
  16.  
  17.  
  18. Mreza | Hosts | Block | # of bits | SM | Subnet
  19. 1 | 18 | 32 | 5 | /27 | 194.149.172.0
  20. 2 | 32 | 64 | 6 | /26 | 194.149.172.64
  21. 3 | 6 | 8 | 3 | /29 | 194.149.172.40
  22. centar | 12 | 16 | 4 | /28 | 194.149.172.48
  23. lab | 4 | 8 | 3 | /29 | 194.149.172.32
  24.  
  25. Kancelarija 3:
  26. 194.149.172.43/29
  27. Subnet IP: 194.149.172.00101|011
  28. = 194.149.172.00101000
  29. = 194.149.172.40
  30.  
  31. zafateni: 0-32, 64-128, 40-48, 48-64, 32-40
  32.  
  33.  
  34.  
  35. ------------------------------------------------------------------
  36.  
  37. 15.0.4.0/25 = 15.0.4.|00000000/24
  38. 15.0.4.128/25 = 15.0.4.|10000000/24
  39. = 15.0.4.0/24
  40.  
  41.  
  42. 15.0.4.0/24 = 15.0.0000010|0.00000000/23
  43. 15.0.5.0/24 = 15.0.0000010|1.00000000/23
  44. = 15.0.4.0/23
  45.  
  46.  
  47.  
  48.  
  49. 15.0.6.0/24 = 15.0.0000011|0.|00000000/23
  50. 15.0.7.0/24 = 15.0.0000011|1.|00000000/23
  51. = 15.0.6.0/23
  52.  
  53. 15.0.4.0/23 = 15.0.000001|0|0.00000000/22
  54. 15.0.6.0/23 = 15.0.000001|1|0.00000000/22
  55. = 15.0.4.0/22
  56.  
  57.  
  58. ----------------------------------------------------
  59.  
  60. se sifrira: 101001101
  61.  
  62. r(1) = 101, r(2) = 110, r(3) = 111
  63.  
  64. 101|001|101
  65. 101|110|111
  66. ------------xor
  67. 000|111|010
  68. ------------Rs
  69. 001|101|100
  70.  
  71. => 001101100
  72.  
  73. ------------------------------------------------------
  74.  
  75. za prakjanje: 3000B = 2980 + 20B
  76. MTU: 1000B (zadusuvacki)
  77. = 980 + 20B
  78.  
  79. fragment 1: 2980 - 980
  80. preostanati: 2000
  81.  
  82. Length: 1000B FF=1
  83.  
  84. fragment 2: 2000 - 980
  85. preostanati: 1020
  86.  
  87. Length: 1000B FF=1
  88.  
  89. fragment 3: 1020 - 980
  90. preostanati: 100
  91. Length: 1000B FF=1
  92.  
  93. fragment 4: 100 - 980 < 0
  94.  
  95. Length: 100+20 = 120B FF = 0
  96.  
  97.  
  98. ---------------------------------------------------------
  99.  
  100. 10.3.84.129/20
  101. 10.3.0101|0000.00000000 = 10.3.80.0/20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement