Subnet Masks and Network Classes

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of a subnet mask?

  • To increase the speed of data transmission
  • To encrypt data packets during transmission
  • To track the number of devices in a network
  • To identify which bits in an IP address represent the network/subnet (correct)

How many bits are borrowed from the host portion to create four subnets in a Class C network?

  • 3 bits
  • 2 bits (correct)
  • 1 bit
  • 4 bits

If a Class C network is subdivided into four subnets, what is the new subnet mask?

  • 255.255.255.224 (correct)
  • 255.255.255.240
  • 255.255.255.252
  • 255.255.255.128

What is the effect of borrowing bits from the host portion of an IP address?

<p>It decreases the number of available IP addresses for hosts (A)</p> Signup and view all the answers

Given a network address of 10.0.0.0, how many bits are required to create 8 subnets?

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

For a router-to-router link that requires only two host addresses, how many host bits are typically needed?

<p>2 host bits (D)</p> Signup and view all the answers

What components make up the complete subnetting process?

<p>Network address, host address, and subnet mask (C)</p> Signup and view all the answers

If 2 bits are used for subnetting in a Class C IP address, what is the configuration of the subnet mask?

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

What does the notation 192.168.12.0 indicate?

<p>It is a reserved IP address for private networks (B)</p> Signup and view all the answers

What is the result of applying the formulas for calculating the number of subnets and hosts per subnet?

<p>Determining the configurations of subnets and their capacities (D)</p> Signup and view all the answers

What is the correct subnet mask needed for a router-to-router link requiring only two host addresses?

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

How does a subnet mask affect data packet routing within a LAN?

<p>It determines if the packet is sent to the gateway or stays within the LAN. (B)</p> Signup and view all the answers

If a computer in the LAN has the IP address 172.16.35.3 and uses a subnet mask of 255.255.255.0, which IP address is not in the same subnet?

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

What does the subnet mask 255.255.255.0 indicate about the corresponding IP address range?

<p>Only addresses 172.16.35.0 to 172.16.35.255 are valid within the LAN. (D)</p> Signup and view all the answers

What is the purpose of 'ANDing' the subnet mask with the destination address?

<p>To determine if the destination is in the same subnet. (C)</p> Signup and view all the answers

Which of the following correctly describes how subnetting can impact a network?

<p>It provides better security by isolating traffic. (C)</p> Signup and view all the answers

What does the term 'borrowing bits' mean in the context of subnetting?

<p>Using bits from the host portion to create additional subnetworks. (A)</p> Signup and view all the answers

Which of the following statements about subnet masks is true?

<p>Subnet masks are used to classify hosts within the same network. (D)</p> Signup and view all the answers

If a data packet has a destination IP of 172.16.34.15 and is using the subnet mask 255.255.255.0, what action will be taken?

<p>The packet will be sent to the LAN's gateway. (D)</p> Signup and view all the answers

What is the maximum number of hosts that can be accommodated by a subnet mask of 255.255.255.252?

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

Flashcards

Subnetting

Breaking down a network into smaller subnetworks.

Subnet Mask

A 32-bit number that identifies network and subnet bits in an IP address.

Borrowing bits

Taking bits from the host portion of an IP address to create subnets.

Host bits

Bits in an IP address used to identify individual devices on a network.

Signup and view all the flashcards

Subnet

A smaller network within a larger network, defined by a portion of the IP address.

Signup and view all the flashcards

Network portion

Part of IP address used for network identification.

Signup and view all the flashcards

Subnet equation

Formula used to calculate the number of subnets created.

Signup and view all the flashcards

Class C network

A network type with a specific IP address range, often used to partition into smaller subnets.

Signup and view all the flashcards

Broadcast Address

The special IP address on a local network used for sending packets to all devices.

Signup and view all the flashcards

Router-to-router link

A direct connection between two routers, often needing only a small number of host addresses for communication.

Signup and view all the flashcards

Gateway IP Address

The IP address of the physical network interface on a layer 3 switch or router.

Signup and view all the flashcards

IP Address 172.16.35.3

An example IP address that stays within the given LAN with a mask of 255.255.255.0

Signup and view all the flashcards

IP Address 172.16.34.15

An example IP address located outside of the LAN defined by a subnet mask 255.255.255.0

Signup and view all the flashcards

255.255.255.0 Subnet Mask

A subnet mask that determines if the IP addresses are in the same subnet.

Signup and view all the flashcards

ANDing

A logical operation used to check subnet matching.

Signup and view all the flashcards

Subnet Mask 255.255.255.252

Subnet mask required for router-to-router links with two host addresses.

Signup and view all the flashcards

Subnet Mask use

The subnet mask controls the data flow within the network.

Signup and view all the flashcards

Subnet mask function

Used to determine if destination IP address is local (LAN) or needs to be directed to a gateway.

Signup and view all the flashcards

Study Notes

Subnet Masks

  • Subnetting is a technique used to divide a network into smaller networks (subnets).
  • Subnets are created using subnet masks.
  • The subnet mask identifies the bits in the IP address that represent the network/subnet portion of an IP address.
  • Subnets are created by borrowing bits from the host portion of the IP address.
  • The network portion and the new subnet bits define the new subnet.
  • Routers use this information to forward data packets to the correct subnet.

Network Classes and Subnets

  • Class A networks have a network portion of 8 bits, a subnet portion, and a host portion.
  • Class B networks have a network portion of 16 bits, a subnet portion, and a host portion.
  • Class C networks have a network portion of 24 bits, a subnet portion, and a host portion.
  • To create subnets from a particular class of network, bits are borrowed from the host portion.

Calculating Subnets and Hosts

  • The number of subnets created equals 2x, where x is the number of bits borrowed from the host.
  • The number of hosts per subnet equals 2y-x, where y is the number of host bits for the class of network, and x is the number of bits borrowed to generate the subnets.

Usable Hosts/Subnet

  • The number of usable hosts per subnet is calculated as 2(y-x) - 2. This is because the network address and broadcast address are not usable host addresses.

Subnet Mask Considerations

  • Each subnet has a network address and a broadcast address.
  • The subnet mask is used to distinguish between network, subnet, and host bits in an IP address.
  • A bit in the subnet mask set to 1 indicates a network or subnet bit; a 0 indicates a host bit. The subnet mask is a series of 1s followed by a series of 0s.
  • The subnet mask is used to direct data packets within a network, and to determine if the intended destination is within the same subnet or outside of it.
  • The gateway's IP address is the interface on a layer-3 switch or router.

Example Calculations

  • Various examples of calculating subnets based on specific network and host bit counts for a class of network are provided.
  • Example of how to determine the proper subnet mask, considering these examples and calculations.

Studying That Suits You

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

Quiz Team

Related Documents

Chapter 6-5 Subnet Masks PDF

More Like This

Use Quizgecko on...
Browser
Browser