Subnetting Quiz: IP Address and Class B Subnets

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 class does the IP address 192.168.100.97 belong to?

  • Class C (correct)
  • Class A
  • Class B
  • Class D

What is the subnet mask for 192.168.100.97 with a /27 prefix?

  • 255.255.255.128
  • 255.255.255.224 (correct)
  • 255.255.0.0
  • 255.255.255.240

What is the network address obtained from the IP address 192.168.100.97/27?

  • 192.168.100.0
  • 192.168.100.128
  • 192.168.100.96 (correct)
  • 192.168.100.97

What is the broadcast address for 192.168.100.97/27?

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

What custom subnet mask is used to support 4 subnets for a Class B address?

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

What is the primary purpose of a gateway in IoT connectivity?

<p>To transmit data between nodes without connectivity issues (B)</p> Signup and view all the answers

How many layers are described in the Open Systems Interconnection (OSI) model?

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

Which of the following is true about IP addressing?

<p>It uniquely identifies each device in a network (D)</p> Signup and view all the answers

What does the term 'switching' refer to in networking?

<p>Connecting devices to switches for data packet processing (A)</p> Signup and view all the answers

What is the main difference between the OSI model and the TCP/IP model?

<p>The OSI model has more layers than the TCP/IP model (A)</p> Signup and view all the answers

What is represented by an IPv4 address?

<p>A 32-bit binary number (B)</p> Signup and view all the answers

What does a subnet mask primarily do in relation to an IP address?

<p>It logically partitions the IP address into network and host parts. (C)</p> Signup and view all the answers

What role does a subnet mask play in IP addressing?

<p>Helps identify the network portion of an IP address (A)</p> Signup and view all the answers

In the context of IoT, what is the function of a proxy within a gateway?

<p>It translates all incoming and outgoing data packets. (B)</p> Signup and view all the answers

Which of the following represents a valid subnet mask format?

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

What class does the IP address 150.10.15.0 belong to?

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

Which of the following statements is true about subnet masks?

<p>They must contain continuous 0s after a sequence of 1s. (A)</p> Signup and view all the answers

How is the subnet mask for the first 16 bits of an address written?

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

How many networks are supported in a Class C network?

<p>2^8 (C)</p> Signup and view all the answers

What is the subnet mask for a Class A network?

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

Which IP address is part of Class C?

<p>192.14.2.0 (C), 193.42.1.1 (D)</p> Signup and view all the answers

How many total hosts are supported in a Class A network?

<p>2,097,152 (A)</p> Signup and view all the answers

What is the usable number of hosts in a Class A network?

<p>16,777,214 (B)</p> Signup and view all the answers

Which subnet mask corresponds to a Class C network?

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

What is the number of usable hosts per subnet when dividing a Class C network into 4 subnets?

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

What is required to create 4 subnets from a Class C network?

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

Which of the following addresses does NOT belong to the subnet 192.168.1.0/26?

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

What is the network address for the subnet containing the host 192.168.1.130?

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

How many bits are used for host addresses in a Class C subnet if it is divided into 4 subnets?

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

Flashcards

IoT Gateway

A network protocol that utilizes a gateway to connect Internet of Things (IoT) nodes to the Internet.

Network Protocol Stack

A stack of protocols used to connect devices and systems within a network.

OSI Model

A standard abstract model that describes a stack of seven protocol layers, including the physical, data link, network, transport, session, presentation, and application layers.

TCP/IP Model

A simplified version of the OSI model that combines some of the layers. It includes the application, transport, internet, and network interface layers.

Signup and view all the flashcards

IP Address

A unique numerical identifier for each device on a network.

Signup and view all the flashcards

Routing

A process of directing data packets between devices on a network.

Signup and view all the flashcards

LAN (Local Area Network)

A network that connects devices within a limited geographical area, such as a building or campus.

Signup and view all the flashcards

WAN (Wide Area Network)

A network that connects devices over a wider geographical area, spanning multiple locations or even countries.

Signup and view all the flashcards

Subnet Mask

A 32-bit number, similar to an IP address, that divides an IP address into network and host parts.

Signup and view all the flashcards

Subnet Mask Structure

A subnet mask has a continuous string of 1s starting from the Most Significant Bit (MSB). The number of consecutive 1s indicates the network portion of the IP address.

Signup and view all the flashcards

Network and Host Parts

The network part of an IP address identifies the network to which a device belongs. The host part identifies the specific device within the network.

Signup and view all the flashcards

Subnet Mask's Purpose

The purpose of a subnet mask is to subdivide a network into smaller sub-networks, allowing for more efficient IP address allocation.

Signup and view all the flashcards

Why 'Subnet' Mask?

A subnet mask is called a 'subnet mask' because it defines sub-networks. It allows for logical partitioning of IP addresses beyond just the network part.

Signup and view all the flashcards

Class A IP Address

Class A IP addresses start with '0' in the first bit, followed by 7 network bits and 24 host bits.

Signup and view all the flashcards

Class B IP Address

Class B IP addresses start with '10' in the first two bits, followed by 14 network bits and 16 host bits.

Signup and view all the flashcards

Class C IP Address

Class C IP addresses start with '110' in the first three bits, followed by 21 network bits and 8 host bits.

Signup and view all the flashcards

Network Address

The number of networks that can be created within a given IP address class. It is calculated using the formula 2^N, where N is the number of bits reserved for network addresses.

Signup and view all the flashcards

Host Address

The total number of hosts (devices) that can be connected to a network. It is calculated using the formula 2^H, where H is the number of bits reserved for host addresses.

Signup and view all the flashcards

Usable Hosts

The number of usable hosts within a network, excluding the network and broadcast addresses. It is calculated by subtracting 2 from the total number of hosts.

Signup and view all the flashcards

Subnetting

The process of dividing a larger network into smaller, more manageable subnetworks. This is done by borrowing bits from the host portion of the IP address.

Signup and view all the flashcards

Subnetworks

The number of subnetworks that can be created from a network. It is calculated using the formula 2^S, where S is the number of bits borrowed from the host portion for subnetting.

Signup and view all the flashcards

Network Address (Subnetwork)

The starting address of a subnetwork. It is formed by combining the network portion of the original IP address with all zeros in the host portion.

Signup and view all the flashcards

Broadcast Address

The address that is used to broadcast a message to all devices within a subnetwork. It is formed by combining the network portion of the original IP address with all ones in the host portion.

Signup and view all the flashcards

Address Range

The range of valid IP addresses that can be assigned to hosts within a subnetwork. It starts with the network address and ends with the broadcast address, excluding the network and broadcast addresses themselves.

Signup and view all the flashcards

Network Bits

The number of bits reserved for the network portion of the IP address determines the number of subnets that can be created within a network.

Signup and view all the flashcards

Subnet Ranges

Subnet ranges define groups of IP addresses that share the same network portion, allowing for efficient allocation and management of IP addresses within a network.

Signup and view all the flashcards

Study Notes

IoT Networking and Communication Layer - Part 1

  • This presentation covers IoT networking and communication.
  • The course outline includes IoT introduction, physical layer, networking and communication layer, cloud computing, data analytics, case studies, security, threat modeling, targeting the IoT ecosystem, and intrusion detection systems.
  • IoT connectivity involves devices connecting to each other via LANs, possibly through gateways for internet connectivity. Gateways translate protocols and handle communication between devices and systems.
  • The Open Systems Interconnection (OSI) model is a standard abstract model describing a stack of seven protocol layers.
  • The TCP/IP model uses four layers, merging some OSI model layers.

OSI vs. TCP/IP Model

  • A table compares the OSI and TCP/IP models, outlining their corresponding layers.
  • TCP and UDP are transport layer protocols. TCP provides a stream-based connection, while UDP utilizes message packets. Data diagrams are used in both protocols at the internet layer.
  • A 3-way handshake mechanism is used for establishing connections.

IoT Protocols

  • A table lists various IoT protocols, associated with their respective communication layers.
  • Protocols mentioned include COAP, MQTT, AMQP, HTTP, AMQP, TCP, UDP, DTLS, 6LoWPAN, RPL, IEEE protocols, GSM, LTE, LPWAN.

IP Addressing & Routing

  • IP addressing uniquely identifies devices in a network for data packet transmission.
  • The concept of switching and routing connects devices via switches and routers.
  • IP addresses and subnet masks are fundamental to data networks.

IPv4 Address

  • An IPv4 address is a 32-bit number, typically written in four parts using decimal numbers, such as 192.168.1.1.

Subnet Mask

  • A subnet mask is a 32-bit number used to logically divide an IP address.

Subnetting

  • Subnetting is the process of dividing a network into smaller subnetworks, for management and efficiency.

Calculating Class A, B, and C networks

  • Calculations determine the number of networks and hosts supported in each class.

Additional Notes

  • Class A, B, and C addresses have different ranges, and their default subnet masks are listed. Determining the network class and subnet mask for various examples of IP addresses are shown.
  • Various examples in the slides detail how to determine the network class, subnet mask, network address, and broadcast addresses from given IP addresses.
  • The presentation includes specific examples of subnetting and calculations needed for subnets with a specified number of hosts.
  • The slides provide diagrams and tables for subnetting examples, showing the division into network, subnet, and host parts of example IP addresses.

Studying That Suits You

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

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser