From zyrex, 4 Years ago, written in PHP.
This paste is a reply to Untitled from zyrex - view diff
Embed
  1. 5)
  2. Det er ingen DHCP-server tilgjengelig i nettverket du er tilkoblet, og Windows tildeler automatisk denne adressen til nettverkskortet - også kjent som Automatic Private IP Addressing.
  3.  
  4. 4)
  5. 10.25.28.32/20
  6.  
  7. Bruk denne for å få hjelp til å kalkulere;
  8. https://networkengineering.stackexchange.com/questions/7106/how-do-you-calculate-the-prefix-network-subnet-and-host-numbers
  9.  
  10. Det blir mye konvertering til binært, men det burde være greit.
  11. Skal inneholde alle ønskede svar.
  12.  
  13. 3)
  14. Det blir en del utregninger, men du kan komme fram til svarene her og ved hjelp av infoen i oppgave 4.
  15.  
  16. Eksempel:
  17.  
  18. DeviceA: 192.168.30.2/27
  19. DeviceB: 192.168.30.128/27
  20. Determine the Subnet for DeviceA:
  21.  
  22. 192.168.30.2    -   11000000.10101000.00011110.00000010
  23. 255.255.255.224 -   11111111.11111111.11111111.11100000
  24.                   -----------------| sub|------------
  25. subnet =            11000000.10101000.00011110.00000000 = 192.168.30.0
  26. Looking at the address bits that have a corresponding mask bit set to one, and setting all the other address bits to zero (this is equivalent to performing a logical "AND" between the mask and address), shows you to which subnet this address belongs. In this case, DeviceA belongs to subnet 192.168.30.0.
  27.  
  28. Determine the Subnet for DeviceB:
  29.  
  30. 192.168.30.128  -   11000000.10101000.00011110.10000000‬
  31. 255.255.255.224 -   11111111.11111111.11111111.11100000
  32.                   -----------------| sub|------------
  33. subnet =            11000000.10101000.00011110.00000000 = 192.168.30.0
  34.  
  35. From these determinations, DeviceA and DeviceB have addresses that are part of the same subnet.