1.6 IPv4 Addressing and Subnetting Flashcards

Configure and verify IPv4 addressing and subnetting. (17 cards)

1
Q

Define:

IPv4 addressing

A

A system used to assign 32-bit addresses to devices on a network.

IPv4 addresses are divided into four octets, written in dotted decimal format (e.g., 192.168.1.1).

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

True or False:

The IPv4 address 192.168.1.256 is valid.

A

False

Each octet in an IPv4 address must be between 0 and 255, so 192.168.1.256 is invalid.

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

Why is subnetting important?

A

It divides large networks into smaller, efficient sub-networks.

It reduces broadcast domains, optimizes IP usage, and improves network management.

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

What is the purpose of a subnet mask?

A

It separates the network and host portions of an IP address.

The subnet mask helps routers and devices understand which part of the address is used for the network and which part for the host.

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

What address is used to send data to all hosts in a subnet?

A

Broadcast address

The broadcast address is the last address in a subnet. It is used to send packets to all devices within the same network.

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

What is the default subnet mask for a Class C IPv4 address?

A

255.255.255.0

Class C addresses use the subnet mask 255.255.255.0, providing up to 254 usable host addresses.

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

Fill in the blank:

The subnet mask 255.255.255.192 corresponds to a prefix length of ________.

A

/26

A /26 subnet mask allows for 64 addresses, with 62 usable host addresses.

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

How do you calculate the number of usable host addresses in a subnet?

A

Subtract 2 from the total addresses in the subnet.

The formula is (2^N) - 2, where N is the number of host bits. The two addresses are reserved for the network and broadcast.

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

True or False:

A subnet mask of 255.255.255.128 provides 128 usable host addresses.

A

False

A /25 subnet mask (255.255.255.128) provides 126 usable host addresses, not 128.

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

You need to divide 192.168.1.0/24 into 4 subnets. What subnet mask will you use?

A

255.255.255.192

A /26 subnet mask (255.255.255.192) divides the /24 network into 4 subnets.

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

Fill in the blank:

The IPv4 address 10.10.10.10/8 belongs to class _____.

A

A

Class A addresses range from 1.0.0.0 to 127.255.255.255, with a default subnet mask of 255.0.0.0.

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

True or False:

The subnet mask 255.255.255.248 provides 8 usable host addresses.

A

False

A /29 subnet mask (255.255.255.248) provides 6 usable host addresses, not 8.

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

What is the network address of 192.168.1.20/24?

A

192.168.1.0

The network address is the lowest address in the subnet, used to represent the network itself.

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

You have an IP address of 192.168.2.0/28. How many usable host addresses do you have?

A

14

A /28 subnet mask (255.255.255.240) allows for 16 addresses, with 14 usable for hosts.

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

Define:

A subnet mask of 255.255.255.252.

A

This is a /30 subnet mask with 4 addresses, 2 usable for hosts.

/30 subnets are commonly used for point-to-point links between two devices.

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

True or False:

The first IP address in a subnet is reserved as the network address.

A

True

The first IP address in a subnet represents the network address, which is not assigned to a host.

17
Q

What does CIDR stand for, and how is it used in subnetting?

A

Classless Inter-Domain Routing

CIDR uses variable-length subnet masks (VLSM), allowing more efficient IP address allocation and avoiding the limitations of class-based subnetting.