COMPUTER NETWORK AND SECURITY

SUBNETTING NUMERICAL

Suppose an organization is given the block 17.12.40.0/26, which contains 64 addresses. The organization has three offices and needs to divide the addresses into three subblocks of 8, 11, and 6 addresses. Design the Subnet(First address. Last address, usable range, subnet mask).

Note: We assign 2 more address than demanded to each subnet as first and last address are not used. FA=network ,LA=broadcast


 

Diagram

Description automatically generated

 

       LAB 1 

  • 17.12.40.0/?
  • Needs 8 address
  • We need to provide 8+2=10 address
  • 2^4>=10, where 4=hid, nid=32-4=28           
  • 17.12.40.0/28
  • First address=17.12.40.0/28
  • Second address=17.12.40.1/28

 

  • 9th address=17.12.40.8/28
  • ….
  • Sixteenth addresss=17.12.40.15/28
  • Subnet mask=11111111.11111111.11111111.11110000
  • =255.255.255.240

 

       LAB 2

 

  • 17.12.40.16/?
  • Need 11 adress
  • No of address=11+2=13
  • 2^4>=13
  • Hid=4, nid =32-4=28
  • 17.12.40.16/28
  • First address=17.12.40.16/28
  • Second addr=17.12.40.17/28
  • ........
  • 12th addr=17.12.40.28/28

 

  • 16th address=17.12.40.31/28
  • Subnet mask=255.255.255.240

 

LAB 3 

 

  • 17.12.40.32/?
  • Needs 6 adress
  • No of address=6+2=8
  • 2^3>=8
  • Hid=3, nid=32-3=29
  • 17.12.40.32/29
  • FA=17.12.40.32/29
  • SA=17.12.40.33/29
  • ….
  • 7th add=17.12.40.38/29
  • LA=17.12.40.39/29
  • SM=255.255.255.252

 

Text, letter

Description automatically generated

 

 

Text

Description automatically generated

VIDEO LINK :

SUBNETTING VIDEO

 

Practice Question

Suppose an organization is given the block 192.168.0.1/24. The organization has three offices and needs to divide the addresses into three subblocks of 32, 16, and 9 addresses. 

 

   Practice Question

Assume a class B network and divide it into four subnets. What is the value of new subnet mask.