Chapter 4 - Easy Subnetting Flashcards
1
Q
- 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?
A. 14 B. 15 C. 16 D. 30 E. 31 F. 62
A
- D. 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 subnet bits would never change.
2
Q
- 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. 2 B. 3 C. 4 D. 5 E. 6 F. 7
A
- D. 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.
3
Q
- What is the subnetwork address for a host with the IP address 200.10.5.68/28? A. 200.10.5.56
B. 200.10.5.32
C. 200.10.5.64
D. 200.10.5.0
A
- C. 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.
4
Q
- The network address of 172.16.0.0/19 provides how many subnets and hosts?
A. 7 subnets, 30 hosts each
B. 7 subnets, 2,046 hosts each C. 7 subnets, 8,190 hosts each
D. 8 subnets, 30 hosts each
E. 8 subnets, 2,046 hosts each F. 8 subnets, 8,190 hosts each
A
- C. 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.
5
Q
- Which two statements describe the IP address 10.16.3.65/23? (Choose two.) A. The subnet address is 10.16.3.0 255.255.254.0.
B. The lowest host address in the subnet is 10.16.2.1 255.255.254.0.
C. The last valid host address in the subnet is 10.16.2.254 255.255.254.0.
D. The broadcast address of the subnet is 10.16.3.255 255.255.254.0. E. The network is not subnetted.
A
- B, D. The mask 255.255.254.0 (/23) used with a Class A address means that there are 15 subnet bits and 9 host bits. The block size in the third octet is 2 (256 – 254). So this makes the subnets in the interesting octet 0, 2, 4, 6, etc., all the way to 254. The host 10.16.3.65 is in the 2.0 subnet. The next subnet is 4.0, so the broadcast address for the 2.0 subnet is 3.255. The valid host addresses are 2.1 through 3.254.
6
Q
- If a host on a network has the address 172.16.45.14/30, what is the subnetwork this host belongs to?
A. 172.16.45.0 B. 172.16.45.4 C. 172.16.45.8
D. 172.16.45.12 E. 172.16.45.16
A
- D. A /30, regardless of the class of address, has a 252 in the fourth octet. This means we have a block size of 4 and our subnets are 0, 4, 8, 12, 16, etc. Address 14 is obviously in the 12 subnet.
7
Q
- Which mask should you use on point-to-point links in order to reduce the waste of IP addresses?
A. /27 B. /28 C. /29 D. /30 E. /31
A
- D. A point-to-point link uses only two hosts. A /30, or 255.255.255.252, mask provides two hosts per subnet.
8
Q
- What is the subnetwork number of a host with an IP address of 172.16.66.0/21? A. 172.16.36.0
B. 172.16.48.0
C. 172.16.64.0
D. 172.16.0.0
A
- C. A /21 is 255.255.248.0, which means we have a block size of 8 in the third octet, so we just count by 8 until we reach 66. The subnet in this question is 64.0. The next subnet is 72.0, so the broadcast address of the 64 subnet is 71.255.
9
Q
- You have an interface on a router with the IP address of 192.168.192.10/29. Including the router interface, how many hosts can have IP addresses on the LAN attached to the router interface?
A. 6 B. 8 C. 30
D. 62 E. 126
A
- A. A /29 (255.255.255.248), regardless of the class of address, has only 3 host bits. Six is the maximum number of hosts on this LAN, including the router interface.
10
Q
- You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first available host address. Which of the following should you assign to the server?
A. 192.168.19.0255.255.255.0
B. 192.168.19.33 255.255.255.240 C. 192.168.19.26255.255.255.248
D. 192.168.19.31 255.255.255.248 E. 192.168.19.34255.255.255.240
A
- C. A /29 is 255.255.255.248, which is a block size of 8 in the fourth octet. The subnets are 0, 8, 16, 24, 32, 40, etc. 192.168.19.24 is the 24 subnet, and since 32 is the next subnet, the broadcast address for the 24 subnet is 31. 192.168.19.26 is the only correct answer.
11
Q
- 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. 192.168.192.15 B. 192.168.192.31 C. 192.168.192.63
D. 192.168.192.127 E. 192.168.192.255
A
- A. A /29 (255.255.255.248) has a block size of 8 in the fourth octet. This means the subnets are 0, 8, 16, 24, etc. 10 is in the 8 subnet. The next subnet is 16, so 15 is the broadcast address.
12
Q
- You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use?
A. 255.255.255.192 B. 255.255.255.224 C. 255.255.255.240 D. 255.255.255.248
A
- B. You need 5 subnets, each with at least 16 hosts. The mask 255.255.255.240 provides 16 subnets with 14 hosts—this will not work. The mask 255.255.255.224 provides 8 subnets, each with 30 hosts. This is the best answer.
13
Q
- You configure a router interface with the IP address 192.168.10.62 255.255.255.192 and receive the following error:
Bad mask /26 for address 192.168.10.62
Why did you receive this error?
A. You typed this mask on a WAN link and that is not allowed. B. This is not a valid host and subnet mask combination.
C. ip subnet-zero is not enabled on the router.
D. The router does not support IP.
A
- C. First, you cannot answer this question if you can’t subnet. The 192.168.10.62 with a mask of 255.255.255.192 is a block size of 64 in the fourth octet. The host 192.168.10.62 is in the zero subnet, and the error occurred because ip subnet-zero is not enabled on the router.
14
Q
- If an Ethernet port on a router were assigned an IP address of 172.16.112.1/25, what would be the valid subnet address of this interface?
A. 172.16.112.0 B. 172.16.0.0 C. 172.16.96.0
D. 172.16.255.0 E. 172.16.128.0
A
- A. A /25 mask is 255.255.255.128. Used with a Class B network, the third and fourth octets are used for subnetting with a total of 9 subnet bits, 8 bits in the third octet and 1 bit in the fourth octet. Since there is only 1 bit in the fourth octet, the bit is either off or on—which is a value of 0 or 128. The host in the question is in the 0 subnet, which has a broadcast address of 127 since 112.128 is the next subnet.
15
Q
- You have a network in your data center that needs 310 hosts. Which mask should you use so you waste the least amount of addresses?
A. 255.255.255.0 B. 255.255.254.0 C. 255.255.252.0 D. 255.255.248.0
A
- B. We need 9 host bits to answer this question, which is a /23