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

  • 80Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: IP Fundamentals

Which OSI layer does IPv4 operate at, and where does it sit in the TCP/IP stack described?

80 questions

  1. 1

    Which OSI layer does IPv4 operate at, and where does it sit in the TCP/IP stack described?

    1. A

      Layer 2, between the physical and network access layers

    2. B

      Layer 1, below the data link and transport layers

    3. C

      Layer 4, between the network and application layers

    4. D

      Layer 3, between the transport and data link layers

    Correct answer
    D

    Layer 3, between the transport and data link layers

    Explanation

    IPv4 is a network-layer protocol, corresponding to Layer 3 in the OSI model. It accepts data from the transport layer and passes it to the data link layer for delivery.

  2. 2

    What is IPv4's primary delivery goal?

    1. A

      To guarantee that all data reaches its destination in order

    2. B

      To establish a logical circuit before sending data

    3. C

      To deliver data from a source application to a destination application

    4. D

      To deliver data from a source machine to a destination machine

    Correct answer
    D

    To deliver data from a source machine to a destination machine

    Explanation

    IPv4 aims to deliver an Internet datagram from a source to a destination machine. It does not itself deliver the data to a particular application or guarantee ordered delivery.

  3. 3

    A datagram reaches the destination machine, but the network layer must determine which program should receive it. Which layer's protocols handle delivery to that program?

    1. A

      The transport layer

    2. B

      The data link layer

    3. C

      The physical layer

    4. D

      The network layer

    Correct answer
    A

    The transport layer

    Explanation

    IP gets data to the destination machine. Upper-layer protocols, such as transport-layer protocols, handle delivery to the appropriate process or program.

  4. 4

    Which set of services does IP itself not provide?

    1. A

      End-to-end reliability, flow control, and sequencing

    2. B

      Addressing, fragmentation, and forwarding toward destinations

    3. C

      Delivery of datagrams between machines through routers

    4. D

      Source and destination identification in an IP header

    Correct answer
    A

    End-to-end reliability, flow control, and sequencing

    Explanation

    IP does not provide end-to-end data reliability, flow control, or sequencing. These services may be supplied by upper-layer protocols such as TCP.

  5. 5

    What does it mean to describe IP delivery as best effort?

    1. A

      IP retransmits datagrams until the destination confirms receipt

    2. B

      IP guarantees delivery but may change the route taken

    3. C

      IP attempts delivery but does not guarantee success or provide recovery

    4. D

      IP delivers every datagram in order but does not check its contents

    Correct answer
    C

    IP attempts delivery but does not guarantee success or provide recovery

    Explanation

    IP makes a best-effort attempt to deliver datagrams, but it does not guarantee delivery or provide end-to-end recovery if delivery fails.

  6. 6

    How does IP treat separate datagrams sent between the same endpoints?

    1. A

      As a sequence that must be delivered in the original order

    2. B

      As fragments that must be reassembled by every router

    3. C

      As independent entities that are not inherently related to one another

    4. D

      As parts of a connection that must follow one logical circuit

    Correct answer
    C

    As independent entities that are not inherently related to one another

    Explanation

    IP treats each datagram as an independent entity. It does not establish a connection or logical circuit that ensures datagrams travel together or arrive in order.

  7. 7

    A receiver gets several IP datagrams in a different order from the order in which they were sent. Which statement best describes IP's role?

    1. A

      IP automatically reorders them before passing them upward

    2. B

      IP guarantees that this cannot happen on a routed network

    3. C

      IP discards every datagram that arrives out of sequence

    4. D

      IP does not itself guarantee that they will arrive in order

    Correct answer
    D

    IP does not itself guarantee that they will arrive in order

    Explanation

    IP does not provide sequencing or guarantee that datagrams arrive in order. A higher-layer protocol may provide sequencing when needed.

  8. 8

    Which two basic functions are identified for IP in the content?

    1. A

      Sequencing and error recovery

    2. B

      Reliability and flow control

    3. C

      Addressing and fragmentation

    4. D

      Connection setup and circuit switching

    Correct answer
    C

    Addressing and fragmentation

    Explanation

    The two basic IP functions identified are addressing and fragmentation.

  9. 9

    What was the scope of the original IPv4 specification described in the content?

    1. A

      To deliver an Internet datagram from a source to a destination

    2. B

      To guarantee an uninterrupted connection between two hosts

    3. C

      To ensure that all routers use the same physical link technology

    4. D

      To choose which application runs on the destination machine

    Correct answer
    A

    To deliver an Internet datagram from a source to a destination

    Explanation

    The described purpose of IPv4 was limited to delivering an Internet datagram from a source to a destination.

  10. 10

    Which statement correctly describes the relationship between IPv4 and IPv6 in the content?

    1. A

      IPv4 and IPv6 are names for the same protocol version

    2. B

      IPv4 was used before IPv6 became available

    3. C

      IPv6 was the original protocol, and IPv4 replaced it

    4. D

      IPv6 is a transport-layer protocol built into IPv4

    Correct answer
    B

    IPv4 was used before IPv6 became available

    Explanation

    The content describes IPv4 as the original version used before IPv6 became available.

  11. 11

    How long is an IPv4 address?

    1. A

      48 bits

    2. B

      64 bits

    3. C

      32 bits

    4. D

      16 bits

    Correct answer
    C

    32 bits

    Explanation

    IPv4 addresses are 32 bits in length.

  12. 12

    Which two conceptual parts make up an IPv4 address in the addressing model described?

    1. A

      A transport portion and an application portion

    2. B

      A source portion and a checksum portion

    3. C

      A network portion and a host portion

    4. D

      A link portion and a physical portion

    Correct answer
    C

    A network portion and a host portion

    Explanation

    An IPv4 address is divided into a network portion and a host portion, also described as a network number and local address.

  13. 13

    On a given network, what pattern is expected for the network and host portions of addresses?

    1. A

      Both portions must match for every machine on the network

    2. B

      Neither portion is shared or used to distinguish machines

    3. C

      The host portions match, while network portions distinguish machines

    4. D

      The network portions match, while host portions distinguish machines

    Correct answer
    D

    The network portions match, while host portions distinguish machines

    Explanation

    Machines on the same network share the network portion. Each machine has a different host portion to identify it on that network.

  14. 14

    How does a subnet mask identify the network portion of an IPv4 address?

    1. A

      Bits set to 0 mark the network portion; the remaining bits mark the host portion

    2. B

      Bits set to 1 mark the network portion; the remaining bits mark the host portion

    3. C

      The first byte always marks the network portion, regardless of the mask

    4. D

      The mask identifies the host portion but does not identify the network portion

    Correct answer
    B

    Bits set to 1 mark the network portion; the remaining bits mark the host portion

    Explanation

    In a subnet mask, the 1 bits determine the network portion, and the remaining bits determine the host portion.

  15. 15

    In the historical classful scheme described, which classes were used for ordinary host addressing?

    1. A

      Classes C, D, and E

    2. B

      Classes B, D, and E

    3. C

      Classes A, B, and C

    4. D

      Classes A, C, and D

    Correct answer
    C

    Classes A, B, and C

    Explanation

    Classes A, B, and C were used for host addressing. Class D was used for multicast, and Class E was reserved.

  16. 16

    What was the purpose of Class D addresses in the classful scheme described?

    1. A

      They indicated the default route

    2. B

      They were reserved for future use

    3. C

      They were used only for ordinary host addresses

    4. D

      They were used for multicast addresses

    Correct answer
    D

    They were used for multicast addresses

    Explanation

    Class D addresses were used for multicast. Class E addresses were reserved.

  17. 17

    Which mapping of classful address classes to default mask lengths is correct?

    1. A

      Class A: 8 bits; Class B: 24 bits; Class C: 16 bits

    2. B

      Class A: 24 bits; Class B: 8 bits; Class C: 16 bits

    3. C

      Class A: 16 bits; Class B: 24 bits; Class C: 8 bits

    4. D

      Class A: 8 bits; Class B: 16 bits; Class C: 24 bits

    Correct answer
    D

    Class A: 8 bits; Class B: 16 bits; Class C: 24 bits

    Explanation

    The default masks were 8 bits for Class A, 16 bits for Class B, and 24 bits for Class C.

  18. 18

    Which dotted-decimal mask corresponds to the historical 16-bit Class B default mask?

    1. A

      255.255.255.0

    2. B

      255.0.0.0

    3. C

      255.255.0.0

    4. D

      255.255.255.255

    Correct answer
    C

    255.255.0.0

    Explanation

    The Class B default mask was 16 bits, written as 255.255.0.0.

  19. 19

    Why did classless addressing help address a problem with the classful scheme?

    1. A

      It removed the need to use network and host portions in addresses

    2. B

      It eliminated the use of routing tables between networks

    3. C

      It guaranteed every network would have the same number of hosts

    4. D

      It allowed network masks to be chosen more flexibly instead of limiting networks to three default sizes

    Correct answer
    D

    It allowed network masks to be chosen more flexibly instead of limiting networks to three default sizes

    Explanation

    Classful addressing limited networks to default mask sizes of 8, 16, or 24 bits. Classless addressing allowed more flexible mask lengths, helping allocate address space to better match network needs.

  20. 20

    Which terms refer to the classless addressing approach described?

    1. A

      TTL and IHL

    2. B

      ARP and MTU

    3. C

      TCP and ICMP

    4. D

      CIDR and VLSM

    Correct answer
    D

    CIDR and VLSM

    Explanation

    Classless addressing is also called Classless Inter-Domain Routing (CIDR), and the content associates it with variable-length subnet masks (VLSM).

  21. 21

    A network needs a mask length that is not one of the old 8-, 16-, or 24-bit defaults. Which approach permits this?

    1. A

      Classless addressing, because it permits variable-length network masks

    2. B

      Classful addressing, because it selects a default based on the address class

    3. C

      Fragmentation, because it changes the subnet mask in transit

    4. D

      Multicast addressing, because it changes the host portion

    Correct answer
    A

    Classless addressing, because it permits variable-length network masks

    Explanation

    Classless addressing permits network masks of varying lengths, such as 18, 25, or 27 bits, rather than only the old classful defaults.

  22. 22

    What does routing mean in the context of IP?

    1. A

      Assigning a unique MAC address to every host on the Internet

    2. B

      Selecting a path or next step for transmitting a datagram toward its destination

    3. C

      Reassembling all datagrams into a single application message

    4. D

      Choosing which transport protocol receives the datagram

    Correct answer
    B

    Selecting a path or next step for transmitting a datagram toward its destination

    Explanation

    Routing is the network-layer function of selecting a path for transmission. Each routing decision moves the datagram toward its destination.

  23. 23

    What information is used as the basis for IP routing decisions?

    1. A

      Application names

    2. B

      Network-layer addresses

    3. C

      Physical cable types

    4. D

      Transport-layer sequence numbers

    Correct answer
    B

    Network-layer addresses

    Explanation

    Routing occurs based on network-layer addresses, such as IP addresses.

  24. 24

    Why does an individual host or router generally forward a datagram toward its destination rather than determine the entire path?

    1. A

      It typically knows the next step but not the complete path through the network

    2. B

      It knows the path but cannot access its own routing table

    3. C

      It is prohibited from examining the destination IP address

    4. D

      It waits for the destination application to choose the route

    Correct answer
    A

    It typically knows the next step but not the complete path through the network

    Explanation

    An individual host or router does not necessarily know the full path. It makes a local routing decision that moves the datagram one step closer.

  25. 25

    What routing entries does a host commonly have for networks to which it is directly connected?

    1. A

      A route for every remote host on the Internet

    2. B

      A separate route for each application using the host

    3. C

      Only a route for the Internet default gateway

    4. D

      Connected routes for each network reached through its interfaces

    Correct answer
    D

    Connected routes for each network reached through its interfaces

    Explanation

    A host commonly has a connected route for each network to which one of its interfaces is attached.

  26. 26

    What is the usual purpose of a host's default route?

    1. A

      To deliver every packet directly to a host on the local network

    2. B

      To identify which transport protocol should receive each datagram

    3. C

      To provide a next step for destinations not matched by a more specific route

    4. D

      To prevent the host from sending packets through a router

    Correct answer
    C

    To provide a next step for destinations not matched by a more specific route

    Explanation

    A default route tells a host where to send packets when it has no more specific route for their destinations.

  27. 27

    A host determines that a destination is on its own network. What does it do?

    1. A

      Wraps the packet in a new IP header and sends it to an Internet router

    2. B

      Sends the packet to its default router for a routing decision

    3. C

      Sends the packet locally at Layer 2 toward the destination host

    4. D

      Asks the destination host's router to provide a route

    Correct answer
    C

    Sends the packet locally at Layer 2 toward the destination host

    Explanation

    For a destination on the same network, the host sends the packet locally at Layer 2. The content describes this as direct delivery.

  28. 28

    A host determines that a destination is on a different network. What does it usually do next?

    1. A

      Discards the packet because IP cannot cross network boundaries

    2. B

      Waits for the remote host to initiate a connection

    3. C

      Sends the packet directly to the remote host's MAC address

    4. D

      Sends the packet to its router or gateway

    Correct answer
    D

    Sends the packet to its router or gateway

    Explanation

    If the destination is on a different network, the host usually sends the packet to its router, which can forward it onward.

  29. 29

    How does a host decide whether a destination is local or on a different network?

    1. A

      It compares the destination's MAC address with its own MAC address

    2. B

      It checks whether the destination uses the same transport protocol

    3. C

      It compares the destination against its own IP address and subnet mask

    4. D

      It asks its router to compare the two addresses

    Correct answer
    C

    It compares the destination against its own IP address and subnet mask

    Explanation

    The host uses its own IP address and subnet mask to determine the local network, then compares the destination address to that network.

  30. 30

    A host with address 10.1.1.3 wants to send to 10.1.1.2, and both are on the same subnet. What should the sending host do?

    1. A

      Use ARP to obtain the destination host's MAC address and send locally

    2. B

      Use its default route because every IP datagram must pass through a router

    3. C

      Send the datagram to its router and ask it to deliver the packet

    4. D

      Send an ARP request to a remote router for the destination's MAC address

    Correct answer
    A

    Use ARP to obtain the destination host's MAC address and send locally

    Explanation

    Because the destination is on the same network, the host sends directly at Layer 2. It can use ARP to learn the destination host's MAC address.

  31. 31

    A host determines that an IP destination is on a remote network. Which statement describes the host's decision?

    1. A

      It independently decides to forward the packet to its router without asking the router where the destination is

    2. B

      It asks the destination host for the router's address before forwarding

    3. C

      It waits for the router to initiate a connection to the destination

    4. D

      It asks the router to determine whether the destination is local before sending the packet

    Correct answer
    A

    It independently decides to forward the packet to its router without asking the router where the destination is

    Explanation

    The host makes the local-versus-remote decision using its own IP address and subnet mask. If the destination is remote, it sends the packet to its router; it does not ask the router where the host is.

  32. 32

    What does the command netstat -rn show on the Windows and Linux hosts described?

    1. A

      The list of active transport-layer connections only

    2. B

      The host's ARP cache only

    3. C

      The host's routing table

    4. D

      The IP options in the most recent datagram

    Correct answer
    C

    The host's routing table

    Explanation

    The content identifies netstat -rn as a command for viewing a host's routing table on Windows and Linux.

  33. 33

    When a router receives an Ethernet frame carrying an IP datagram, what does it do before making an IP routing decision?

    1. A

      Changes the destination IP address to the next router's address

    2. B

      Reassembles every fragment and then checks the application data

    3. C

      Removes the Layer 2 frame and examines the IP datagram

    4. D

      Passes the Ethernet frame directly to the transport layer

    Correct answer
    C

    Removes the Layer 2 frame and examines the IP datagram

    Explanation

    The router removes the Layer 2 frame, extracts the IP datagram, and examines the destination IP address to make its forwarding decision.

  34. 34

    A router receives a datagram addressed to the router itself. What does it do?

    1. A

      Broadcasts the datagram to every connected network

    2. B

      Forwards the datagram along the route for a connected network

    3. C

      Passes the datagram up its protocol stack

    4. D

      Sends the datagram to its default route

    Correct answer
    C

    Passes the datagram up its protocol stack

    Explanation

    If the packet is addressed to the router itself, the router passes it up its protocol stack rather than forwarding it toward another host.

  35. 35

    A router's routing table contains a connected route for the destination network. What should the router generally do?

    1. A

      Pass the packet to the transport layer on the router

    2. B

      Send the packet to the default route because connected routes are not used

    3. C

      Discard the packet because the destination is not the router itself

    4. D

      Forward the packet out the interface connected to that network

    Correct answer
    D

    Forward the packet out the interface connected to that network

    Explanation

    A connected route indicates that the router is directly attached to the destination network, so it can forward the packet out the appropriate interface.

  36. 36

    A router has no specific route for a destination, but it has a default route. What does it do?

    1. A

      Forwards the packet toward the default route's next hop

    2. B

      Sends an ARP request for the destination host on every interface

    3. C

      Reclassifies the destination as part of a connected network

    4. D

      Passes the packet to the transport layer for route selection

    Correct answer
    A

    Forwards the packet toward the default route's next hop

    Explanation

    A router uses its default route for destinations that do not match a more specific route. The default route provides a next hop toward the destination.

  37. 37

    How is the IPv4 default route represented in the router routing-table example?

    1. A

      As an all-zeros route

    2. B

      As a route marked only with a multicast address

    3. C

      As a route with an all-ones destination

    4. D

      As a route with no next hop or interface

    Correct answer
    A

    As an all-zeros route

    Explanation

    The content describes the all-zeros route as the representation of a default route on a router.

  38. 38

    A router must forward a packet to a host on a directly connected Ethernet network, but it does not have that host's ARP entry. What does it do?

    1. A

      Sends an ARP request for the destination host's address

    2. B

      Reassembles the packet into a new IP datagram

    3. C

      Asks the destination host to send the packet back first

    4. D

      Sends the packet to the default route without checking ARP

    Correct answer
    A

    Sends an ARP request for the destination host's address

    Explanation

    When the router needs to deliver to a host on a connected network and lacks an ARP entry, it sends an ARP request to learn the host's MAC address.

  39. 39

    What does the route code C indicate in the router table example?

    1. A

      A classful address

    2. B

      A default gateway

    3. C

      A confirmed delivery

    4. D

      A connected route

    Correct answer
    D

    A connected route

    Explanation

    In the example, C marks a connected route: a network directly connected to the router.

  40. 40

    What is the minimum and maximum IPv4 header length described?

    1. A

      From 16 bytes to 48 bytes

    2. B

      From 40 bytes to 80 bytes

    3. C

      From 8 bytes to 32 bytes

    4. D

      From 20 bytes to 60 bytes

    Correct answer
    D

    From 20 bytes to 60 bytes

    Explanation

    The IPv4 header is at least 20 bytes and can be up to 60 bytes long.

  41. 41

    Why is an IPv4 header at least 20 bytes long?

    1. A

      The first 20 bytes hold the entire transport-layer payload

    2. B

      The first 20 bytes are added only when fragmentation occurs

    3. C

      The first 20 bytes contain required header fields

    4. D

      The first 20 bytes are reserved for optional fields

    Correct answer
    C

    The first 20 bytes contain required header fields

    Explanation

    The first 20 bytes of the IPv4 header are required. Options are optional and can extend the header beyond 20 bytes.

  42. 42

    What does the IPv4 header's Version field identify?

    1. A

      The number of routers the datagram has crossed

    2. B

      The class of the destination network

    3. C

      The version of the IP protocol being used

    4. D

      The length of the transport-layer payload

    Correct answer
    C

    The version of the IP protocol being used

    Explanation

    The Version field identifies which version of IP is being used, such as IPv4 or IPv6.

  43. 43

    What does the IPv4 header-length field measure?

    1. A

      The payload's length in 8-byte blocks

    2. B

      The number of routers between source and destination

    3. C

      The datagram's total length in 4-byte words

    4. D

      The header's length in 4-byte words

    Correct answer
    D

    The header's length in 4-byte words

    Explanation

    The header-length field specifies the header's length in 4-byte words. A value of 5 corresponds to the minimum 20-byte header.

  44. 44

    If the IPv4 header-length field indicates 5 four-byte words, what does that imply?

    1. A

      The header is 60 bytes long and has the maximum options

    2. B

      The header is 5 bytes long and includes all options

    3. C

      The total datagram is 20 bytes long

    4. D

      The header is 20 bytes long and has no extra options

    Correct answer
    D

    The header is 20 bytes long and has no extra options

    Explanation

    Five 4-byte words equal 20 bytes, which is the minimum IPv4 header length. A larger header length indicates that options are present.

  45. 45

    What does the Total Length field measure?

    1. A

      Only the IP header, excluding all data

    2. B

      Only the data carried after the IP header

    3. C

      The complete IP datagram, including its header and data

    4. D

      The total number of bytes sent across all network links

    Correct answer
    C

    The complete IP datagram, including its header and data

    Explanation

    The Total Length field gives the length of the entire IP datagram, including both the header and the data.

  46. 46

    Which IPv4 header fields are used in fragmentation?

    1. A

      Source Address, Destination Address, and TTL

    2. B

      Type of Service, Total Length, and Protocol

    3. C

      Version, Protocol, and Header Checksum

    4. D

      Identification, Flags, and Fragment Offset

    Correct answer
    D

    Identification, Flags, and Fragment Offset

    Explanation

    The Identification, Flags, and Fragment Offset fields are used to support fragmentation and reassembly.

  47. 47

    What happens to an IPv4 datagram when its TTL reaches zero at a router?

    1. A

      The router discards it

    2. B

      The router sends it directly to the application layer

    3. C

      The router changes it into a fragment

    4. D

      The router resets the TTL and forwards it

    Correct answer
    A

    The router discards it

    Explanation

    TTL is effectively a hop limit. When it reaches zero, the router discards the datagram, helping prevent packets from circulating indefinitely in routing loops.

  48. 48

    Why is a hop limit needed in IP forwarding?

    1. A

      It ensures datagrams follow the same path through every router

    2. B

      It prevents datagrams from circulating forever in a routing loop

    3. C

      It prevents routers from forwarding datagrams to connected networks

    4. D

      It guarantees that every datagram is delivered to its destination

    Correct answer
    B

    It prevents datagrams from circulating forever in a routing loop

    Explanation

    If routing errors create a loop, the hop limit eventually reaches zero and the packet is discarded instead of circulating indefinitely.

  49. 49

    What information does the IPv4 Protocol field provide?

    1. A

      Which physical interface originally transmitted the packet

    2. B

      Which upper-layer protocol should receive the data

    3. C

      Which version of the data link layer carries the packet

    4. D

      Which route the packet followed through the network

    Correct answer
    B

    Which upper-layer protocol should receive the data

    Explanation

    The Protocol field identifies the upper-layer protocol that should receive the data, such as TCP, UDP, or ICMP.

  50. 50

    What is the purpose of the IPv4 header checksum?

    1. A

      To check for errors in the IP header during transit

    2. B

      To encrypt the source and destination addresses

    3. C

      To determine which network interface should forward the packet

    4. D

      To guarantee that the entire payload arrives without errors

    Correct answer
    A

    To check for errors in the IP header during transit

    Explanation

    The header checksum provides error checking for the IP header. If the header is detected as corrupted, the packet is discarded.

  51. 51

    Which statement correctly distinguishes the IPv4 source and destination address fields?

    1. A

      The source field identifies the transport protocol; the destination field identifies the link

    2. B

      The source field identifies who sent the packet; the destination field identifies who it is to

    3. C

      The source field identifies the next router; the destination field identifies the application

    4. D

      The source field identifies the network mask; the destination field identifies the packet length

    Correct answer
    B

    The source field identifies who sent the packet; the destination field identifies who it is to

    Explanation

    The source address identifies the sender of the packet, and the destination address identifies the packet's intended destination.

  52. 52

    Why can an IP datagram need fragmentation while crossing a network?

    1. A

      A link may have a smaller MTU than the datagram's size

    2. B

      The destination host may use a different transport protocol

    3. C

      The datagram may contain more than one application

    4. D

      A router may require every datagram to have the same source address

    Correct answer
    A

    A link may have a smaller MTU than the datagram's size

    Explanation

    If a datagram is too large for a link's MTU, it may need to be broken into smaller fragments to cross that link.

  53. 53

    What does MTU determine in the context described?

    1. A

      How many IP options can appear in a header

    2. B

      How much data can be carried in one Layer 2 frame

    3. C

      How many routers a datagram can cross

    4. D

      How many host addresses a subnet can contain

    Correct answer
    B

    How much data can be carried in one Layer 2 frame

    Explanation

    The MTU indicates how much data can be carried in a Layer 2 frame on a network.

  54. 54

    In the example, how does PPPoE affect the effective MTU on Ethernet?

    1. A

      Its 8-byte PPP header reduces the effective MTU to 1492 bytes

    2. B

      Its 8-byte PPP header increases the effective MTU to 1508 bytes

    3. C

      Its 40-byte VPN header reduces the effective MTU to 1460 bytes

    4. D

      Its 20-byte IP header reduces the effective MTU to 1480 bytes

    Correct answer
    A

    Its 8-byte PPP header reduces the effective MTU to 1492 bytes

    Explanation

    The content says PPPoE adds an 8-byte PPP header to Ethernet, resulting in an effective MTU of 1492 bytes.

  55. 55

    Why might VPN encapsulation cause fragmentation?

    1. A

      VPNs require all packets to use the same fragment offset

    2. B

      Encapsulation adds headers, increasing the packet size that must cross the link

    3. C

      VPNs remove the IP header, making packets too short for Ethernet

    4. D

      Encapsulation changes the destination address to a multicast address

    Correct answer
    B

    Encapsulation adds headers, increasing the packet size that must cross the link

    Explanation

    VPN encapsulation can add substantial header information, sometimes including another IP header, increasing packet size and potentially causing it to exceed a link's MTU.

  56. 56

    What is the purpose of the IP Identification field when a datagram is fragmented?

    1. A

      It identifies the transport protocol carried in each fragment

    2. B

      It indicates the size of the destination network's MTU

    3. C

      It records the order in which routers forwarded the fragments

    4. D

      It helps identify which fragments belong to the same original datagram

    Correct answer
    D

    It helps identify which fragments belong to the same original datagram

    Explanation

    Fragments from the same original datagram use the same Identification value so the destination can recognize which pieces belong together.

  57. 57

    What does the Don't Fragment flag request?

    1. A

      That routers ignore the datagram's MTU requirements

    2. B

      That the datagram not be fragmented

    3. C

      That the destination reassemble the datagram at each hop

    4. D

      That the datagram be fragmented at every router

    Correct answer
    B

    That the datagram not be fragmented

    Explanation

    The Don't Fragment flag indicates that the datagram must not be fragmented.

  58. 58

    What does the More Fragments flag indicate?

    1. A

      Whether the original datagram contained IP options

    2. B

      Whether the datagram has crossed more than one router

    3. C

      Whether additional fragments of the datagram follow this fragment

    4. D

      Whether the router has more entries in its routing table

    Correct answer
    C

    Whether additional fragments of the datagram follow this fragment

    Explanation

    The More Fragments flag indicates whether more fragments are expected. It is set on fragments that are followed by additional fragments.

  59. 59

    What information does the Fragment Offset field provide?

    1. A

      How many total fragments were created

    2. B

      Which router should receive the fragment next

    3. C

      Where the fragment's data belongs when the original datagram is reassembled

    4. D

      How many bytes of IP options the fragment contains

    Correct answer
    C

    Where the fragment's data belongs when the original datagram is reassembled

    Explanation

    The Fragment Offset indicates where the fragment's data belongs in the original datagram during reassembly.

  60. 60

    Why does a fragment offset of 50 correspond to a data position 400 bytes into the original datagram?

    1. A

      The offset is measured in 50-byte units, so it indicates 2500 bytes

    2. B

      The offset is measured in 16-byte units, so 50×16=80050 \times 16 = 80050×16=800 bytes

    3. C

      The offset is measured in 8-byte units, so 50×8=40050 \times 8 = 40050×8=400 bytes

    4. D

      The offset is measured in 4-byte units, so 50×4=20050 \times 4 = 20050×4=200 bytes

    Correct answer
    C

    The offset is measured in 8-byte units, so 50×8=40050 \times 8 = 40050×8=400 bytes

    Explanation

    Fragment offsets use 8-byte units. Therefore, an offset of 50 represents a position of 50×8=40050 \times 8 = 40050×8=400 bytes.

  61. 61

    Why is the fragment offset expressed in 8-byte units?

    1. A

      The offset field is 16 bits while the Total Length field is 13 bits, so using 8-byte units reduces the range

    2. B

      The Identification field can represent only multiples of 8

    3. C

      The offset field is 13 bits while the Total Length field is 16 bits, so using 8-byte units extends the representable range

    4. D

      Every Layer 2 frame must contain exactly 8 bytes of IP data

    Correct answer
    C

    The offset field is 13 bits while the Total Length field is 16 bits, so using 8-byte units extends the representable range

    Explanation

    The Fragment Offset field is 13 bits, while the Total Length field is 16 bits. Measuring offsets in 8-byte units allows the smaller offset field to represent positions across the datagram's range.

  62. 62

    Where does IPv4 fragmentation reassembly occur?

    1. A

      At every router that receives a fragment

    2. B

      At the first router after fragmentation

    3. C

      At the final destination host

    4. D

      At the source host after each router forwards a fragment

    Correct answer
    C

    At the final destination host

    Explanation

    Fragments are reassembled at the final destination host, not by intermediate routers.

  63. 63

    Why do intermediate routers generally not reassemble fragments?

    1. A

      Routers cannot examine IP headers after removing a Layer 2 frame

    2. B

      Fragments do not contain Identification or Offset fields

    3. C

      Fragments may be fragmented again, and different datagrams may follow different paths

    4. D

      Only source hosts are allowed to read destination IP addresses

    Correct answer
    C

    Fragments may be fragmented again, and different datagrams may follow different paths

    Explanation

    Reassembly at an intermediate router would be impractical because the datagrams might be fragmented again later, and packets may travel along different paths. The destination is the point where all fragments are expected to come together.

  64. 64

    Which description correctly identifies a first fragment?

    1. A

      More Fragments is 0, and the offset is nonzero

    2. B

      More Fragments is 0, and the offset is 0

    3. C

      More Fragments is 1, and the offset is nonzero

    4. D

      More Fragments is 1, and the offset is 0

    Correct answer
    D

    More Fragments is 1, and the offset is 0

    Explanation

    The first fragment has an offset of 0. If additional fragments follow it, its More Fragments flag is set to 1.

  65. 65

    Which description correctly identifies a last fragment?

    1. A

      More Fragments is 1, and the offset is nonzero

    2. B

      More Fragments is 0, and the offset is nonzero

    3. C

      More Fragments is 0, and the offset is 0

    4. D

      More Fragments is 1, and the offset is 0

    Correct answer
    B

    More Fragments is 0, and the offset is nonzero

    Explanation

    A last fragment has a nonzero offset because it follows earlier data, and its More Fragments flag is 0 because no further fragments follow.

  66. 66

    How can a receiver determine the order of multiple noninitial fragments?

    1. A

      By comparing their Fragment Offset values

    2. B

      By checking which fragment has the largest Identification value

    3. C

      By comparing the source addresses of the fragments

    4. D

      By using the More Fragments flag alone

    Correct answer
    A

    By comparing their Fragment Offset values

    Explanation

    The offset values identify where each fragment's data belongs. The More Fragments flag alone cannot determine the order of middle fragments.

  67. 67

    If a router cannot forward a datagram because it must be fragmented but the Don't Fragment flag is set, what does it do in the example described?

    1. A

      It sends an ICMP error message back to the sending host

    2. B

      It forwards the datagram unchanged over the smaller-MTU link

    3. C

      It reassembles the datagram and sends it to the transport layer

    4. D

      It fragments the datagram but clears the Identification field

    Correct answer
    A

    It sends an ICMP error message back to the sending host

    Explanation

    When fragmentation is disallowed but needed, the router does not fragment the packet; the content says it sends an ICMP error message back to the sending host.

  68. 68

    What is true of a datagram that has not been fragmented?

    1. A

      Its More Fragments flag is 1 and its offset is 0

    2. B

      Its More Fragments flag is 1 and its offset is nonzero

    3. C

      Its More Fragments flag is 0 and its offset is 0

    4. D

      Its More Fragments flag is 0 and its offset is nonzero

    Correct answer
    C

    Its More Fragments flag is 0 and its offset is 0

    Explanation

    An unfragmented datagram has no additional fragments and begins at offset 0, so both the More Fragments flag and Fragment Offset are 0.

  69. 69

    How does the header of each fragment relate to the original datagram?

    1. A

      Each fragment has its own IP header, and fragments of the same datagram share the Identification value

    2. B

      Every fragment receives a new Identification value so it can be distinguished from its siblings

    3. C

      Only the first fragment has an IP header, and later fragments carry only data

    4. D

      Fragments share one header that routers copy unchanged between links

    Correct answer
    A

    Each fragment has its own IP header, and fragments of the same datagram share the Identification value

    Explanation

    Each fragment is transmitted as a separate datagram with its own IP header. Fragments from the same original datagram share an Identification value.

  70. 70

    What is the maximum amount of space available for IPv4 options?

    1. A

      Up to 8 bytes

    2. B

      Up to 20 bytes

    3. C

      Up to 40 bytes

    4. D

      Up to 60 bytes

    Correct answer
    C

    Up to 40 bytes

    Explanation

    The required IPv4 header is 20 bytes and the maximum header is 60 bytes, leaving up to 40 bytes for options.

  71. 71

    Why are the fields called IP options?

    1. A

      They must be present whenever a datagram crosses a router

    2. B

      They may be present in a datagram, but they are not required

    3. C

      They replace the required fields in the IPv4 header

    4. D

      They are required only when the destination uses TCP

    Correct answer
    B

    They may be present in a datagram, but they are not required

    Explanation

    IP options are optional: they may appear in a datagram, but they are not required.

  72. 72

    What are the End of Option List and No Operation options used for in the content?

    1. A

      Requesting fragmentation and recording the fragment offset

    2. B

      Carrying the transport protocol and verifying payload data

    3. C

      Indicating the end of options and providing padding

    4. D

      Identifying the destination network and choosing a route

    Correct answer
    C

    Indicating the end of options and providing padding

    Explanation

    The End of Option List indicates that options are over and can serve as padding. No Operation can also be used for padding.

  73. 73

    A two-byte IP option ends before the next option can begin on the required boundary. What can be used to fill the space?

    1. A

      More Fragments flags

    2. B

      Source addresses

    3. C

      No Operation options

    4. D

      ARP requests

    Correct answer
    C

    No Operation options

    Explanation

    The content says options must begin at the appropriate boundary rather than in the middle of a word; No Operation options can provide padding to align them.

  74. 74

    What is the purpose of the Record Route IP option?

    1. A

      To reassemble fragments as they reach each router

    2. B

      To prevent a packet from crossing any additional routers

    3. C

      To specify the destination application's port number

    4. D

      To record routers through which the packet passes

    Correct answer
    D

    To record routers through which the packet passes

    Explanation

    Record Route can track the routers that a packet passes through. Its usefulness is limited because the space available for options is small.

  75. 75

    Why is the Record Route option described as rarely used for tracking a packet's full path?

    1. A

      The option is available only for packets on a single local network

    2. B

      Routers are required to remove it before forwarding a packet

    3. C

      The options area is limited to 40 bytes and may not hold the full route

    4. D

      The option can record only the source and destination hosts

    Correct answer
    C

    The options area is limited to 40 bytes and may not hold the full route

    Explanation

    The options area is limited to 40 bytes, which is often not enough to record an entire path. The content mentions traceroute as a common way to investigate a packet's route.

  76. 76

    What does loose source routing request?

    1. A

      The packet must pass through specified routers but may also pass through others

    2. B

      The packet must follow the same path as all other datagrams

    3. C

      The packet must avoid every router listed in the options

    4. D

      The packet must pass through specified routers and no others

    Correct answer
    A

    The packet must pass through specified routers but may also pass through others

    Explanation

    Loose source routing specifies routers that the packet must pass through, while allowing it to pass through other routers as well.

  77. 77

    What does strict source routing request?

    1. A

      The packet must pass through the specified routers and no others

    2. B

      The packet must pass through the specified routers but may use others

    3. C

      The packet must travel only through directly connected networks

    4. D

      The packet must be fragmented before reaching each specified router

    Correct answer
    A

    The packet must pass through the specified routers and no others

    Explanation

    Strict source routing specifies the routers the packet must pass through and allows no other routers along the route.

  78. 78

    What can the IPv4 Timestamp option be used to record?

    1. A

      The time required to reassemble a fragment at each router

    2. B

      The time an application first created its data

    3. C

      The time when a host learned its subnet mask

    4. D

      The times when a packet passes through routers

    Correct answer
    D

    The times when a packet passes through routers

    Explanation

    The Timestamp option can record the time when a packet crosses routers.

  79. 79

    Which protocol is identified as providing reliability, flow control, and sequencing that IP does not provide?

    1. A

      ARP

    2. B

      TCP

    3. C

      ICMP

    4. D

      Ethernet

    Correct answer
    B

    TCP

    Explanation

    TCP is identified as a transport-layer protocol that can provide reliability, flow control, and sequencing.

  80. 80

    Which protocol is identified as being used to report errors?

    1. A

      ARP

    2. B

      TCP

    3. C

      PPPoE

    4. D

      ICMP

    Correct answer
    D

    ICMP

    Explanation

    ICMP is used to report errors, including the error message described when a router cannot forward a datagram because fragmentation is disallowed.

Question 1 of 80
Question 1 of 80

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent