IP Subnetting, Troubleshooting IP, and Introduction to NAT Flashcards
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?
14
16
30
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 Class A host of 10.0.0.110/25. It needs to communicate to a host with an IP address of 10.0.0.210/25. Which of the following devices do you need to use in order for these hosts to communicate?
A Layer 2 switch
Router
DNS server
Router
Don’t freak because this is a Class A. What is your subnet mask? 255.255.255.128. Regardless of the class of address, this is a block size of 128 in the fourth octet. The subnets are 0 and 128. The 0 subnet host range is 1–126, with a broadcast address of 127. The 128 subnet host range is 129–254, with a broadcast address of 255. You need a router for these two hosts to communicate because they are in different subnets
What is the subnetwork address for a host with the IP address 200.10.5.68/28?
- 10.5.56
- 10.5.32
- 10.5.64
200.10.5.64
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, and so on). The host is in the 64 subnet
The network address of 172.16.0.0/19 provides how many subnets and hosts?
8 subnets, 30 hosts each
8 subnets, 2,046 hosts each
8 subnets, 8,190 hosts each
8 subnets, 8,190 hosts each
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
You receive a call from a user who is complaining that they cannot get on the Internet. You have them verify their IP address, mask, and default gateway. The IP address is 10.0.37.144, with a subnet mask of 255.255.254.0. The default gateway is 10.0.38.1. What is the problem?
Incorrect DNS server address
Invalid subnet mask
Incorrect gateway IP
Incorrect gateway IP
The host ID of 10.0.37.144 with a 255.255.254.0 mask is in the 10.0.36.0 subnet (yes, you need to be able to subnet in this exam!). Do not stress that this is a Class A; what we care about is that the third octet has a block size of 2, so the next subnet is 10.0.38.0, which makes the broadcast address 10.0.37.255. The default gateway address of 10.0.38.1 is not in the same subnet as the host. Even though this is a Class A address, you still should easily be able to subnet this because you look more at the subnet mask and find your interesting octet, which is the third octet in this question. 256 – 254 = 2. Your block size is 2
If a host on a network has the address 172.16.45.14/30, what is the subnetwork this host belongs to?
- 16.45.4
- 16.45.8
- 16.45.12
172.16.45.12
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, and so on. Address 14 is obviously in the 12 subnet
On a network, which mask should you use on point-to-point WAN links in order to reduce the waste of IP addresses?
/28
/29
/30
/30
A point-to-point link uses only two hosts. A /30, or 255.255.255.252, mask provides two hosts per subnet
On which of the following devices are you most likely to be able to implement NAT?
Hub
Ethernet switch
Router
Router
Devices with Layer 3 awareness, such as routers and firewalls, are the only ones that can manipulate the IP header in support of NAT
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?
6
8
30
6
A /29 (255.255.255.248), regardless of the class of address, has only 3 host bits. Six hosts is the maximum number of hosts on this LAN, including the router interface
When configuring the IP settings on a computer on one subnet to ensure that it can communicate with a computer on another subnet, which of the following is desirable?
Configure the computer with the same default gateway as the other computer.
Configure the computer with the same subnet mask as the other computer.
Configure the computer with a default gateway that matches the IP address of the interface of the router that is attached to the same subnet as the computer.
Configure the computer with a default gateway that matches the IP address of the interface of the router that is attached to the same subnet as the computer.
A computer should be configured with an IP address that is unique throughout the reachable internetwork. It should be configured with a subnet mask that matches those of all other devices on its local subnet, but not necessarily one that matches the mask used on any other subnet. It should also be configured with a default gateway that matches its local router’s interface IP address
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?
- 168.192.15
- 168.192.31
- 168.192.63
192.168.192.15
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, and so on. 10 is in the 8 subnet. The next subnet is 16, so 15 is the broadcast address
What is the highest usable address on the 172.16.1.0/24 network?
- 16.1.255
- 16.1.254
- 16.1.253
172.16.1.254
A 24-bit mask, or prefix length, indicates that the entire fourth octet is used for host identification. In a special case, such as this, it is simpler to visualize the all-zeros value (172.16.1.0) and the all-ones value (172.16.1.255). The highest usable address, the last one before the all-ones value, is 172.16.1.254
If an Ethernet port on a router was assigned an IP address of 172.16.112.1/25, what would be the subnet address of this host?
- 16.112.0
- 16.0.0
- 16.96.0
172.16.112.0
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. Because 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 because 128 is the next subnet
Using the illustration in question 15, what would be the IP address of E0 if you were using the first subnet? The network ID is 192.168.10.0/28, and you need to use the last available IP address in the range. Again, the 0 subnet should not be considered valid for this question.
- 168.10.24
- 168.10.62
- 168.10.30
192.168.10.30
A /28 is a 255.255.255.240 mask. The first subnet is 16 (remember that the question stated not to use subnet 0), and the next subnet is 32, so our broadcast address is 31. This makes our host range 17–30. 30 is the last valid host
If you are forced to replace a router that has failed to the point that you are unable to access its current configuration to aid in setting up interface addresses on the new router, which of the following can you reference for assistance?
The default gateway settings on computers from each subnet that the old router interconnected.
The router’s configuration that was periodically cached on the DHCP server.
The router’s configuration that was periodically cached on the DNS server.
The default gateway settings on computers from each subnet that the old router interconnected.
The best method here is to check the configuration of devices that were using the old router as a gateway to the rest of the internetwork. Routers do not periodically cache their configurations to servers of any sort. You might have copied the old router’s configuration to a TFTP server or the like, but failing that, you will have to rebuild the configuration from scratch, which might well be much more than interface addresses. Therefore, keeping a copy of the router’s current configuration somewhere other than on the router is a wise choice. Routers don’t auto-configure themselves; we wouldn’t want them to