Interview Questions on Subnetting

Which of the subnet masks are needed for a nationwide network with 300 sub-networks and a maximum of 50 host addresses per sub net and working with only one Class B address.

B – 255.255.255.128
E – 255.255.255.192
  • How many subnets and hosts per subnet can you get from the network 172.17.0.0/23?
128 subnets and 510 hosts

  •  You have an interface on a router with the IP address of 192.168.192.10/29. What is the broadcast address the hosts will use on this LAN?
A /29 (255.255.255.248) has a block size of 8 in the fourth octet. This means the sub-nets are 0, 8, 16, 24, etc. 10 is in the 8 sub-net. The next sub-net is 16, so 15 is the broadcast address.
  •  What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?
30. A /27 (255.255.255.224) is 3 bits on and 5 bits off. This provides 8 subnets, each with 30 hosts. Does it matter if this mask is used with a Class A, B, or C network address? Not at all. The number of host bits would never change.
  • You have a network that needs 29 subnets while maximizing the number of host addresses available on each subnet. How many bits must you borrow from the host field to provide the correct subnet mask?
A 240 mask is 4 subnet bits and provides 16 subnets, each with 14 hosts. We need more subnets, so let’s add subnet bits. One more subnet bit would be a 248 mask. This provides 5 subnet bits (32 subnets) with 3 host bits (6 hosts per subnet). This is the best answer.
  • To test the IP stack on your local host, which IP address would you ping?
127.0.0.1- loopback address
  • What is the last valid host on the subnetwork 172.20.48.0/20?
    172.20.63.254

  • How many subnets and hosts per subnet can you get from the network 192.168.20.0 255.255.255.252?
64 subnets and 2 hosts
  • The network address of 172.16.0.0/19 provides how many subnets and hosts?
A CIDR address of /19 is 255.255.224.0. This is a Class B address, so that is only 3 subnet bits, but it provides 13 host bits, or 8 subnets, each with 8,190 hosts.
  • What is the subnetwork address for a host with the IP address 200.10.5.68/28?
This is a pretty simple question. A /28 is 255.255.255.240, which means that our block size is 16 in the fourth octet. 0, 16, 32, 48, 64, 80, etc. The host is in the 64 subnet.


Comments