What are the Class B Subnetting Questions asked in IT MNC's interview ?

Q. A company has been assigned the Class B network address 172.16.0.0/16. They need to create subnets for 5 departments, with each department requiring a minimum of 500 host addresses. Design the subnetting scheme.

Solution:

To accommodate 500 host addresses for each department, we need a subnet size of 512 addresses (2^9 = 512). Borrowing 9 bits from the host portion will create 512 addresses per subnet.

Subnet 1:

Network Address: 172.16.0.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.16.0.1 - 172.16.1.254

Subnet 2:

Network Address: 172.16.2.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.16.2.1 - 172.16.3.254

Subnet 3:

Network Address: 172.16.4.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.16.4.1 - 172.16.5.254

Subnet 4:

Network Address: 172.16.6.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.16.6.1 - 172.16.7.254

Subnet 5:

Network Address: 172.16.8.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.16.8.1 - 172.16.9.254

Q. An organization has the Class B network address 172.20.0.0/16. They have three branch offices, and each office requires a separate subnet with a minimum of 200 host addresses. Subnet the network accordingly.

Solution:

To accommodate 200 host addresses for each branch office, we need a subnet size of 256 addresses (2^8 = 256). Borrowing 8 bits from the host portion will create 256 addresses per subnet.

Branch Office 1:

Network Address: 172.20.0.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.20.0.1 - 172.20.0.254

Branch Office 2:

Network Address: 172.20.1.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.20.1.1 - 172.20.1.254

Branch Office 3:

Network Address: 172.20.2.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.20.2.1 - 172.20.2.254

Q. A university has the Class B network address 172.30.0.0/16. They want to create subnets for 15 different buildings on their campus, with each building requiring a minimum of 100 host addresses. Develop a subnetting plan for the university.

Solution:

To accommodate 100 host addresses for each building, we need a subnet size of 128 addresses (2^7 = 128). Borrowing 7 bits from the host portion will create 128 addresses per subnet.

Building 1:

Network Address: 172.30.0.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.0.1 - 172.30.0.126

Building 2:

Network Address: 172.30.0.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.0.129 - 172.30.0.254

Building 3:

Network Address: 172.30.1.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.1.1 - 172.30.1.126

Building 4:

Network Address: 172.30.1.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.1.129 - 172.30.1.254

Building 5:

Network Address: 172.30.2.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.2.1 - 172.30.2.126

Building 6:

Network Address: 172.30.2.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.2.129 - 172.30.2.254

Building 7:

Network Address: 172.30.3.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.3.1 - 172.30.3.126

Building 8:

Network Address: 172.30.3.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.3.129 - 172.30.3.254

Building 9:

Network Address: 172.30.4.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.4.1 - 172.30.4.126

Building 10:

Network Address: 172.30.4.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.4.129 - 172.30.4.254

Building 11:

Network Address: 172.30.5.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.5.1 - 172.30.5.126

Building 12:

Network Address: 172.30.5.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.5.129 - 172.30.5.254

Building 13:

Network Address: 172.30.6.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.6.1 - 172.30.6.126

Building 14:

Network Address: 172.30.6.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.6.129 - 172.30.6.254

Building 15:

Network Address: 172.30.7.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.30.7.1 - 172.30.7.126

Q. A hospital has been allocated the Class B network address 172.40.0.0/16. They need to create subnets for various departments, including administration, patient services, laboratory, and radiology. Each department requires at least 150 host addresses. Design a subnetting scheme for the hospital.

Solution:

To accommodate 150 host addresses for each department, we need a subnet size of 256 addresses (2^8 = 256). Borrowing 8 bits from the host portion will create 256 addresses per subnet.

Administration:

Network Address: 172.40.0.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.40.0.1 - 172.40.0.254

Patient Services:

Network Address: 172.40.1.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.40.1.1 - 172.40.1.254

Laboratory:

Network Address: 172.40.2.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.40.2.1 - 172.40.2.254

Radiology:

Network Address: 172.40.3.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.40.3.1 - 172.40.3.254

Q. A large corporation is assigned the Class B network address 172.50.0.0/16. They want to create subnets for their regional offices across different cities. Each regional office requires a separate subnet with a minimum of 1000 host addresses. Develop a subnetting plan for the corporation.

Solution:

To accommodate 1000 host addresses for each regional office, we need a subnet size of 2048 addresses (2^11 = 2048). Borrowing 11 bits from the host portion will create 2048 addresses per subnet.

Regional Office 1:

Network Address: 172.50.0.0/21

Subnet Mask: 255.255.248.0

Usable Host Range: 172.50.0.1 - 172.50.7.254

Regional Office 2:

Network Address: 172.50.8.0/21

