What are the Class C Subnetting questions which are asked in IT MNC'S interview today?
1. A small office network needs to be divided into four subnets with each subnet having a minimum of 10 host addresses. Design a subnetting scheme for the office network.
Solution:
To accommodate a minimum of 10 host addresses per subnet, we need a subnet size of 16 addresses (2^4 = 16). Borrowing 4 bits from the host portion will create 16 addresses per subnet.
Subnet 1:
Network Address: 192.168.0.0/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.1 - 192.168.0.14
Subnet 2:
Network Address: 192.168.0.16/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.17 - 192.168.0.30
Subnet 3:
Network Address: 192.168.0.32/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.33 - 192.168.0.46
Subnet 4:
Network Address: 192.168.0.48/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.49 - 192.168.0.62
2. A company has three departments: Sales, Marketing, and Finance. The Sales department requires 30 host addresses, Marketing requires 20 host addresses, and Finance requires 15 host addresses. Create a subnetting plan for the company.
Solution:
To accommodate the required number of host addresses for each department, we need subnet sizes as follows:
Sales:
Subnet Size: 32 addresses (2^5 = 32)
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.1 - 192.168.0.30
Marketing:
Subnet Size: 32 addresses (2^5 = 32)
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.33 - 192.168.0.62
Finance:
Subnet Size: 16 addresses (2^4 = 16)
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.65 - 192.168.0.78
3. A university has multiple campuses, and each campus needs a separate subnet with a minimum of 50 host addresses. Design a subnetting scheme for the university's network.
Solution:
To accommodate a minimum of 50 host addresses per campus, we need a subnet size of 64 addresses (2^6 = 64). Borrowing 6 bits from the host portion will create 64 addresses per subnet.
Campus 1:
Network Address: 192.168.0.0/26
Subnet Mask: 255.255.255.192
Usable Host Range: 192.168.0.1 - 192.168.0.62
Campus 2:
Network Address: 192.168.0.64/26
Subnet Mask: 255.255.255.192
Usable Host Range: 192.168.0.65 - 192.168.0.126
Campus 3:
Network Address: 192.168.0.128/26
Subnet Mask: 255.255.255.192
Usable Host Range: 192.168.0.129 - 192.168.0.190
4. A retail store chain has 12 locations, and each location requires a subnet with a minimum of 25 host addresses. Develop a subnetting plan for the store chain.
Solution:
To accommodate a minimum of 25 host addresses per location, we need a subnet size of 32 addresses (2^5 = 32). Borrowing 5 bits from the host portion will create 32 addresses per subnet.
Location 1:
Network Address: 192.168.0.0/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.1 - 192.168.0.30
Location 2:
Network Address: 192.168.0.32/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.33 - 192.168.0.62
Location 3:
Network Address: 192.168.0.64/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.65 - 192.168.0.94
Location 4:
Network Address: 192.168.0.96/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.97 - 192.168.0.126
Location 5:
Network Address: 192.168.0.128/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.129 - 192.168.0.158
Location 6:
Network Address: 192.168.0.160/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.161 - 192.168.0.190
Location 7:
Network Address: 192.168.0.192/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.193 - 192.168.0.222
Location 8:
Network Address: 192.168.0.224/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.225 - 192.168.0.254
Location 9:
Network Address: 192.168.1.0/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.1.1 - 192.168.1.30
Location 10:
Network Address: 192.168.1.32/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.1.33 - 192.168.1.62
Location 11:
Network Address: 192.168.1.64/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.1.65 - 192.168.1.94
Location 12:
Network Address: 192.168.1.96/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.1.97 - 192.168.1.126
5. A hotel has four floors, and each floor needs a separate subnet with a minimum of 20 host addresses. Design a subnetting scheme for the hotel's network.
Solution:
To accommodate a minimum of 20 host addresses per floor, we need a subnet size of 32 addresses (2^5 = 32). Borrowing 5 bits from the host portion will create 32 addresses per subnet.
Floor 1:
Network Address: 192.168.0.0/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.1 - 192.168.0.30
Floor 2:
Network Address: 192.168.0.32/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.33 - 192.168.0.62
Floor 3:
Network Address: 192.168.0.64/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.65 - 192.168.0.94
Floor 4:
Network Address: 192.168.0.96/27
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.97 - 192.168.0.126
6. An internet service provider (ISP) wants to allocate subnets to its residential customers. Each customer should have a subnet with a minimum of 5 host addresses. Develop a subnetting plan for the ISP.
Solution:
To accommodate a minimum of 5 host addresses per customer, we need a subnet size of 8 addresses (2^3 = 8). Borrowing 3 bits from the host portion will create 8 addresses per subnet.
Customer 1:
Network Address: 192.168.0.0/29
Subnet Mask: 255.255.255.248
Usable Host Range: 192.168.0.1 - 192.168.0.6
Customer 2:
Network Address: 192.168.0.8/29
Subnet Mask: 255.255.255.248
Usable Host Range: 192.168.0.9 - 192.168.0.14
Customer 3:
Network Address: 192.168.0.16/29
Subnet Mask: 255.255.255.248
Usable Host Range: 192.168.0.17 - 192.168.0.22
Customer 4:
Network Address: 192.168.0.24/29
Subnet Mask: 255.255.255.248
Usable Host Range: 192.168.0.25 - 192.168.0.30
7. A manufacturing company has multiple production lines, and each production line requires a subnet with a minimum of 15 host addresses. Create a subnetting scheme for the company's network.
Solution:
To accommodate a minimum of 15 host addresses per production line, we need a subnet size of 16 addresses (2^4 = 16). Borrowing 4 bits from the host portion will create 16 addresses per subnet.
Production Line 1:
Network Address: 192.168.0.0/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.1 - 192.168.0.14
Production Line 2:
Network Address: 192.168.0.16/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.17 - 192.168.0.30
Production Line 3:
Network Address: 192.168.0.32/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.33 - 192.168.0.46
Production Line 4:
Network Address: 192.168.0.48/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.49 - 192.168.0.62
8. A call center has three departments: Customer Support, Sales, and Technical Support. The Customer Support department requires 50 host addresses, Sales requires 30 host addresses, and Technical Support requires 25 host addresses. Design a subnetting plan for the call center.
Solution:
To accommodate the required number of host addresses for each department, we need subnet sizes as follows:
Customer Support:
Subnet Size: 64 addresses (2^6 = 64)
Subnet Mask: 255.255.255.192
Usable Host Range: 192.168.0.1 - 192.168.0.62
Sales:
Subnet Size: 32 addresses (2^5 = 32)
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.65 - 192.168.0.94
Technical Support:
Subnet Size: 32 addresses (2^5 = 32)
Subnet Mask: 255.255.255.224
Usable Host Range: 192.168.0.97 - 192.168.0.126
9. A school has six classrooms, and each classroom needs a separate subnet with a minimum of 10 host addresses. Develop a subnetting scheme for the school's network.
Solution:
To accommodate a minimum of 10 host addresses per classroom, we need a subnet size of 16 addresses (2^4 = 16). Borrowing 4 bits from the host portion will create 16 addresses per subnet.
Classroom 1:
Network Address: 192.168.0.0/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.1 - 192.168.0.14
Classroom 2:
Network Address: 192.168.0.16/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.17 - 192.168.0.30
Classroom 3:
Network Address: 192.168.0.32/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.33 - 192.168.0.46
Classroom 4:
Network Address: 192.168.0.48/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.49 - 192.168.0.62
Classroom 5:
Network Address: 192.168.0.64/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.65 - 192.168.0.78
Classroom 6:
Network Address: 192.168.0.80/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.81 - 192.168.0.94
10. A software development company has multiple development teams, and each team needs a subnet with a minimum of 8 host addresses. Create a subnetting scheme for the company's network.
Solution:
To accommodate a minimum of 8 host addresses per development team, we need a subnet size of 16 addresses (2^4 = 16). Borrowing 4 bits from the host portion will create 16 addresses per subnet.
Development Team 1:
Network Address: 192.168.0.0/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.1 - 192.168.0.14
Development Team 2:
Network Address: 192.168.0.16/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.17 - 192.168.0.30
Development Team 3:
Network Address: 192.168.0.32/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.33 - 192.168.0.46
Development Team 4:
Network Address: 192.168.0.48/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.49 - 192.168.0.62
Development Team 5:
Network Address: 192.168.0.64/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.65 - 192.168.0.78
Development Team 6:
Network Address: 192.168.0.80/28
Subnet Mask: 255.255.255.240
Usable Host Range: 192.168.0.81 - 192.168.0.94
Comments
Post a Comment