1. Home
  2. Explore
  3. Computer Science
  4. IPv4 Network Layer

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

IPv4 Network Layer

  • 104Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: IP Fundamentals
In the OSI model, the network layer is layer
.

104 questions

  1. 1
    In the OSI model, the network layer is layer
    _____
    .
    Hint

    It sits above the data link layer.

    Answer

    3

  2. 2
    The network layer protocol emphasized in the content is
    _____
    .
    Hint

    Its abbreviated name is IP.

    Answer

    Internet Protocol

  3. 3
    The IP version discussed as the original version used before IPv6 became available is
    _____
    .
    Hint

    It uses 32-bit addresses.

    Answer

    IPv4

  4. 4
    In the TCP/IP protocol stack, the network layer passes data from the transport layer down to the
    _____
    layer.
    Hint

    This lower layer handles delivery over a local link.

    Answer

    data link

  5. 5
    IP's basic delivery goal is to move a datagram from a source machine to a
    _____
    machine.
    Hint

    IP aims to get the datagram to the other computer, not a particular application.

    Answer

    destination

  6. 6
    IP aims to deliver data to the destination machine, while upper-layer protocols handle delivery to the destination
    _____
    .
    Hint

    This is the program or service that needs the data.

    Answer

    process

  7. 7
    IP makes a
    _____
    effort to deliver datagrams rather than guaranteeing delivery.
    Hint

    This phrase describes an attempt without a guarantee.

    Answer

    best

  8. 8
    IP does not provide end-to-end data reliability, flow control, or
    _____
    .
    Hint

    This service keeps data in the intended order.

    Answer

    sequencing

  9. 9
    IP treats each datagram as an independent entity, unrelated to any other
    _____
    .
    Hint

    Each separately transmitted IP data unit is handled on its own.

    Answer

    Internet datagram

  10. 10
    Because IP does not sequence or reassemble datagrams, it does not guarantee that they arrive in the correct
    _____
    .
    Hint

    This is the arrangement needed to reconstruct the original data.

    Answer

    order

  11. 11
    Unlike protocols that establish a logical circuit, IP does not establish a
    _____
    before sending datagrams.
    Hint

    This would create a dedicated logical path before transmission.

    Answer

    connection

  12. 12
    The RFC defines addressing and
    _____
    as two basic functions of IP.
    Hint

    This function breaks a datagram into smaller pieces when needed.

    Answer

    fragmentation

  13. 13
    The network-layer process of selecting a path for transmission is called
    _____
    .
    Hint

    Routers use this process to move a datagram toward its destination.

    Answer

    routing

  14. 14
    A host or router generally knows how to move a datagram one step closer, not the datagram's entire
    _____
    to its destination.
    Hint

    This is the complete sequence of network segments or routers.

    Answer

    path

  15. 15
    An IPv4 address is
    _____
    bits long.
    Hint

    It consists of four 8-bit portions.

    Answer

    32

  16. 16
    An IPv4 address is divided into a network portion and a
    _____
    portion.
    Hint

    This part distinguishes an individual machine on the network.

    Answer

    host

  17. 17
    Machines on the same network share the same
    _____
    portion of their IP addresses.
    Hint

    This portion identifies the network to which the machines belong.

    Answer

    network

  18. 18
    On the same network, each machine has a different host portion to identify it
    _____
    .
    Hint

    The host portion distinguishes one machine from the others on that network.

    Answer

    uniquely

  19. 19
    In a subnet mask, the bit positions containing 1s identify the
    _____
    portion of an address.
    Hint

    The remaining bit positions identify the host portion.

    Answer

    network

  20. 20
    In the original classful system, class A, B, and C addresses were used for
    _____
    .
    Hint

    These classes were assigned for ordinary unicast machine addressing.

    Answer

    hosts

  21. 21
    In classful addressing, class D was used for
    _____
    addresses.
    Hint

    These addresses identify groups of recipients.

    Answer

    multicast

  22. 22
    In classful addressing, class E was
    _____
    .
    Hint

    It was not assigned for ordinary host or multicast use.

    Answer

    reserved

  23. 23
    The default classful subnet mask for class A is 8 bits, or
    _____
    .
    Hint

    Only the first octet belongs to the network portion by default.

    Answer

    255.0.0.0

  24. 24
    The default classful subnet mask for class B is 16 bits, or
    _____
    .
    Hint

    The first two octets belong to the network portion by default.

    Answer

    255.255.0.0

  25. 25
    The default classful subnet mask for class C is 24 bits, or
    _____
    .
    Hint

    The first three octets belong to the network portion by default.

    Answer

    255.255.255.0

  26. 26
    Classless addressing replaced fixed class-based masks with masks of
    _____
    length.
    Hint

    The network portion can be sized to suit the network's needs.

    Answer

    variable

  27. 27
    Classless inter-domain routing is abbreviated
    _____
    .
    Hint

    The abbreviation names the classless addressing approach.

    Answer

    CIDR

  28. 28
    Using different subnet mask lengths within a network design is known as
    _____
    .
    Hint

    The abbreviation refers to subnet masks whose lengths can vary.

    Answer

    VLSM

  29. 29
    A host typically has a connected route for each network directly attached to one of its
    _____
    .
    Hint

    These are the host's network connection points.

    Answer

    interfaces

  30. 30
    A host's default route is used when the host does not know where else to send a
    _____
    .
    Hint

    The default route provides a next destination for outgoing network data.

    Answer

    packet

  31. 31
    On Windows and Linux, the command used in the content to display a host routing table is
    _____
    .
    Hint

    It is a netstat command with options for numeric routing information.

    Answer

    netstat -rn

  32. 32
    To choose between local delivery and forwarding to a router, a host checks whether the destination is on the
    _____
    network.
    Hint

    If it is, the host can deliver the packet locally at layer 2.

    Answer

    same

  33. 33
    When the destination is on the same network, a host uses direct delivery at
    _____
    .
    Hint

    This is the data link layer.

    Answer

    layer 2

  34. 34
    For local IPv4 delivery, a host can use ARP to learn the destination's
    _____
    address.
    Hint

    This is the hardware address used for delivery on the local link.

    Answer

    MAC

  35. 35
    When a destination is on a different network, a host usually sends the packet to its
    _____
    .
    Hint

    This device forwards traffic toward other networks.

    Answer

    router

  36. 36
    A host decides whether a destination is local by comparing its own IP address and subnet mask with the
    _____
    address.
    Hint

    The host uses the network portions to determine whether both addresses belong to the same network.

    Answer

    destination IP

  37. 37
    When the network portions match, the host treats the destination as being on the
    _____
    network.
    Hint

    In that case, the host sends the packet locally.

    Answer

    same

  38. 38
    When the network portions do not match, the host sends the packet to its
    _____
    rather than delivering it locally.
    Hint

    The host does not ask this device where the destination is; it forwards the packet to it.

    Answer

    router

  39. 39
    The host makes the local-versus-remote routing decision
    _____
    ; it does not ask the router to make that decision.
    Hint

    The host uses its own IP address, subnet mask, and the destination address.

    Answer

    on its own

  40. 40
    In the example, a host at 10.1.1.3 sending to 10.1.1.2 treats the destination as
    _____
    and sends directly to it.
    Hint

    Both addresses are on the illustrated 10.1.1 network.

    Answer

    local

  41. 41
    When the example host sends to 9.10.11.12, it forwards the packet to its
    _____
    because that destination is on a different network.
    Hint

    This is the router that serves as the host's route off the local network.

    Answer

    gateway

  42. 42
    A router first removes the incoming layer 2 frame so that it can process the IP
    _____
    .
    Hint

    This is the network-layer unit carried inside the frame.

    Answer

    datagram

  43. 43
    After extracting the IP datagram, a router examines its destination IP
    _____
    .
    Hint

    This field identifies where the datagram is intended to go.

    Answer

    address

  44. 44
    If an IP packet is addressed to the router itself, the router passes it up its protocol stack to the
    _____
    layer.
    Hint

    This layer is above the network layer.

    Answer

    transport

  45. 45
    If a packet is for a network directly attached to the router, that network is called a
    _____
    network.
    Hint

    The router has a direct interface to this network.

    Answer

    connected

  46. 46
    If a destination is neither the router itself nor on a connected network, the router checks its
    _____
    .
    Hint

    It contains routes that guide forwarding decisions.

    Answer

    routing table

  47. 47
    A router forwards a packet toward its destination by moving it one
    _____
    closer.
    Hint

    This is one step from one router or network point to the next.

    Answer

    hop

  48. 48
    On the Cisco routers described, the command to display the routing table is
    _____
    .
    Hint

    It begins with the words used to display IP routes.

    Answer

    show ip route

  49. 49
    In the routing table notation described, the letter C marks a
    _____
    route.
    Hint

    This route represents a network attached directly to the router.

    Answer

    connected

  50. 50
    Before a router can deliver a packet to a local host whose MAC address is unknown, it sends an
    _____
    request.
    Hint

    This protocol discovers the local link address associated with an IPv4 address.

    Answer

    ARP

  51. 51
    The route represented by all zeros is a router's
    _____
    route.
    Hint

    It is used when no more specific route matches the destination.

    Answer

    default

  52. 52
    A packet that matches the default route is forwarded toward the route's
    _____
    .
    Hint

    This is the next router that can continue forwarding the packet.

    Answer

    next hop

  53. 53
    A router that receives a packet for a connected network can deliver it to the
    _____
    destination on that network.
    Hint

    This is where the packet is ultimately meant to arrive.

    Answer

    final

  54. 54
    The IPv4 header specifies how bits are arranged so hosts and routers can interpret them by following the same
    _____
    .
    Hint

    Shared conventions allow different devices to interpret header fields consistently.

    Answer

    rules

  55. 55
    An IPv4 header is at least
    _____
    bytes long.
    Hint

    The required portion extends through the destination address.

    Answer

    20

  56. 56
    With options included, the IPv4 header can be as long as
    _____
    bytes.
    Hint

    This maximum includes the required header and all possible option space.

    Answer

    60

  57. 57
    The IPv4 header's version field identifies which IP
    _____
    is being used.
    Hint

    The field distinguishes versions such as IPv4 and IPv6.

    Answer

    version

  58. 58
    The IPv4 header length field counts the header in units of
    _____
    -byte words.
    Hint

    One word corresponds to one line of four bytes in the diagram.

    Answer

    4

  59. 59
    A header length value of 5 represents the minimum IPv4 header size of
    _____
    bytes.
    Hint

    Multiply the number of four-byte words by four.

    Answer

    20

  60. 60
    The total length field counts the entire datagram, including the header and the
    _____
    .
    Hint

    This is the payload carried after the header.

    Answer

    data

  61. 61
    The IP header fields used to support fragmentation include the ID, flags, and
    _____
    fields.
    Hint

    This field records where a fragment's data belongs during reassembly.

    Answer

    offset

  62. 62
    The IPv4 time to live field functions as a
    _____
    count.
    Hint

    The field limits how far a datagram can travel through routers.

    Answer

    hop

  63. 63
    When a packet's time to live reaches zero, a router
    _____
    the packet.
    Hint

    The router removes it instead of forwarding it further.

    Answer

    discards

  64. 64
    The IP header's protocol field identifies which
    _____
    -layer protocol should receive the data.
    Hint

    Examples include TCP, UDP, and ICMP.

    Answer

    upper

  65. 65
    The IPv4 header checksum provides rudimentary error checking for changes to the
    _____
    .
    Hint

    It helps detect corruption in fields such as the IP addresses.

    Answer

    header

  66. 66
    The source address field identifies who
    _____
    the packet.
    Hint

    It identifies the packet's origin.

    Answer

    sent

  67. 67
    The destination address field identifies who the packet is
    _____
    .
    Hint

    It specifies the intended recipient.

    Answer

    to

  68. 68
    A router may need to fragment a datagram if it must cross a link whose MTU is
    _____
    than the datagram.
    Hint

    The link cannot carry the whole datagram in one frame.

    Answer

    smaller

  69. 69
    The MTU indicates how much data can be carried in one layer 2
    _____
    .
    Hint

    It is the data link layer unit sent over a particular link.

    Answer

    frame

  70. 70
    A path that includes PPPoE can have an effective MTU of
    _____
    bytes because PPPoE adds an 8-byte header to Ethernet.
    Hint

    Subtract the added header size from a 1500-byte Ethernet MTU.

    Answer

    1492

  71. 71
    A 1500-byte transmission crossing a link with a 1492-byte effective MTU may require
    _____
    .
    Hint

    The oversized datagram may need to be split into smaller pieces.

    Answer

    fragmentation

  72. 72
    VPN encapsulation can cause fragmentation because it adds extra
    _____
    around the original data.
    Hint

    These protocol fields increase the size of the transmitted packet.

    Answer

    headers

  73. 73
    When a datagram is fragmented, each fragment receives its own IP
    _____
    .
    Hint

    Routers and hosts need network-layer information on each transmitted piece.

    Answer

    header

  74. 74
    A fragment may be fragmented again, but the fragments are not reassembled until they reach the
    _____
    host.
    Hint

    Intermediate routers do not collect all the pieces to reconstruct the original datagram.

    Answer

    destination

  75. 75
    One reason intermediate routers do not reassemble fragments is that the datagram may be fragmented
    _____
    later.
    Hint

    A later link might have an even smaller MTU.

    Answer

    again

  76. 76
    Another reason intermediate routers cannot reliably reassemble a datagram is that its fragments may follow different
    _____
    .
    Hint

    Different routers might not see all fragments.

    Answer

    paths

  77. 77
    The identification field lets the destination recognize which fragments belong to the same
    _____
    .
    Hint

    All pieces of one original packet share an identification value.

    Answer

    datagram

  78. 78
    All fragments created from one original datagram carry the same identification
    _____
    .
    Hint

    This shared number allows the destination to group them.

    Answer

    value

  79. 79
    The IPv4 flags field contains a reserved first flag that is not
    _____
    .
    Hint

    The content indicates that this flag has no active purpose.

    Answer

    used

  80. 80
    The DF flag tells routers to
    _____
    fragment the datagram.
    Hint

    The abbreviation means "don't fragment."

    Answer

    not

  81. 81
    If a datagram with DF set cannot cross a link without fragmentation, the router sends an
    _____
    error message to the source.
    Hint

    This protocol reports network errors.

    Answer

    ICMP

  82. 82
    The MF flag indicates that
    _____
    fragments are coming after the current fragment.
    Hint

    Its name expands to "more fragments."

    Answer

    more

  83. 83
    The fragment offset indicates where the fragment's data belongs when the datagram is
    _____
    .
    Hint

    It helps put the data back into its original positions.

    Answer

    reassembled

  84. 84
    The fragment offset is measured in units of
    _____
    bytes.
    Hint

    Divide a byte position by this number to get the encoded offset.

    Answer

    8

  85. 85
    An offset of 50 represents a data position of
    _____
    bytes into the original datagram.
    Hint

    Multiply the offset value by the 8-byte unit size.

    Answer

    400

  86. 86
    The fragment offset field is
    _____
    bits long.
    Hint

    The total length field is 16 bits, three bits wider.

    Answer

    13

  87. 87
    The total length field is
    _____
    bits long.
    Hint

    It has three more bits than the fragment offset field.

    Answer

    16

  88. 88
    For a datagram that is not fragmented, MF is 0 and the offset is
    _____
    .
    Hint

    There are no later fragments, and the data begins at the original start.

    Answer

    0

  89. 89
    For the first fragment, MF is 1 and the offset is
    _____
    .
    Hint

    The first fragment begins at the start of the original data.

    Answer

    0

  90. 90
    For a middle fragment, MF is 1 and the offset is a
    _____
    value.
    Hint

    The fragment does not begin at the start, and more fragments follow.

    Answer

    non-zero

  91. 91
    For the last fragment, MF is 0 and the offset is a
    _____
    value.
    Hint

    No further fragments follow, but this data does not begin at the original start.

    Answer

    non-zero

  92. 92
    To determine the exact order of fragments, the receiver must use their actual
    _____
    values.
    Hint

    Simply knowing that a fragment has a nonzero position is not enough.

    Answer

    offset

  93. 93
    IP options may be present or absent, which is why they are called
    _____
    .
    Hint

    They are not required fields in every datagram.

    Answer

    options

  94. 94
    The End of Option List option marks the end of options and can also serve as
    _____
    .
    Hint

    It can fill unused space in the header.

    Answer

    padding

  95. 95
    The No Operation option can be used as
    _____
    between IP options.
    Hint

    It fills space so the next option can begin at the required position.

    Answer

    padding

  96. 96
    IP options must begin at the
    _____
    of the header rather than starting in the middle of an option boundary.
    Hint

    The content describes starting options from the left side of the header.

    Answer

    beginning

  97. 97
    The Record Route option tracks which
    _____
    a packet passes through.
    Hint

    These network devices forward packets along the route.

    Answer

    routers

  98. 98
    The maximum space available for IP options is
    _____
    bytes.
    Hint

    The required header uses 20 bytes, while the complete header can be 60 bytes.

    Answer

    40

  99. 99
    To find the route a packet takes, the content recommends using the
    _____
    command rather than relying on the limited Record Route option.
    Hint

    This command is used to discover the route through successive routers.

    Answer

    trace route

  100. 100
    Loose source routing requires a packet to pass through specified routers but permits it to pass through
    _____
    routers as well.
    Hint

    The route is not restricted to only the named routers.

    Answer

    other

  101. 101
    Strict source routing requires a packet to pass through the specified routers and
    _____
    other routers.
    Hint

    Unlike loose source routing, this option forbids additional routers.

    Answer

    no

  102. 102
    The Timestamp option can record when a packet crosses
    _____
    .
    Hint

    The option tracks time at network forwarding devices.

    Answer

    routers

  103. 103
    TCP can provide reliability, flow control, and
    _____
    that IP itself does not provide.
    Hint

    This service helps keep data in the correct order.

    Answer

    sequencing

  104. 104
    The protocol used to report network-layer errors is
    _____
    .
    Hint

    It can report problems such as a packet that cannot be fragmented.

    Answer

    ICMP

1 of 104
Question 1 of 104

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent