Subnetting and IP Address Classes
20 Questions
1 Views

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 identify the network and subnet bits in an IP address (correct)
  • To create additional IP addresses
  • To enhance network speed
  • To secure data transmission

How many bits need to be borrowed to create four subnets?

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

If a Class C network is partitioned into four subnets, what is the resulting subnet mask?

  • 255.255.255.0
  • 255.255.255.128
  • 255.255.255.192 (correct)
  • 255.255.255.224

What is the result of borrowing bits from the host part of an IP address?

<p>Decreased number of hosts per subnet (C)</p> Signup and view all the answers

If 3 bits are borrowed from the host portion for subnetting, how many subnets can be created?

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

What is indicated by the two Most Significant Bit (MSB) positions borrowed from the host and network portions?

<p>They are included in the subnet mask (C)</p> Signup and view all the answers

What is the total number of usable hosts per subnet when a subnet uses 3 bits for hosts?

<p>30 usable hosts (D)</p> Signup and view all the answers

If only two host addresses are needed for a router-to-router link, what subnet mask would likely be used?

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

What equation can be applied to calculate the number of hosts per subnet?

<p>$2^{(borrowed bits)} - 2$ (A)</p> Signup and view all the answers

What is the effect of subnetting on the overall number of IP addresses in a network?

<p>Decreases the total number of available IP addresses (C)</p> Signup and view all the answers

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

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

What does a subnet mask of 255.255.255.0 indicate about IP addresses in a LAN?

<p>All addresses between 172.16.35.0 and 172.16.35.255 can communicate directly. (C)</p> Signup and view all the answers

How can you verify if a destination IP address is in the same subnet as the LAN?

<p>By 'ANDing' the subnet mask with the destination address. (A)</p> Signup and view all the answers

What is typically the physical network interface for gateway IP addresses in a LAN?

<p>A layer 3 switch or a router (A)</p> Signup and view all the answers

What does the first three octets in the subnet mask 255.255.255.0 signify?

<p>They must match to indicate the same subnet. (C)</p> Signup and view all the answers

What is a common misconception about subnetting with a subnet mask of 255.255.255.0?

<p>It allows for 256 devices to connect. (A)</p> Signup and view all the answers

In the example provided, what does the destination IP address 172.16.34.15 indicate when using a subnet mask of 255.255.255.0?

<p>It is outside the subnet of 172.16.35.0. (B)</p> Signup and view all the answers

How does borrowing bits in subnetting affect available hosts in a subnet?

<p>It decreases the number of available hosts. (D)</p> Signup and view all the answers

If a network uses 255.255.255.128 as a subnet mask, what is the potential number of subnets?

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

What is the effect of using a subnet mask with fewer host bits?

<p>Fewer subnets can be created. (B)</p> Signup and view all the answers

Flashcards

Subnetting

Breaking down a network into smaller subnets using subnet masks.

Subnet Mask

A bitmask that identifies which bits in an IP address represent the network/subnet portion.

Borrowing bits

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

Subnet

A smaller part of a larger network.

Signup and view all the flashcards

Number of subnets

Determined by the number of borrowed bits - 2^x where X is the number of bits borrowed.

Signup and view all the flashcards

Hosts/subnet

The number of devices that can be assigned to a specific subnet.

Signup and view all the flashcards

Class C Network

A type of IP address network design with a specific format.

Signup and view all the flashcards

MSB (Most Significant Bit)

The bit that carries the most significant value or weight in a bit string.

Signup and view all the flashcards

Host bits

Bits that identify individual devices or hosts within a subnet.

Signup and view all the flashcards

Network bits

Bits that identify a network or subnet

Signup and view all the flashcards

IP Address

A unique address of a device on a network.

Signup and view all the flashcards

LAN

Local Area Network; a group of devices connected together in a limited area.

Signup and view all the flashcards

Router

A device that directs data packets between networks.

Signup and view all the flashcards

Gateway IP address

The IP address of the router or switch that connects to a different network.

Signup and view all the flashcards

Subnet Mask Example

255.255.255.0 for IP addresses between 172.16.35.0 and 172.16.35.255 will stay in the LAN.

Signup and view all the flashcards

Destination Network

The network a data packet is intended for.

Signup and view all the flashcards

Subnet Mask Calculation

Using 'ANDing' to determine if the destination IP address is within the same subnet or not

Signup and view all the flashcards

Host Address

The part of the IP address that identifies a specific device on a network.

Signup and view all the flashcards

255.255.255.252

Subnet mask for a router link requiring only two host addresses.

Signup and view all the flashcards

Study Notes

Subnet Masks

  • Subnetting is a technique to divide networks into subnets.
  • Subnets are created using subnet masks.
  • Subnet masks identify bits in IP addresses used to signify network/subnet portions.

Subnetting

  • Subnetting breaks down networks into smaller subnets.
  • Subnets are created by borrowing bits from the host portion of IP addresses.
  • The new subnet bits, along with the network portion, define the new subnet.
  • Routers use this information to forward data packets to the correct subnets.

IP Address Classes (A, B, C)

  • Class A networks have a variable network portion (more host bits).
  • Class B networks have a larger network portion.
  • Class C networks have the largest network portion (least amount of host bits).
  • Octet values are used to divide the IP address into pieces.

Subnet Creation

  • Subnets are formed by borrowing bits from the host portion using the formula:
    • Number of subnets = 2x where x = Number of borrowed bits
  • Subnets reduce available host bits reducing the total number of hosts in the subnet.
  • Formulas for host/subnet calculation:
    • Number of hosts/subnet = 2y-x where y = number of original bits in the host portion, and x = number of borrowed bits

Usable Hosts/Subnet

  • Subnets have network and broadcast addresses.
  • A formula accounts for these when calculating usable hosts.
  • Usable hosts/subnet = 2(y-x) - 2

Applying Subnet Masks

  • Subnet masks use logical AND operations (1s and 0s.)
  • 1s in the mask indicate the IP address bits passed during forwarding.
  • 0s in the mask prevent forwarding those bits.
  • Output depends on whether the subnet mask bit is set to 1 or 0.

Example Calculation (192.168.12.0)

  • Breaking down the 192.168.12.0 network into four subnets involves borrowing two host bits.
    • Therefore x = 2 and y = 8 (standard for class C)
    • Using calculating formulas:
    • Number of subnets =22 = 4
    • Number of hosts/subnet = 28-2 = 64

Subnet Mask Determination

  • To find the specific mask, you need to determine the number of host bits being used.
  • The most significant bits are borrowed from the original host section of the IP address .

Controlling Data Flow

  • Subnet masks help direct data within networks.
  • They check if the destination IP address is on the same or different LAN.
  • Data packets routed to the gateway address.
  • Gateway address in on a different LAN.
  • Gateway address is on a layer 3 switch or a router.

Examples and Summary

  • Specific examples demonstrate how to apply subnetting to various IP address classes.
  • This section has demonstrated how subnets and subnet masks control data flow within computer networks.
  • Examples guide the reader through determining the number of hosts in a specific subnet.

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

Description

Test your knowledge on subnetting techniques, subnet masks, and IP address classes. This quiz covers how subnets are created by borrowing bits from host portions and the characteristics of Class A, B, and C networks. A great way to solidify your understanding of IP addressing!

More Like This

Network + Chapter 10 Flashcards
20 questions
IP Address Classes and Subnetting
5 questions
Subnetting Basics and Classes
19 questions
Use Quizgecko on...
Browser
Browser