IPv4 Address Classes and Subnetting Quiz
41 Questions
3 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 Class D IPv4 addresses?

  • Reserved for testing
  • Multicast services (correct)
  • Unicast services
  • General internet communication
  • Class B IPv4 addresses are used for multicast services.

    False

    What is the value range of the first byte for Class A IPv4 addresses?

    0 to 127

    In Class C IPv4 addresses, the first byte ranges from ____ to ____.

    <p>192, 223</p> Signup and view all the answers

    Match the following IPv4 address classes with their purposes:

    <p>Class A = Unicast services Class B = Unicast services Class C = Unicast services Class D = Multicast services Class E = Testing and future use</p> Signup and view all the answers

    Which of the following addresses is classified as Class E?

    <p>252.5.15.111</p> Signup and view all the answers

    What condition must a host address meet in an IPv4 network?

    <p>It cannot be all zeros or all ones.</p> Signup and view all the answers

    What is the primary use of the first 24 bits in a Class C IPv4 address?

    <p>Network address</p> Signup and view all the answers

    Class C addresses can support more than 254 hosts per network.

    <p>False</p> Signup and view all the answers

    How many Class C networks can exist?

    <p>2,097,150</p> Signup and view all the answers

    The subnet mask is a ________-bit pattern used to define network and host portions of an address.

    <p>32</p> Signup and view all the answers

    Match the following subnet mask notations with the corresponding number of bits allocated for hosts:

    <p>/8 = 24 /16 = 16 /24 = 8</p> Signup and view all the answers

    What operation is used to find the network address using the straight method?

    <p>AND</p> Signup and view all the answers

    In the shortcut method, if a byte in the subnet mask is 255, the corresponding byte in the address is written unchanged.

    <p>True</p> Signup and view all the answers

    What is the subnet address for destination address 19.30.84.5 with subnet mask 255.255.192.0?

    <p>19.30.64.0</p> Signup and view all the answers

    Class C addresses leave the last octet for ________ addresses.

    <p>Host</p> Signup and view all the answers

    What is the purpose of the Type of Service (TOS) subfield in an IPv4 datagram?

    <p>To determine the priority of the datagram in congestion scenarios</p> Signup and view all the answers

    The total length of an IPv4 datagram can exceed 65,535 bytes.

    <p>False</p> Signup and view all the answers

    What is calculated by subtracting the header length from the total length in an IPv4 datagram?

    <p>Length of data</p> Signup and view all the answers

    The total length field defines the total length of the IPv4 datagram, including the ______.

    <p>header</p> Signup and view all the answers

    Match the following fields of an IPv4 datagram with their descriptions:

    <p>Identification Field = 16-bit field that identifies a datagram Flags Field = 3-bit field that indicates fragmentation control Total Length Field = Defines the total length of the datagram in bytes Type of Service (TOS) = 4-bit subfield for defining priority in congestion</p> Signup and view all the answers

    What is the primary purpose of subnetting a network?

    <p>To segment a network into smaller subnetworks</p> Signup and view all the answers

    Each subnet can utilize its network ID and broadcast address.

    <p>False</p> Signup and view all the answers

    What is the formula to calculate the number of usable hosts in a subnet?

    <p>2^n - 2</p> Signup and view all the answers

    The two subnets created from the network 192.168.1.0/25 have subnet masks of ______.

    <p>255.255.255.128</p> Signup and view all the answers

    Match the subnet with its corresponding network range:

    <p>Subnet 0 = 192.168.1.0-127 Subnet 1 = 192.168.1.128-255</p> Signup and view all the answers

    When configuring a router interface, which of the following must be true?

    <p>It must have an IP address from the network it connects to.</p> Signup and view all the answers

    Subnetting increases the overall network traffic.

    <p>False</p> Signup and view all the answers

    How many subnets can be created by borrowing one bit from the host part of an IPv4 address?

    <p>2</p> Signup and view all the answers

    Devices use the router interface as their default ______.

    <p>gateway</p> Signup and view all the answers

    Which of the following is NOT a benefit of subnetting?

    <p>Increase broadcast traffic across the network</p> Signup and view all the answers

    How many subnets can be created by borrowing 2 bits?

    <p>4 subnets</p> Signup and view all the answers

    Borrowing 3 bits allows the creation of 8 subnets.

    <p>True</p> Signup and view all the answers

    What is the subnet mask for a network that creates 8 subnets?

    <p>255.255.255.224</p> Signup and view all the answers

    The IANA is responsible for global coordination of the Internet Protocol __________ systems.

    <p>addressing</p> Signup and view all the answers

    Match the number of borrowed bits with the number of created subnets:

    <p>2 bits = 4 subnets 3 bits = 8 subnets 4 bits = 16 subnets 1 bit = 2 subnets</p> Signup and view all the answers

    What does the subnet mask 255.255.255.224 represent in CIDR notation?

    <p>/27</p> Signup and view all the answers

    ISPs receive their IP address allocations directly from the IANA.

    <p>False</p> Signup and view all the answers

    What is the role of the Regional Internet Registries (RIRs)?

    <p>To allocate IP addresses to ISPs according to regional needs.</p> Signup and view all the answers

    When more addresses are needed, __________ makes additional allocations to the RIR.

    <p>IANA</p> Signup and view all the answers

    Which of the following is NOT a responsibility of the IANA?

    <p>Allocating IP addresses to end users</p> Signup and view all the answers

    Study Notes

    Computer Networks - Chapter 4: Network Layer

    • The network layer, or OSI Layer 3, provides services for devices to exchange data across a network
    • It has four key functions: addressing end devices, routing, encapsulation and decapsulation
    • Common network layer protocols include IP version 4 (IPv4) and IP version 6 (IPv6)
    • Legacy protocols include AppleTalk, Novell Internetwork Packet Exchange (IPX), and Connectionless Network Service (CLNS/DECNet)
    • Routing protocols include RIP, OSPF, IGRP, EIGRP, and BGP

    IPv4 Protocol and Addressing

    • IPv4 is a connectionless datagram protocol, providing best-effort service, meaning no error or flow control
    • If reliability is needed, IPv4 must be paired with a reliable protocol such as TCP
    • It uses the datagram approach, where each datagram is handled independently, and routes may differ
    • IPv4 addresses are 32-bit logical addresses that uniquely identify a device
    • An IPv4 address space holds 2³² addresses (4,294,967,296)

    IPv4 Address Representation

    • IPv4 addresses can be represented in binary or dotted-decimal notation
    • Binary notation uses 32 bits, while dotted-decimal notation uses decimal numbers separated by periods (e.g., 192.168.1.1)

    IPv4 Address Classes

    • IPv4 addresses are divided into five classes (A, B, C, D, E) to allocate addresses
    • Classes A, B, and C are used for unicast communication

    IPv4 Subnet Mask

    • A subnet mask is a 32-bit binary pattern used to differentiate between network and host portions of an IP address
    • It does not store network or host information; it simply indicates where to find it within the IP address
    • Classful addressing, such as specifying class A, B, or C, along with mask /8, /16, or /24 tells how many bits of an address are for network identification and how many are for host

    IPv4 Unicast, Multicast, and Broadcast Transmissions

    • Unicast: Data transmission from one host to a single destination host
    • Broadcast: Data transmission from one host to all hosts in the network
    • Multicast: Data transmission from one host to a group of hosts (possible on different networks).

    IPv4 Protocol Encapsulation

    • The IPv4 header is encapsulated within a packet to carry data across a network
    • This header contains fields for version, header length, service type, total length, fragmentation offset, time to live, protocol, source and destination IP address, options, and checksum

    IPv6 Protocol and Addressing

    • IPv6 was developed as a solution to IPv4's address depletion problem and other limitations
    • IPv6 uses a 128-bit address space, offering a vastly larger number of possible addresses
    • IPv6 addresses are represented as a string of hexadecimal values separated by colons (e.g., 2001:0DB8:0000:1111:0000:0000:0000:0200)
    • Leading zeros and groups of consecutive zeros can be abbreviated, reducing the length of the representation
    • IPv6 uses prefixes to define network portions of addresses, differing from IPv4's classful addressing

    Studying That Suits You

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

    Quiz Team

    Related Documents

    Description

    Test your knowledge on IPv4 address classes including Class A, B, C, D, and E. This quiz covers their purposes, subnet masks, and the conditions required for host addresses in an IPv4 network. Get ready to deepen your understanding of IP addressing and subnetting techniques!

    More Like This

    IPv4 Addressing and Subnetting
    18 questions
    11.3.2 IPv4 Addressing
    25 questions
    IPv4 Addressing Fundamentals
    19 questions
    IPv4 Addressing Quiz
    50 questions

    IPv4 Addressing Quiz

    CompliantOklahomaCity7898 avatar
    CompliantOklahomaCity7898
    Use Quizgecko on...
    Browser
    Browser