Networking Concepts Quiz
45 Questions
0 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

Which of the following port numbers is used for SMTP?

  • 25 (correct)
  • 23
  • 22
  • 443
  • What type of protocol is DNS classified as?

  • Neither TCP nor UDP
  • Both UDP and TCP (correct)
  • Only TCP
  • Only UDP
  • Which layer does TCP operate at within the TCP/IP model?

  • Data Link layer
  • Transport layer (correct)
  • Internet layer
  • Application layer
  • What state reflects that a Neighbor Cache entry is neither new nor unreachable but rather has not been used for some time?

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

    In a network, which application uses port number 80?

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

    Which of the following states requires further action to reacquire the neighbor information?

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

    What is the purpose of DHCP in a network?

    <p>Assigning IP addresses dynamically</p> Signup and view all the answers

    What command is used to display the current neighbor cache entries?

    <p>show ipv6 neighbors</p> Signup and view all the answers

    What does the age of '0' in the neighbor cache indicate about an IPv6 address?

    <p>The entry is just added and is still fresh.</p> Signup and view all the answers

    In which state is the neighbor entry marked when it has received a Neighbor Advertisement (NA) after multiple Neighbor Solicitation (NS) requests?

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

    What action is taken when a reach time exceeds the default 30 seconds?

    <p>The entry is marked as Stale.</p> Signup and view all the answers

    What type of debugging is enabled when executing the command 'debug ipv6 nd'?

    <p>ICMP Neighbor Discovery events debugging</p> Signup and view all the answers

    Which of the following actions indicates that the process of re-resolving the address is currently ongoing?

    <p>Delay of 5 seconds</p> Signup and view all the answers

    What is the purpose of the Router Advertisement message in IPv6?

    <p>To advertise the presence of routers on a network</p> Signup and view all the answers

    What does the Prefix Length of /64 signify in the Router Advertisement?

    <p>It indicates the portion of the address used for network identification</p> Signup and view all the answers

    What does VLSM stand for and what is its purpose?

    <p>Variable Length Subnetting Method, for more efficient use of IP addresses</p> Signup and view all the answers

    What is the function of route summarization in networking?

    <p>To represent multiple contiguous routes with a single route</p> Signup and view all the answers

    What is the recommended Hop Limit value for hosts in IPv6?

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

    What is a consequence of having redundant paths in a switched network?

    <p>Potential for Layer 2 loops and network instability</p> Signup and view all the answers

    Which ICMPv6 Option provides the MAC address of the router?

    <p>Source link-layer address</p> Signup and view all the answers

    What does the MTU value of 1500 represent in the Router Advertisement message?

    <p>Maximum Transmission Unit size for the link</p> Signup and view all the answers

    Which issue can result from Layer 2 loops in a network?

    <p>Broadcast storms that flood the network endlessly</p> Signup and view all the answers

    Which protocol is specifically designed to prevent loops in a Layer 2 network?

    <p>Spanning Tree Protocol (STP)</p> Signup and view all the answers

    In the context of IPv4 and IPv6, what does a Neighbor Solicitation message accomplish?

    <p>It queries the MAC address of a target IP address</p> Signup and view all the answers

    What type of address is ff02::1 in IPv6?

    <p>A link-local multicast address for all IPv6 nodes</p> Signup and view all the answers

    What type of spanning tree protocol operates in a switched LAN environment with rapid convergence?

    <p>Rapid Per-VLAN Spanning Tree (Rapid PVST)</p> Signup and view all the answers

    What do the M and O flags in the Router Advertisement indicate?

    <p>Information availability via DHCPv6</p> Signup and view all the answers

    What is a primary goal of implementing the Spanning Tree Protocol (STP)?

    <p>To eliminate single points of failure</p> Signup and view all the answers

    Subnet masks included in updates refer to which type of routing updates?

    <p>Classless routing updates</p> Signup and view all the answers

    What is a key feature of Rapid PVST+?

    <p>It supports multiple VLANs with independent RSTP instances.</p> Signup and view all the answers

    Which of the following port types is unique to Rapid PVST+?

    <p>Alternate port</p> Signup and view all the answers

    How does RSTP handle connectivity issues based on BPDUs?

    <p>By indicating lost connectivity after 3 missed BPDUs.</p> Signup and view all the answers

    What defines an edge port in STP?

    <p>It transitions immediately to the forwarding state.</p> Signup and view all the answers

    What type of connection does the Point-to-Point link utilize?

    <p>Full-duplex connection between switches or devices.</p> Signup and view all the answers

    Which features are incompatible with RSTP switches?

    <p>UplinkFast and BackboneFast</p> Signup and view all the answers

    Which BPDU type is used by RSTP?

    <p>Type 2, version 2</p> Signup and view all the answers

    What command is used to configure a port as an edge port with STP?

    <p>spanning-tree portfast command</p> Signup and view all the answers

    What does the TC bit in a BPDU indicate?

    <p>It indicates a topology change.</p> Signup and view all the answers

    During the STP process, what role does a switch assume upon being powered on?

    <p>It assumes it is the root bridge.</p> Signup and view all the answers

    What does S3 do upon receiving the BPDU from S2?

    <p>It compares its root ID and updates if necessary.</p> Signup and view all the answers

    What is indicated by the Message Age field in a BPDU?

    <p>It shows how long it has been since the last configuration message was sent.</p> Signup and view all the answers

    Why does S1 ignore the BPDU information received from S2?

    <p>S1 has a higher Bridge ID than S2.</p> Signup and view all the answers

    What is the purpose of the Hello Time field in a BPDU?

    <p>It defines the timing for sending BPDUs.</p> Signup and view all the answers

    How does S3 communicate that S2 is the root bridge?

    <p>By sending BPDUs out all ports.</p> Signup and view all the answers

    What does the Port ID indicate in a BPDU?

    <p>The specific port number from which the BPDU was sent.</p> Signup and view all the answers

    Study Notes

    ICMPv6 Neighbor Discovery

    • ICMPv6 Neighbor Discovery defines five different packet types
    • Router Solicitation Message: Used with dynamic address allocation
    • Router Advertisement Message: Used with dynamic address allocation
    • Neighbor Solicitation Message: Used with address resolution (IPv4 ARP)
    • Neighbor Advertisement Message: Used with address resolution (IPv4 ARP)
    • Redirect Message: Similar to ICMPv4 redirect message, used for router-to-device messaging

    ICMPv6 Redirect

    • Similar functionality to ICMPv4 redirect
    • A router informs an originating host of the IP address of a router closer to the destination
    • Unlike IPv4, a router informs an originating host that the destination on a different prefix/network is on the same link

    Router Solicitation and Router Advertisement Messages

    • Router Solicitation: Sent when a device needs IPv6 addressing information
    • Router Advertisement: Sent every 200 seconds or in response to Router Solicitation

    Dynamic Address Allocation in IPv4

    • DHCPv4 Server assigns IP addresses automatically
    • User requests an IPv4 address
    • Server provides the address

    Dynamic Address Allocation in IPv6

    • Stateless Address Autoconfiguration (SLAAC): Devices automatically configure their addresses
    • Stateless DHCPv6: Devices use SLAAC in conjunction with DHCPv6
    • Stateful DHCPv6: Devices rely entirely on DHCPv6 for configuration

    RA Message Options

    • Option 1, 2, or 3: Contained in the router advertisement message that further configures the network
    • Other Configuration ("O" Flag): Configuration settings
    • Managed Configuration ("M" Flag): Configuration settings

    Option 3 and the "A" Flag

    • Autonomous address configuration (A) flag tells hosts to create their own address by combining the prefix in the RA with an interface identifier

    Router Solicitation/Router Advertisement

    • Router Solicitation: Sent when a device needs IPv6 addressing information
    • Router Advertisement: Sent every 200 seconds or in response to Router Solicitation; Sent to all IPv6 devices

    Analyzing the Router Solicitation Message

    • Message sent to all IPv6 routers (FF02::2)
    • Message originated from a device with the link-local address (FE80::50A5:8A35:A5BB:66E1)

    Analyzing the Router Advertisement Message

    • Message sent to all IPv6 devices (FF02::1)

    • Message originated from a device with the link-local address (FE80::1)

    • ICMPv6 Router Advertisement: Sent to all IPv6 devices (FF02::1), containing information about the network

    Neighbor Solicitation and Neighbor Advertisement Messages

    • Neighbor Solicitation: Sent to discover the link-layer address of a specific IPv6 node
    • Neighbor Advertisement: Sent by a node in response to a neighbor solicitation, providing its link-layer address

    Address Resolution: IPv4 and IPv6

    • IPv4 ARP: Uses ARP to resolve IPv4 addresses to MAC addresses
    • IPv6 ICMPv6: Uses Neighbor Solicitation/Advertisement to resolve IPv6 addresses to MAC addresses
    • NS: Multicast messages
    • NS: Solicited node multicast

    Neighbor Solicitation

    • Multicast message sent to discover the Link-Layer address of a specific IPv6 node
    • Solicited node multicast message

    Neighbor Advertisement

    • Sent by a node in response to a neighbor solicitation
    • Contains the link-layer address of the responding node

    ICMPv6 Duplicate Address Detection (DAD)

    • Ensures an IPv6 unicast address is unique on the link
    • A device sends a neighbor solicitation for its own unicast address
    • If no neighbor advertisement is received after a period, the address is assumed unique

    Neighbor Cache

    • Maps IPv6 addresses with Ethernet MAC addresses
    • Similar to ARP Cache for IPv4
    • States: Reachable (packets have been received), Stale (time has elapsed since packet receipt)
    • Additional Transient States: Incomplete, Delay, Probe

    VLSM and CIDR

    • VLSM: Variable Length Subnet Masking - Subnetting a subnet to better use IP addresses
    • CIDR(Classless Inter-Domain Routing): Used to efficiently use scarce IPv4 address space; routes multiple contiguous networks with a single route
    • CIDR uses VLSM to help conserve address space
    • Classful routing updates do not send subnet masks

    Classful and Classless IP Addressing

    • Classful addresses are identified by 1st octet's decimal value
    • Class A addresses start with 0, Class B with 10, Class C with 110
    • The High Order Bits indicate the class of address (e.g., class A = 0, Class B = 10)

    Spanning Tree Protocols

    • Build a simple switched network with redundant links
    • Explains common problems in a redundant switch network
    • STP is a layer 2 protocol helping especially when redundant links are present
    • Layer 2 loops: Mac database instability, broadcast storms, multiple frame transmission

    STP Operation

    • STP creates one logical path through the switch network
    • Blocks redundant paths to prevent loops
    • STP uses BPDUs to communicate between switches and determine the single logical path
    • Port roles: Root port, Designated port, Alternate port, Backup port

    STP Configuration issues

    • Analyzing STP topology: Use show commands to discover layer 2 topology, identify root bridge and confirm layer 2 path
    • Expected topology versus actual topology: Ensure the spanning-tree topology matches the expected topology
    • Overview of STP status: Use the show spanning-tree and show spanning-tree vlan x commands to verify the status
    • Repairing spanning-tree problems: Manually remove redundant links, determine the cause, reinstall cables one at a time to locate the problem

    TCP/IP Transport Layer

    • Multiplexing using ports: Allows receiving hosts to choose the application for which data is destined
    • Error recovery (reliability): Process of numbering and acknowledging data with Sequence and Acknowledgment headers
    • Flow control using windowing: Process using window sizes to protect buffer space and routing devices
    • Connection establishment and termination: Process used to initialize port numbers, Sequence and Acknowledgment fields
    • Ordered data transfer and data segmentation: Continuous stream of bytes segmented for transmission and delivered to processes at the receiving device
    • Different applications (e.g., FTP, SSH, Telnet, SMTP) have corresponding well-known port numbers for communication.

    ICMP/IPv4 and IPv6: Key components of network infrastructure

    Studying That Suits You

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

    Quiz Team

    Related Documents

    ICMPv6 Neighbor Discovery PDF

    Description

    Test your knowledge on essential networking concepts including protocols like SMTP, DNS, and DHCP. This quiz also covers Neighbor Discovery Protocol and TCP/IP model layers. Perfect for networking students and professionals wanting to assess their understanding.

    More Like This

    Understanding Network Protocols Quiz
    12 questions
    Network Protocols and Models Quiz
    24 questions
    Network Protocols and Models Quiz
    61 questions
    TCP/IP Model Quiz
    48 questions

    TCP/IP Model Quiz

    LuckiestErbium avatar
    LuckiestErbium
    Use Quizgecko on...
    Browser
    Browser