Network Layer Quiz Questions
49 Questions
4 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 function of the network layer?

  • Establishes a connection between the sender and receiver
  • Ensures data is delivered reliably to the destination
  • Encrypts data for secure transmission
  • Handles routing and forwarding of packets between devices (correct)
  • Which two protocols are the principal communication protocols at the network layer?

  • ARP and DNS
  • TCP and UDP
  • FTP and HTTP
  • IPv4 and IPv6 (correct)
  • What does "IP is connectionless" mean?

  • IP always sends packets to a specified connection
  • IP sends packets without needing to notify the receiver in advance (correct)
  • IP ensures the packet will be delivered and acknowledged
  • IP requires a pre-established connection before sending packets
  • What is the role of NAT (Network Address Translation) in networking?

    <p>To translate public IP addresses into private IP addresses (A)</p> Signup and view all the answers

    Which field in an IPv4 header identifies the source and destination of the packet?

    <p>Source and Destination IP Address (A)</p> Signup and view all the answers

    What is the maximum size of an IPv6 address?

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

    Which of the following is a significant difference between IPv4 and IPv6 headers?

    <p>IPv6 headers are simpler with fewer fields compared to IPv4 (C)</p> Signup and view all the answers

    What is a key concept of fragmentation in IP transmission?

    <p>IPv6 does not support fragmentation (A)</p> Signup and view all the answers

    Which of the following fields is removed in the IPv6 header compared to IPv4?

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

    What does the "Hop Limit" field in the IPv6 header do?

    <p>Limits the number of hops a packet can take before being discarded (D)</p> Signup and view all the answers

    How does IPv6 address the limitations of IPv4?

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

    Which of the following is a limitation of IPv4?

    <p>It can handle a limited number of IP addresses (B)</p> Signup and view all the answers

    What is a characteristic of the Time to Live (TTL) field in the IPv4 header?

    <p>It determines the maximum number of hops the packet can take (D)</p> Signup and view all the answers

    What is the role of the "Version" field in an IP header?

    <p>It indicates whether the packet is IPv4 or IPv6 (A)</p> Signup and view all the answers

    What is the primary function of a router?

    <p>To forward data packets between networks (C)</p> Signup and view all the answers

    What does the term "IP address" refer to?

    <p>A unique identifier for a device on a network (A)</p> Signup and view all the answers

    Which of the following is a private IP address range?

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

    What is the purpose of a subnet mask?

    <p>To determine which portion of an IP address is the network and which is the host (D)</p> Signup and view all the answers

    Which of the following is true about IPv6 addresses?

    <p>They use hexadecimal notation. (C)</p> Signup and view all the answers

    Which of the following commands is used to view the IP configuration of a device in Windows?

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

    Which of the following statements is true about a subnet mask in an IPv4 network?

    <p>It determines the number of available hosts within a subnet. (C)</p> Signup and view all the answers

    What is the IPv4 address format?

    <p>32 bits, separated by periods (B)</p> Signup and view all the answers

    Which of the following IP addresses is a valid public address?

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

    Which of the following protocols is used for routing between different networks?

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

    Which of the following IP addresses is used for an IPv4 loopback address?

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

    In IPv6, which address is used for the loopback?

    <p>0::1 (C)</p> Signup and view all the answers

    Which command displays the routing table in Windows?

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

    Which of the following describes the role of the default gateway?

    <p>It is responsible for sending packets to remote networks. (B)</p> Signup and view all the answers

    What is the primary purpose of a routing table?

    <p>To determine the best path to forward packets to the destination (D)</p> Signup and view all the answers

    Which of the following statements is true about a host routing table?

    <p>It determines whether packets go to the local network or need to be forwarded to a remote network. (A)</p> Signup and view all the answers

    What happens when a device has no default gateway or an incorrect default gateway?

    <p>The device cannot communicate with any device outside its local network. (B)</p> Signup and view all the answers

    What type of route is automatically added by a router when an interface is active and has an IP address?

    <p>Directly Connected Route (D)</p> Signup and view all the answers

    In the context of routers, what is meant by the term 'hop'?

    <p>The movement of a packet through each router in the network (C)</p> Signup and view all the answers

    Which type of route is used by a router when it has no specific entry in its routing table for a destination address?

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

    Which of the following is true regarding dynamic routing protocols?

    <p>They automatically discover and maintain routes to remote networks. (C)</p> Signup and view all the answers

    True or False: A default gateway must have an IP address in the same range as the local network.

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

    Which of the following is not a type of route in a router's routing table?

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

    True or False: A host only needs a default gateway if it is communicating with devices outside of its local network.

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

    What is the main difference between a static route and a dynamic route?

    <p>Static routes are manually configured; dynamic routes are automatically discovered and maintained. (C)</p> Signup and view all the answers

    True or False: IPv4 headers are simpler and more efficient than IPv6 headers.

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

    What type of route is added to a router's table when a static route is manually configured?

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

    Which of the following is the correct command to view the IPv4 routing table on a Cisco router?

    <p>show ip route (D)</p> Signup and view all the answers

    Which device is considered the 'gateway' for devices on a local network?

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

    True or False: A router's default route is used when there is no match in the routing table for a packet's destination.

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

    Which of the following is a dynamic routing protocol?

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

    True or False: A router uses the routing table to determine the best path for data to travel across the network.

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

    What is the first step a router takes when it receives a packet?

    <p>It examines the packet's destination IP address. (C)</p> Signup and view all the answers

    Which of the following describes a "classful" IP addressing system?

    <p>It does not require subnetting, as the IP Address class determines the size of the subnet. (C)</p> Signup and view all the answers

    What is the purpose of the Address Resolution Protocol (ARP)?

    <p>It resolves an IP address to a MAC address on a local network. (A)</p> Signup and view all the answers

    Study Notes

    Network Layer Quiz Questions and Answers

    • Question 1: The primary function of the network layer is to handle routing and forwarding of packets between devices.

    • Question 2: The principal communication protocols at the network layer are IPv4 and IPv6.

    • Question 3: "IP is connectionless" means IP sends packets without needing to notify the receiver in advance.

    • Question 4: Network Address Translation (NAT) translates public IP addresses into private IP addresses.

    • Question 5: The source and destination IP addresses are identified in the IPv4 header.

    • Question 6: The maximum size of an IPv6 address is 128 bits.

    • Question 7: A key difference between IPv4 and IPv6 headers is that IPv6 headers are simpler with fewer fields compared to IPv4.

    • Question 8: IPv6 does not support fragmentation.

    • Question 9: The Header Checksum field is removed in the IPv6 header compared to the IPv4 header.

    • Question 10: The Hop Limit field in the IPv6 header limits the number of hops a packet can take before being discarded.

    • Question 11: IPv6 addresses limitations of IPv4 by increasing the number of available IP addresses.

    • Question 12: A limitation of IPv4 is that it can handle a limited number of IP addresses.

    • Question 13: The Time to Live (TTL) field in the IPv4 header determines the maximum number of hops the packet can take.

    • Question 14: The maximum size of an IPv4 address is 32 bits.

    • Question 15: The Version field in an IP header indicates whether the packet is IPv4 or IPv6.

    • Question 16: A host routing table contains information about both IPv4 and IPv6 routing, but it is manually configured by the network administrator.

    • Question 17: If a device lacks or has an incorrect default gateway, communication outside the local network is impossible.

    • Question 18: A directly connected route is automatically added to a router's table when an interface becomes active and has an IP address.

    • Question 19: The term "hop" in reference to routers describes the journey a packet takes through each router on its route.

    • Question 20: A default route is used by a router when a specific route isn't pre-programmed.

    • Question 21: Dynamic routing protocols automatically discover and maintain routes to remote networks.

    • Question 22: A default gateway must have an IP address in the same range as the local network.

    • Question 23: A local route is not a type of route (in a routers routing table).

    • Question 24: A host only needs a default gateway if it needs to communicate outside its local network.

    • Question 25: A key difference between static and dynamic routes is that dynamic routes automatically discover and maintain routes, while static routes need to be manually configured.

    • Question 26: IPv6 headers are not simpler than IPv4 headers.

    • Question 27: A static route is added to a router's table when it is manually configured.

    • Question 28: On a Cisco device, entering the command 'show ip route' displays the routing table.

    • Question 29: A router is a gateway device that connects different networks or segments.

    • Question 30: A router's default route is used when it can't find a better route for the destination in the routing table.

    • Question 31: Examples of dynamic routing protocols are RIP, EIGRP, and OSPF.

    • Question 32: A router utilizes a routing table to determine the best route for data across a network.

    • Question 33: A router's first step in processing a packet is examining the packet's destination IP address.

    • Question 34: A classful IP addressing system doesn't require subnetting because the size of the subnet is defined by the class of the IP address.

    • Question 35: The Address Resolution Protocol (ARP) resolves an IP address to a corresponding MAC address on the local network.

    Studying That Suits You

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

    Quiz Team

    Related Documents

    Description

    Test your understanding of the network layer in computer networking with this quiz. Covering key concepts like routing, IP protocols, and differences between IPv4 and IPv6, this quiz is designed for students and professionals alike. Challenge yourself to see how well you know the fundamentals of networking.

    More Like This

    Use Quizgecko on...
    Browser
    Browser