Networking Quiz: VLANs and Trunking Configurations
48 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

What happens if two devices in the same VLAN have different subnet addresses?

  • They will not be able to communicate. (correct)
  • They can communicate without issues.
  • They will need to be configured to use the same IP address.
  • They will automatically resolve the address conflict.
  • What is a common issue associated with trunking configurations?

  • Inconsistent switch hardware.
  • Switch CPU overload.
  • Excessive broadcast traffic.
  • Native VLAN mismatches. (correct)
  • Which trunk configuration error results in loss of network connectivity?

  • Trunk mode mismatch. (correct)
  • Allowed VLANs on Trunks error.
  • Incorrect subnet masking.
  • Native VLAN mismatch.
  • What function do layer 2 switches have regarding VLANs?

    <p>They can be configured with a limited number of VLANs.</p> Signup and view all the answers

    What is a primary function of VLANs in a network?

    <p>They enable the implementation of access and security policies.</p> Signup and view all the answers

    Which device is necessary for performing inter-VLAN routing?

    <p>A router or multilayer switch.</p> Signup and view all the answers

    Which statement is TRUE regarding VLANs and broadcast domains?

    <p>Each VLAN is a separate broadcast domain.</p> Signup and view all the answers

    How many VLANs can a Catalyst 2960 Series switch be configured with?

    <p>Over 4,000 VLANs.</p> Signup and view all the answers

    What does a misconfigured list of allowed VLANs on a trunk result in?

    <p>Unexpected traffic or no traffic.</p> Signup and view all the answers

    What is the primary purpose of a Management VLAN?

    <p>To provide access to management capabilities.</p> Signup and view all the answers

    What is the default VLAN for all switch ports until configured otherwise?

    <p>VLAN 1</p> Signup and view all the answers

    What is the primary role of inter-VLAN routing?

    <p>Forwarding traffic from one VLAN to another.</p> Signup and view all the answers

    What is the primary role of a router in a network?

    <p>To move information between different networks</p> Signup and view all the answers

    What role does a VLAN trunk play in a network?

    <p>It carries multiple VLANs across a single physical link.</p> Signup and view all the answers

    Which of the following best defines a Native VLAN?

    <p>The VLAN assigned for untagged traffic.</p> Signup and view all the answers

    How do VLANs primarily improve network performance?

    <p>By reducing the size of broadcast domains</p> Signup and view all the answers

    How do VLANs facilitate security within a network?

    <p>By isolating devices into separate broadcast domains.</p> Signup and view all the answers

    What is typically required for traffic to move between different VLAN segments?

    <p>A Layer 3 routing process</p> Signup and view all the answers

    What is the correct definition of a Data VLAN?

    <p>A VLAN used to carry user-generated traffic.</p> Signup and view all the answers

    Which statement accurately describes the use of VLANs in network design?

    <p>VLANs can simplify support for organizational goals by segmenting networks.</p> Signup and view all the answers

    What advantage does using a Layer 3 switch provide in a VLAN environment?

    <p>It controls traffic flow between network segments.</p> Signup and view all the answers

    What is a characteristic of VLANs when implemented in modern networks?

    <p>VLANs can span metropolitan and wide area networks.</p> Signup and view all the answers

    What does a Layer 2 switch primarily do in contrast to a router?

    <p>It provides access to end devices on the local network.</p> Signup and view all the answers

    What is the primary focus of Lab 7 in the Networks Protocols Lab course?

    <p>Configuring VLANs and managing inter-VLAN routing</p> Signup and view all the answers

    What command is used to assign a port to a specific VLAN in a switch?

    <p>switchport access vlan vlan_id</p> Signup and view all the answers

    What must be done before deleting a VLAN from a switch?

    <p>Reassign all member ports to a different VLAN</p> Signup and view all the answers

    Which command removes VLAN 20 from a switch?

    <p>no vlan 20</p> Signup and view all the answers

    What happens to the VLAN configurations after using the delete flash:vlan.dat command?

    <p>The switch is reset to factory default with no VLAN configurations</p> Signup and view all the answers

    In the 'show vlan brief' command, what information is displayed?

    <p>One line for each VLAN with its name, status, and ports</p> Signup and view all the answers

    What role does the 'show interfaces switchport' command serve in VLAN management?

    <p>It displays the administrative and operational status of switching ports</p> Signup and view all the answers

    How is the VLAN identification number represented in commands?

    <p>As an ASCII code ranging from 1 to 4094</p> Signup and view all the answers

    What command should be used in conjunction with delete flash:vlan.dat to reset a Catalyst switch to factory defaults?

    <p>erase startup-config</p> Signup and view all the answers

    Which inter-VLAN routing method requires multiple physical interfaces on a router?

    <p>Legacy Inter-VLAN Routing</p> Signup and view all the answers

    What is the primary function of the router in the Router-on-a-Stick approach?

    <p>To route traffic between different VLANs using logical subinterfaces</p> Signup and view all the answers

    In Legacy Inter-VLAN Routing, how is a router connected to different VLANs?

    <p>By using multiple physical interfaces, one for each VLAN</p> Signup and view all the answers

    Which statement is true about the switch port configuration in the Router-on-a-Stick method?

    <p>It needs to operate as a trunk port</p> Signup and view all the answers

    What is a requirement for the router interfaces in Legacy Inter-VLAN Routing?

    <p>Each interface must have a unique IP address for the associated VLAN</p> Signup and view all the answers

    In Router-on-a-Stick routing, what does each logical subinterface represent?

    <p>A unique VLAN associated with its IP address</p> Signup and view all the answers

    How does a router perform routing in the Router-on-a-Stick configuration?

    <p>Using VLAN-tagged traffic on a trunk interface</p> Signup and view all the answers

    What must happen for a switch to enable inter-VLAN routing using the Router-on-a-Stick setup?

    <p>The port connected to the router must be set as a trunk port</p> Signup and view all the answers

    What command is used to configure a switch port as a trunk port?

    <p>switchport mode trunk</p> Signup and view all the answers

    Which IP address is assigned to PC1?

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

    What is the purpose of creating subinterfaces on a router?

    <p>To facilitate inter-VLAN routing</p> Signup and view all the answers

    What would happen to a ping from PC1 to PC3 before inter-VLAN routing is configured?

    <p>The ping would fail due to network isolation.</p> Signup and view all the answers

    Which switch command can be used to verify the VLAN configuration?

    <p>show vlan brief</p> Signup and view all the answers

    What is the subnet mask for the IP address assigned to R1’s G0/0.30 interface?

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

    During the initial connectivity test, why does the ping from PC1 to PC3 fail?

    <p>R1 is not configured for inter-VLAN routing.</p> Signup and view all the answers

    Which action should be taken to enable trunking on a switch port?

    <p>Enable the port to accept multiple VLANs.</p> Signup and view all the answers

    Study Notes

    Networking Protocols Lab

    • This lab focuses on networking protocols and VLANs
    • The course is part of computer and networks engineering.

    Course Plan

    • College: Faculty of engineering technology
    • Department: Computer and networks engineering
    • Course Title: Networks protocols lab
    • Course Code: 30106432
    • Credit Hours: 1
    • Prerequisite: 30106431
    • Instructor: Dr. Belal ayyoub
    • Office No.: B17 F4
    • Email: [email protected]
    • Class Times: 17: Tue-WeD 16:18-18:11, 17: SUN-Tue- 10:10-11:11, Thu
    • Week: 8

    Lab 7: VLANs and Inter-VLAN Routing

    • Network performance is crucial for organizational productivity.
    • VLANs improve performance by separating broadcast domains into smaller ones, reducing broadcast traffic.
    • Routers block broadcast traffic at interfaces but have limited LAN interfaces.
    • Access layer switches handle LAN access for devices.
    • A VLAN is like a virtual LAN on a Layer 2 switch, limiting broadcast domains similarly to a Layer 3 device.
    • VLANs are commonly used in switched local area networks but can span MANs and WANs.
    • Layer 3 routing (using routers or Layer 3 switches) enables traffic to move between network segments, including VLAN segments.

    VLAN Definitions

    • VLANs segment networks based on function, project, or application, regardless of physical location.
    • VLANs enable security and access policies based on user groups.
    • A VLAN is a logical partition of a Layer 2 network.

    Types of VLANs

    • Data VLAN: User generated traffic
    • Default VLAN: All switch ports belong to this initially.
    • Native VLAN: Used for untagged traffic.
    • Management VLAN Used for management access.

    Controlling Broadcast Domains with VLANS

    • VLANs limit broadcast frame reach, acting as broadcast domains.
    • Broadcast frames are only forwarded within the VLAN.
    • Unicast and multicast frames are forwarded within their originating VLAN.

    Tagging Ethernet Frames for VLAN Identification

    • Frame tagging adds VLAN identification headers to frames.
    • Tagging allows for multiple VLAN frames to traverse a trunk link.
    • Switches use tags to identify VLAN membership.

    VLANs in a Multi-Switched Environment

    • Several VLANs can coexist.
    • Each VLAN is a broadcast domain.
    • VLANs are isolated and require routers to pass traffic between them.
    • VLANs are created and managed via switches.

    Voice VLAN Tagging

    • Switch ports can be configured to support voice traffic.
    • Voice traffic is tagged with VLAN 150.
    • Voice traffic is prioritized for efficient communication.

    Packet Tracer – Investigating a VLAN Implementation

    • A topology diagram displays network devices and connections.
    • An addressing table lists device details like IP addresses, subnet masks, and default gateways.

    Objectives

    • Observe broadcast traffic (with and without VLANs).
    • Understand network configuration.
    • Answer reflection questions.

    VLAN Ranges on Catalyst Switches

    • Cisco Catalyst 2960/3560 support more than 4000 VLANs.
    • VLAN IDs range from 1 to 1005 (normal range) and 1006-4096 (extended range).

    Deleting VLANs

    • VLANs must be reassigned to other VLANs, first.
    • The no vlan command removes VLAN information from the VLAN.dat file.
    • The erase startup-config command should accompany the deletion of VLAN.dat file for proper restoration.

    Configuring VLANs/Trunks

    • Commands for creating, naming and assigning VLANs, configure trunk ports, and related actions are detailed, as are various options for inter-VLAN routing configurations.

    Inter-VLAN Routing

    • VLANs segment networks, thereby isolating broadcast traffic within their respective domains.
    • Inter-VLAN routing, then, is essential for allowing communication between VLANs.
    • Options include legacy inter-VLAN routing (using routers with multiple physical interfaces), router-on-a-stick, and layer-3 switching using SVIs.

    Router-on-a-Stick

    • It's a technique for using router interfaces to route between VLANs.
    • One physical interface serves multiple VLANs with subinterfaces (one per VLAN).
    • The subinterface carries the IP address of the subnet it represents.

    Configuring Per-Interface Inter-VLAN Routing

    • Configuring routing between VLANs across distinct interfaces.
    • Detailed configuration steps and command examples are included.

    Studying That Suits You

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

    Quiz Team

    Description

    Test your knowledge on VLANs and trunking configurations with this quiz. Explore various functions, common issues, and the roles of devices necessary for inter-VLAN routing. Perfect for networking students looking to solidify their understanding of these crucial concepts.

    More Like This

    Use Quizgecko on...
    Browser
    Browser