Section 9: IP Addressing Flashcards

(37 cards)

1
Q

What is an IPv4 address and how many bits does it have?

A

An IPv4 address is a logical address used to identify a device on a network. It is a 32-bit number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main portions of an IPv4 address, and what component defines them?

A

The Network portion and the Host portion. They are defined by the subnet mask.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is dotted-decimal notation?

A

The human-readable format for an IPv4 address, which consists of four decimal numbers (each called an octet), separated by dots.

For example, 192.168.1.4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What four components are typically required for a full IPv4 client configuration?

A
  1. IP Address 2. Subnet Mask 3. Default Gateway 4. DNS Server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the primary function of a subnet mask?

A

To divide an IPv4 address into its network and host portions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In the binary representation of a subnet mask, what do the 1s and 0s represent?

A

The 1s represent the network portion of the address, and the 0s represent the host portion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does a device use a subnet mask to determine if a destination IP is local or remote?

A

It checks if the destination’s network address is the same as its own. If it is, the destination is local. If not, the destination is remote, and traffic is sent to the default gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the key difference between a public and a private IPv4 address?

A

A public IP address is globally unique and routable on the internet. A private IP address is for internal network use only and is not routable on the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the three blocks of IP addresses defined by RFC 1918 for private use?

A

10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Class A private IP address range?

A

10.0.0.0 to 10.255.255.255 (10.0.0.0/8)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Class B private IP address range?

A

172.16.0.0 to 172.31.255.255 (172.16.0.0/12)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Class C private IP address range?

A

192.168.0.0 to 192.168.255.255 (192.168.0.0/16)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What technology allows devices with private IP addresses to access the internet?

A

Network Address Translation (NAT).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does NAT (Network Address Translation) do?

A

It translates private, non-routable IP addresses into a public, routable IP address, allowing devices on a private network to access the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If a Windows PC fails to get an address from a DHCP server, what address range will it likely assign to itself?

A

The APIPA range: 169.254.0.0 to 169.254.255.255.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does an IP address in the 169.254.0.0/16 range indicate?

A

It is an Automatic Private IP Addressing (APIPA) address, which means the device was unable to contact a DHCP server.

17
Q

What is the purpose of the 127.0.0.1 address?

A

It is the loopback address (or localhost), used to test the TCP/IP protocol stack on the local device without sending traffic onto the network.

18
Q

What IP address is commonly known as ‘localhost’?

19
Q

What are the four steps of the DHCP process, known by the acronym DORA?

A

Discover, Offer, Request, Acknowledge.

20
Q

What is a DHCP scope?

A

A defined range of IP addresses that a DHCP server is configured to lease to clients on a network.

21
Q

What feature must be configured on a router to allow DHCP requests to cross subnets?

A

A DHCP Relay Agent (in Cisco, this is the ip helper-address command).

22
Q

Why must you subtract 2 when calculating the number of usable host addresses in a subnet?

A

Because the first address is the reserved Network ID, and the last address is the reserved Broadcast ID.

23
Q

What are the two primary benefits of subnetting a large network?

A
  1. Improved Performance (by reducing broadcast domains). 2. Enhanced Security (by segmenting network traffic).
24
Q

If you start with a /24 network and borrow 3 bits for subnetting, what is the new CIDR notation for the subnets?

A

/27 (because 24 + 3 = 27).

25
How many usable hosts are available in a network with a /29 CIDR notation?
6. (A /29 has 3 host bits: 2^3 = 8. Then 8 - 2 = 6).
26
What is the primary reason IPv6 was created?
To solve the problem of IPv4 address exhaustion.
27
How many bits are in an IPv6 address, and what number system is it written in?
128 bits, written in hexadecimal.
28
What are the two rules that can be used to shorten a written IPv6 address?
1. Omit leading zeros within any segment. 2. Replace ONE group of consecutive all-zero segments with a double colon (::).
29
Can you use the double colon (::) shorthand more than once in a single IPv6 address?
No, it can only be used once to avoid ambiguity.
30
What type of IPv6 address is equivalent to a public IPv4 address?
A Global Unicast Address (GUA).
31
What IPv6 address prefix is always used for link-local addresses?
FE80::/10
32
What is the primary purpose of the Neighbor Discovery Protocol (NDP) in IPv6?
It replaces ARP and is used for router discovery, address autoconfiguration (SLAAC), and finding other devices on the local link.
33
How does SLAAC allow a host to create a unique, globally routable IPv6 address?
It combines the 64-bit network prefix advertised by a local router with a unique 64-bit interface identifier (often created from the MAC address via EUI-64).
34
What does SLAAC stand for?
Stateless Address Autoconfiguration.
35
What is the most direct way for a single device to be able to communicate on both an IPv4 and an IPv6 network?
Dual Stack, where the device has both an IPv4 and IPv6 address and runs both protocol stacks simultaneously.
36
How does tunneling allow an IPv6 packet to cross an IPv4-only network?
It encapsulates the entire IPv6 packet within the data payload of an IPv4 packet for transport.
37
What is the function of a NAT64 gateway?
It translates IPv6 addresses to IPv4 addresses (and vice versa) to facilitate communication between IPv6-only devices and IPv4-only services.