Section 7 - TCP/IP Basics Flashcards
What CLASS is IP address 192.168.4.12?
Class C
- starts with a 192-223 and are (whack) /24
What CLASS is IP address 168.12.2.24?
Class B
- starts with a 128-191 and are (whack) /16
What CLASS is IP address 110.16.4.3?
Class A
- starts with a 0-126 and are (whack) /8
What CLASS is IP address 127.0.0.1?
Special IP Address
- this is the IPv4 loopback address
What CLASS is IP address 126.7.62.13?
Class A
- starts with a 0-126 and are (whack) /8
What CLASS is IP address 61.2.2.5?
Class A
- starts with a 0-126 and are (whack) /8
What CLASS is IP address 152.7.52.5?
Class B
- starts with a 128-191 and are (whack) /16
What CLASS is IP address 172.16.8.8?
Class B
- starts with a 128-191 and are (whack) /16
- this is also a Special IP Address; private IP address
What CLASS is IP address 202.11.2.1?
Class C
- starts with a 192-223 and are (whack) /24
What CLASS is IP address 198.7.7.7?
Class C
- starts with a 192-223 and are (whack) /24
Name a SPECIAL IP address.
- 10.x.x.x –> private address
- 172.16.x.x –> private address
- 192.168.x.x –> private address
- 127.0.0.1 –> IPv4 loopback
- ::1 –> IPv6 loopback
- 169.254.x.x –> APIPA address
True/False:
The default gateway will figure out where to forward messages outside of the domain.
True
The __ is only used by the computer, it is never sent out.
A) MAC Address
B) IP Address
C) Subnet Mask
C) Subnet Mask
Each broadcast domain must have only one __.
DHCP server
A DHCP server has to be run within a __ domain.
Broadcast domain.
True/False:
An expired routing table can cause computers to keep expired IP address leases.
False: an expired DHCP server can cause computers to keep expired IP address leases.
“An organization has five campus buildings. They want each building to be on its own subnet. Each campus will need a minimum of twenty-five IP addresses. The organization has the Class C network address 217.105.2.0 assigned to it. Using CIDR, what subnet mask will yield the minimum number of subnetworks with the maximum number of hosts per network that will meet the requirements of the organization?” - Total Seminars CompTIA Network + question
/27
Each computer on a TCP/IP network must have a unique __.
IP address
How many octets does IPv4 contain?
Four octets
An IPv4 octet represents a string of 1’s and 0’s that are otherwise known as what?
Binary
ARP resolves __.
A) IP addresses with MAC addresses
B) MAC addresses with IP addresses
B) MAC addresses with IP addresses
List the command that displays ARP cache.
arp -a
Which type of cast does ARP send out over a network?
A) Multicast
B) Broadcast
C) Unicast
B) Broadcast
When configuring a host’s network, it needs what key piece of information so it knows if the destination is on the local network or a remote network?
Subnet mask
Each host knows the __ __ so that it can then forward traffic to remote networks.
Default gateway
True/False:
Classful subnetting was the first effort to divide network ID’s.
True
What does the acronym CIDR stand for?
Classless Inter-Domain Routing
Subnet masks have all __ (binary) on the left and all __ (binary) on the right.
1’s on the left
0’s on the right
If I were to receive an APIPA address assigned to my computer, what network setting should I verify is turned on in the computer/router?
DHCP turned on
My network ID is showing 192.168.1.1 when I know that it should be 192.168.1.25. What may be the cause of this?
A rogue DHCP server
True/False:
The loopback address for IPv6 is 127.0.0.1.
False: the loopback address for IPv6 is ::1 and the loopback address for IPv4 is 127.0.0.1.
What does ARP stand for?
Address Resolution Protocol
Dotted Decimal Notation is to __, as __ is to 1’s and 0’s.
Dotted Decimal Notation is to xxx.xxx.xxx.xxx, as Binary is to 1’s and 0’s.
The IANA (a.k.a., _____) is an authority that keeps track of ALL IP addresses and passes them out to the __.
Internet Assigned Numbers Authority
RIR - Regional Internet Registry
What is the RIR responsible for?
A geographic organization that holds geographically allocated IP addresses and sends them out to local ISP’s.
What does APIPA stand for, what IP address is indicative of APIPA, and what is it designed to do?
Automatic Private IP Addressing; 169.254.x.x; built into all DHCP clients and is designed as a fallback if the computer cannot find a DHCP server.
Identify the Network ID and Host ID from subnet mask below.
255.255.255.0
Network ID = 255.255.255
Host ID = .0
True/False:
A dynamic IP address(es) is/are frequently changing as devices connect and disconnect and reconnect to/from a network.
True
Which protocol is used for dynamic IP addressing to automatically assign IP addresses to clients.
A) RIP 2 B) BootP C) DHCP D) IGP E) B & C F) C & D
E) B & C; BootP and DHCP
BootP stands for __ __ and is Linux’s version of DHCP.
Bootstrap Protocol
In opposition to dynamic IP addressing, static IP addresses…
Static IP addresses stay the same even as devices come and go from the network and are manually configured by a human.
What three key pieces of information should be gathered before solving subnet and host equations?
Network bits, subnet bits, and host bits.
EX:
IP Address: 192.168.1.0
Subnet Mask: 255.255.255.240 (/28)
Identify class of network -> A, B, or C
Identify how many subnets
Identify how many hosts
Class C
2^4 = 16 subnets
2^4 - 2= 14 hosts
Convert the provided example from binary to dotted decimal notation.
11000000.10101000.00000001.00000000
192.168.1.0
Convert the provided example from dotted decimal notation to binary.
169.254.17.25
10101001.11111110.00010001.00011001
Convert the provided example from binary to dotted decimal notation.
10010100.10000111.00000000.00000010
148.135.0.2
Convert the provided example from dotted decimal notation to binary.
10.5.2.2
00001010.00000101.00000010.00000010