Soru

Zorluk: OrtaIPv4 Addressing and Subnetting

A network engineer is configuring static host IP addresses for a newly created VLAN assigned the subnet block 10.50.160.0/2010.50.160.0/20. Which of the following IPv4 addresses are valid, usable host addresses within this subnet? (Select TWO.)

  1. 10.50.160.110.50.160.1Cevap
  2. 10.50.172.4510.50.172.45Cevap
  3. C
    10.50.160.010.50.160.0
  4. D
    10.50.175.25510.50.175.255

Cevap

The valid usable host addresses in the subnet are 10.50.160.110.50.160.1 and 10.50.172.4510.50.172.45.
For a /20/20 subnet prefix (255.255.240.0255.255.240.0), the block size in the third octet is 1616 (256240=16256 - 240 = 16). Starting at 10.50.160.010.50.160.0, the subnet encompasses all addresses up through 10.50.175.25510.50.175.255. Reserving the network address (10.50.160.010.50.160.0) and the broadcast address (10.50.175.25510.50.175.255) yields a usable host range of 10.50.160.110.50.160.1 through 10.50.175.25410.50.175.254. Both 10.50.160.110.50.160.1 and 10.50.172.4510.50.172.45 reside within this usable host range.

Adım Adım Çözüm

1
Determine the subnet mask and block size
A /20/20 prefix corresponds to a subnet mask of 255.255.240.0255.255.240.0. The block size in the third octet is 256240=16256 - 240 = 16.
Calculating the block size identifies the boundary increments for subnets.
2
Calculate the network address and broadcast address
The network address is 10.50.160.010.50.160.0. The next subnet starts at 10.50.176.010.50.176.0, making the broadcast address for this subnet 10.50.175.25510.50.175.255.
The broadcast address is one address lower than the start of the next subnet.
3
Identify the usable host IP address range
The usable host range spans from 10.50.160.110.50.160.1 (first usable) to 10.50.175.25410.50.175.254 (last usable).
Subtracting 2 reserved addresses (network ID and broadcast) defines the assignable IP range.
4
Evaluate the choices against the usable range
10.50.160.110.50.160.1 and 10.50.172.4510.50.172.45 fall inside the usable range, whereas 10.50.160.010.50.160.0 (network ID) and 10.50.175.25510.50.175.255 (broadcast) do not.
Host assignments must strictly exclude network and broadcast IP addresses.

Anahtar Kavram

Determining usable IPv4 host address boundaries for a given CIDR prefix.
Bu soruyu puanla