IP Addressing Flashcards
What is the binary representation of the decimal number 117?
a. 10110101
b. 01110101
c. 10110110
d. 01101001
Answer: b. The binary representation of 117 is 01110101 (based on 117 = 64 +
32 + 16 + 4 + 1).
What is the decimal equivalent of the binary number 10110100?
a. 114
b. 190
c. 172
d. 180
Answer: d. 10110100 is the equivalent of 180 because 128 + 32 + 16 + 4 = 180.
What is the class of IP address 10.1.2.3/24?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: a. Because the decimal value 10 appears in the first octet, this is a
Class A address.
What type of IPv4 address is 239.1.2.3?
a. Unicast
b. Experimental
c. Private use only
d. Multicast
Answer: d. 239.1.2.3 is an example of a multicast IP address. You use multicast to send a single packet to groups of systems that have “subscribed” to this
address.
Which of the following are dynamic approaches to assigning routable
IP addresses to networked devices? (Choose two.)
a. BOOTP
b. APIPA
c. Zeroconf
d. DHCP
Answer: a, d. Notice that a key to this question is “routable IP addresses.”
Only BOOTP and DHCP are valid options in this case.
How many assignable IP addresses exist in the 172.16.1.10/27 network?
a. 30
b. 32
c. 14
d. 64
Answer: a. There are 5 bits left here for host address assignment, and 2 raised
to the fifth power is 32. You then subtract 2 for the network ID and broadcast
address. That is, 25
– 2 = 30.
What is the prefix notation for the subnet mask 255.255.255.240?
a. /20
b. /24
c. /28
d. /29
Answer: c. /28 is the prefix notation for 255.255.255.240. Notice that the
mask consists of 8 bits + 8 bits + 8 bits + 4 bits.
Your company has been assigned the 192.168.30.0/24 network for use at one
of its sites. You need to use a subnet mask that will accommodate seven subnets
while simultaneously accommodating the maximum number of hosts per subnet. What subnet mask should you use?
a. /24
b. /26
c. /27
d. /28
Answer: c. Using a /27 mask gives you 3 bits for subnetting. This permits the
creation of eight subnets and satisfies your requirement of seven subnets and
gives you the most possible host addresses per subnet.
A client with IP address 172.16.18.5/18 belongs to what network?
a. 172.16.0.0/18
b. 172.16.64.0/18
c. 172.16.96.0/18
d. 172.16.128.0/18
Answer: a. This host address and subnet mask combination references the
following subnet of usable addresses: 172.16.0.1–172.16.63.254.
How can the following IPv6 address be condensed?
2009:0123:4040:0000:0000:000:000A:100B
a. 2009::123:404:A:100B
b. 2009::123:404:A:1B
c. 2009:123:4040::A:100B
d. 2009:0123:4040::0::000A:100B
Answer: c. Remember, you can drop the leading zeros in any field, and one
time within an address, you can use the shorthand symbol :: to represent
continuous sections of zeros.
What technology allows for the automatic assignment of the host portion of
an IPv6 address?
a. Dual stack
b. EUI-64
c. Neighbor discovery
d. Anycast
Answer: b. EUI-64 in IPv6 permits the automatic generation of host portions
of addresses.
When you are configuring PAT as part of your address translation configuration, what is the source IP address used for translation with a large potential
number of inside hosts?
a. The IP address on the physical outside interface
b. The IP address on a loopback interface
c. The IP address on the physical interface with the lowest interface
identifier
d. The IP address automatically assigned to the backplane on the device
Answer: A. The IP address assigned to the physical outside interface is the IP
address that is often the basis for the PAT configuration. Many different internal IP addresses (inside) can be translated into this single address.
What capability supported by most router and switch manufacturers allows
you to create many virtual interfaces out of a single physical interface?
a. Shorthand notation
b. Router advertisement
c. Tunneling
d. Subinterface
Answer: d. A very similar concept to the virtual IP address is the subinterface.
This handy interface capability, which is supported by most router and switch
manufacturers, allows you to create many virtual interfaces out of a single
physical interface.
Answer: b. Network Address Translation (NAT) allows private IP addresses
(as defined in RFC 1918) to be translated into Internet-routable IP
addresses (public IP addresses).
What can IPv6 networks use to assign IP addresses?
a. SLAAC
b. CIDR
c. Port address translation
d. Classless inter-domain routing notation
Answer: a. IPv6 networks use stateless address autoconfiguration (SLAAC) to
assign IP addresses. With SLAAC, a device sends the router a request for the
network prefix, and then the device uses the prefix along with its own MAC
address to create an IP address.