IPv4 Subnetting Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which subnet mask would provide exactly 4 bits for host addresses?

  • 255.255.255.128
  • 255.255.255.240 (correct)
  • 255.255.255.248
  • 255.255.255.224

What components make up an IPv4 address?

  • Network portion and Host portion (correct)
  • Physical portion and Broadcast portion
  • Network portion and Subnet portion
  • Subnet portion and Logical portion

If a device has a /26 subnet mask, how many usable IP addresses are available for hosts?

  • 64
  • 62 (correct)
  • 30
  • 32

What type of address is represented by 172.17.4.250/24?

<p>Host address (B)</p> Signup and view all the answers

With a subnet mask of /28, how many total IP addresses are available in the subnet?

<p>16 total addresses (A)</p> Signup and view all the answers

What is the primary purpose of a subnet mask when used with an IP address?

<p>To determine the subnet to which the host belongs (B)</p> Signup and view all the answers

If the smallest subnet has a mask of 255.255.255.224, how many usable host addresses are there?

<p>30 (A)</p> Signup and view all the answers

How is the subnet mask represented in CIDR notation for 255.255.255.240?

<p>/28 (A)</p> Signup and view all the answers

What is the prefix length notation for the subnet mask 255.255.255.224?

<p>/27 (A)</p> Signup and view all the answers

How many valid host addresses are available on an IPv4 subnet configured with a /26 mask?

<p>62 (A)</p> Signup and view all the answers

Which subnet mask corresponds to a scenario where 5 host bits are available?

<p>255.255.255.224 (B)</p> Signup and view all the answers

How many equal-sized subnets are created when subnetting the 192.168.10.0/24 network into /26 masks?

<p>4 (C)</p> Signup and view all the answers

What subnet mask is represented by the slash notation /20?

<p>255.255.224.0 (C)</p> Signup and view all the answers

What is a true statement about variable-length subnet masking (VLSM)?

<p>The size of each subnet may be different, depending on requirements. (B)</p> Signup and view all the answers

What is the purpose of the ANDing process performed by a Layer 3 device on a destination IP address and subnet mask?

<p>To identify the network address of the destination network (D)</p> Signup and view all the answers

How many usable IP addresses are there in the 192.168.1.0/27 network?

<p>30 (C)</p> Signup and view all the answers

Flashcards

Subnet Mask with 4 Host Bits

A subnet mask with 4 host bits provides 16 total addresses, but only 14 are usable for hosts after subtracting the network and broadcast addresses.

Components of an IPv4 Address

The network portion identifies the specific network, while the host portion differentiates individual devices within that network.

Usable Host Addresses with a /26 Mask

A subnet mask of /26 allocates 6 bits for host addresses, resulting in 64 total addresses (2^6). Two addresses are reserved, leaving 62 usable for hosts.

Identifying a Host Address

An IP address falling between the network and broadcast addresses within a subnet is a host address. It represents a specific device on that network.

Signup and view all the flashcards

Smallest Subnet Size using /27

A network administrator can create subnets of varying sizes to efficiently manage a larger network. The smallest subnet size in this example is 255.255.255.224, which is equivalent to a /27 subnet.

Signup and view all the flashcards

Usable Host Addresses in a /27 Subnet

A subnet mask with 5 host bits allows for 32 total addresses (2^5), but only 30 are usable after excluding the network and broadcast addresses.

Signup and view all the flashcards

Purpose of the Subnet Mask

The subnet mask identifies the network to which a host belongs by separating the network portion from the host portion of an IP address.

Signup and view all the flashcards

Subnet Mask and Network Address

The subnet mask is used to determine the network address of the destination network, which helps facilitate communication between devices.

Signup and view all the flashcards

What is prefix length notation?

The prefix length notation, often represented by a forward slash (/), indicates the number of bits used for the network portion of an IP address. A higher prefix length means more bits are dedicated to the network, leaving fewer bits for host addresses within that network.

Signup and view all the flashcards

How many addresses in a /27 subnet?

A /27 subnet mask means 27 bits are used for the network portion, leaving 5 bits for host addresses. With 5 bits, you can represent 2^5 = 32 possible addresses.

Signup and view all the flashcards

Subnet mask from host bits?

To determine the subnet mask for a given number of host bits, subtract the number of host bits from 32 (total bits in an IPv4 address). The result is the prefix length, from which you can derive the subnet mask.

Signup and view all the flashcards

What is subnetting?

Subnetting divides a network into smaller subnets. Borrowing bits from the host portion of the original network mask allows creation of multiple subnets.

Signup and view all the flashcards

How many subnets can be created?

The number of subnets created from an original network depends on the number of bits borrowed for subnetting. Each borrowed bit doubles the number of possible subnets.

Signup and view all the flashcards

What is a /20 subnet mask?

The slash notation (/20) represents the prefix length, indicating 20 bits are dedicated to the network portion of the IP address.

Signup and view all the flashcards

What is VLSM?

Variable Length Subnet Masking (VLSM) allows creating subnets of different sizes. This flexibility is useful for optimizing network resources based on the needs of different network segments.

Signup and view all the flashcards

Why AND operation with subnet mask?

ANDing the destination IP address with the subnet mask isolates the network address portion, removing the host-specific bits. This allows Layer 3 devices to determine the destination network and route traffic accordingly.

Signup and view all the flashcards

Study Notes

IPv4 Subnetting

  • Prefix Length Notation: Represents the subnet mask. For example, /27 means the first 27 bits of the IP address represent the network.
  • Subnet Mask Calculation: Convert the subnet mask (e.g., 255.255.255.224) to binary to determine the number of network bits.
  • Calculating Available Host Addresses: Subtract the number of network bits from 32 (total bits in an IPv4 address) to get the number of host bits. Calculate 2(number of host bits) to find the total number of addresses. Subtract 2 (for network and broadcast addresses) from the total addresses to find the usable (valid) host addresses.
  • VLSM: Variable Length Subnet Masking allows for subnets of different sizes by borrowing different numbers of host bits.
  • Subnet Mask and IP Address: The ANDing of an IP address and subnet mask determines the network address.
  • Number of Subnets: The number of subnets created depends on the number of bits borrowed for subnetting (2(borrowed_bits)).
  • Usable Addresses: Usable host addresses equal the total addresses minus the network and broadcast addresses (2).

Key Examples and Calculations

  • /26 Mask: Provides 62 usable host addresses (6 bits for hosts, 64 total, minus 2 = 62)
  • 5 Host Bits: Requires a /27 subnet mask (255.255.255.224).
  • /20 Mask: Represents the subnet mask 255.255.224.0.
  • 192.168.1.0/27 Network: Contains 30 usable host addresses ( 5 bits for hosts, 32 total, - 2 = 30)
  • /28 Mask: A /28 mask provides 14 usable host addresses (4 bits for hosts, 16 total, minus 2 = 14).

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

IPv4 Subnetting
3 questions

IPv4 Subnetting

SimplerGyrolite6955 avatar
SimplerGyrolite6955
Networking Concepts: IP Addressing and Subnets
25 questions
Modull 11- IPv4 Subnetting Quiz
17 questions
Use Quizgecko on...
Browser
Browser