You are given the network 192.168.16.0/24 as the available range for all of the devices.

The user network, the orange network, as shown in the lab diagram, will require about 110 IP addresses.
The WAN network, the yellow network, as shown in the lab diagram, will require 50 IP addresses.
The Internet network, the light green network in the lab diagram will require 20 IP addresses.
You will determine the subnet network, first host, last host, and broadcast address as well as the subnet mask of each of the three subnets.

1 answer

To efficiently subnet the provided network 192.168.16.0/24 into three separate networks (orange for user, yellow for WAN, and light green for Internet) with the specified number of IP addresses, we need to calculate the required subnet sizes and then allocate the appropriate ranges.

1. Subnet Requirements

  • Orange Network (User): Requires about 110 IP addresses.
  • Yellow Network (WAN): Requires 50 IP addresses.
  • Light Green Network (Internet): Requires 20 IP addresses.

2. Calculate Subnet Sizes

We need to round up to the nearest power of 2 for each of the subnet requirements, because IP addresses are assigned in blocks of 2^n.

  • Orange Network: Needs 110 addresses. The next power of 2 greater than 110 is 128 (which provides 126 usable addresses).

    • Subnet Size: 2^7 = 128 (7 bits for hosts)
    • Subnet Mask: 255.255.255.128 (/25)
  • Yellow Network: Needs 50 addresses. The next power of 2 greater than 50 is 64 (which provides 62 usable addresses).

    • Subnet Size: 2^6 = 64 (6 bits for hosts)
    • Subnet Mask: 255.255.255.192 (/26)
  • Light Green Network: Needs 20 addresses. The next power of 2 greater than 20 is 32 (which provides 30 usable addresses).

    • Subnet Size: 2^5 = 32 (5 bits for hosts)
    • Subnet Mask: 255.255.255.224 (/27)

3. Assign Subnets

We will assign these subnets in order of size, starting with the largest to ensure efficient use of the available address space.

Orange Network (User)

  • Subnet: 192.168.16.0/25
  • Subnet Mask: 255.255.255.128
  • First Host: 192.168.16.1
  • Last Host: 192.168.16.126
  • Broadcast Address: 192.168.16.127

Yellow Network (WAN)

Starts immediately after the Orange Network.

  • Subnet: 192.168.16.128/26
  • Subnet Mask: 255.255.255.192
  • First Host: 192.168.16.129
  • Last Host: 192.168.16.190
  • Broadcast Address: 192.168.16.191

Light Green Network (Internet)

Starts immediately after the Yellow Network.

  • Subnet: 192.168.16.192/27
  • Subnet Mask: 255.255.255.224
  • First Host: 192.168.16.193
  • Last Host: 192.168.16.222
  • Broadcast Address: 192.168.16.223

Summary of Subnets

  1. Orange Network (User)

    • Subnet: 192.168.16.0/25
    • First Host: 192.168.16.1
    • Last Host: 192.168.16.126
    • Broadcast Address: 192.168.16.127
    • Subnet Mask: 255.255.255.128
  2. Yellow Network (WAN)

    • Subnet: 192.168.16.128/26
    • First Host: 192.168.16.129
    • Last Host: 192.168.16.190
    • Broadcast Address: 192.168.16.191
    • Subnet Mask: 255.255.255.192
  3. Light Green Network (Internet)

    • Subnet: 192.168.16.192/27
    • First Host: 192.168.16.193
    • Last Host: 192.168.16.222
    • Broadcast Address: 192.168.16.223
    • Subnet Mask: 255.255.255.224

These assignments ensure efficient use of your /24 network space while accommodating the requirements of each subnet.