Subnet Mask: 255.255.248.0

Usable Host Range: 172.50.8.1 - 172.50.15.254

Regional Office 3:

Network Address: 172.50.16.0/21

Subnet Mask: 255.255.248.0

Usable Host Range: 172.50.16.1 - 172.50.23.254

Q. An educational institution has the Class B network address 172.60.0.0/16. They need to create subnets for 8 different schools within the institution, with each school requiring a minimum of 250 host addresses. Design the subnetting scheme.

Solution:

To accommodate 250 host addresses for each school, we need a subnet size of 512 addresses (2^9 = 512). Borrowing 9 bits from the host portion will create 512 addresses per subnet.

School 1:

Network Address: 172.60.0.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.0.1 - 172.60.1.254

School 2:

Network Address: 172.60.2.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.2.1 - 172.60.3.254

School 3:

Network Address: 172.60.4.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.4.1 - 172.60.5.254

School 4:

Network Address: 172.60.6.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.6.1 - 172.60.7.254

School 5:

Network Address: 172.60.8.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.8.1 - 172.60.9.254

School 6:

Network Address: 172.60.10.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.10.1 - 172.60.11.254

School 7:

Network Address: 172.60.12.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.12.1 - 172.60.13.254

School 8:

Network Address: 172.60.14.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.60.14.1 - 172.60.15.254

Q. A software development company is assigned the Class B network address 172.70.0.0/16. They want to create subnets for their development teams, testing teams, and management. Each team requires a separate subnet with a minimum of 50 host addresses. Develop a subnetting plan for the company.

Solution:

To accommodate 50 host addresses for each team, we need a subnet size of 64 addresses (2^6 = 64). Borrowing 6 bits from the host portion will create 64 addresses per subnet.

Development Team:

Network Address: 172.70.0.0/26

Subnet Mask: 255.255.255.192

Usable Host Range: 172.70.0.1 - 172.70.0.62

Testing Team:

Network Address: 172.70.0.64/26

Subnet Mask: 255.255.255.192

Usable Host Range: 172.70.0.65 - 172.70.0.126

Management:

Network Address: 172.70.0.128/26

Subnet Mask: 255.255.255.192

Usable Host Range: 172.70.0.129 - 172.70.0.190

Q. A financial institution has the Class B network address 172.80.0.0/16. They have multiple departments, including finance, operations, human resources, and IT. Each department requires a separate subnet with a minimum of 300 host addresses. Design the subnetting scheme.

Solution:

To accommodate 300 host addresses for each department, we need a subnet size of 512 addresses (2^9 = 512). Borrowing 9 bits from the host portion will create 512 addresses per subnet.

Finance:

Network Address: 172.80.0.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.80.0.1 - 172.80.1.254

Operations:

Network Address: 172.80.2.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.80.2.1 - 172.80.3.254

Human Resources:

Network Address: 172.80.4.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.80.4.1 - 172.80.5.254

IT:

Network Address: 172.80.6.0/23

Subnet Mask: 255.255.254.0

Usable Host Range: 172.80.6.1 - 172.80.7.254

Q. A manufacturing company has the Class B network address 172.90.0.0/16. They want to create subnets for their production floor, warehouse, administration, and research teams. Each team requires a minimum of 200 host addresses. Develop a subnetting plan for the company.

Solution:

To accommodate 200 host addresses for each team, we need a subnet size of 256 addresses (2^8 = 256). Borrowing 8 bits from the host portion will create 256 addresses per subnet.

Production Floor:

Network Address: 172.90.0.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.90.0.1 - 172.90.0.254

Warehouse:

Network Address: 172.90.1.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.90.1.1 - 172.90.1.254

Administration:

Network Address: 172.90.2.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.90.2.1 - 172.90.2.254

Research:

Network Address: 172.90.3.0/24

Subnet Mask: 255.255.255.0

Usable Host Range: 172.90.3.1 - 172.90.3.254

Q. A technology company is assigned the Class B network address 172.100.0.0/16. They want to create subnets for their engineering teams, support teams, and sales teams. Each team requires a separate subnet with a minimum of 75 host addresses. Develop a subnetting plan for the company.

Solution:

To accommodate 75 host addresses for each team, we need a subnet size of 128 addresses (2^7 = 128). Borrowing 7 bits from the host portion will create 128 addresses per subnet.

Engineering Teams:

Network Address: 172.100.0.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.100.0.1 - 172.100.0.126

Support Teams:

Network Address: 172.100.0.128/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.100.0.129 - 172.100.0.254

Sales Teams:

Network Address: 172.100.1.0/25

Subnet Mask: 255.255.255.128

Usable Host Range: 172.100.1.1 - 172.100.1.126

Comments

Popular posts from this blog