Network Basics: VLANs and Routers Quiz
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 is the primary role of a router in a network?

  • To provide network access to end devices
  • To create virtual local area networks (VLANs)
  • To move information between networks (correct)
  • To segment broadcast domains
  • How do VLANs affect broadcast domains?

  • They merge multiple broadcast domains into one
  • They have no impact on broadcast domains
  • They increase the size of broadcast domains
  • They separate large broadcast domains into smaller ones (correct)
  • Which device typically provides access to a LAN?

  • A router
  • An access layer switch (correct)
  • A Layer 3 switch
  • A modem
  • What is required to allow traffic to move between different VLANs?

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

    What is a key advantage of using VLANs in network design?

    <p>They allow segmentation based on various organizational factors</p> Signup and view all the answers

    What might be a limitation of using a traditional router for inter-VLAN routing?

    <p>It can have a limited number of LAN interfaces</p> Signup and view all the answers

    In what scenario are VLANs primarily used?

    <p>Within switched local area networks</p> Signup and view all the answers

    What is the function of a Layer 3 device in relation to VLANs?

    <p>To route traffic between VLAN segments</p> Signup and view all the answers

    What is a key characteristic of VLANs in a Layer 2 network?

    <p>VLANs enable specific access and security policies based on user groupings.</p> Signup and view all the answers

    Which type of VLAN is used primarily for untagged traffic?

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

    What happens when a broadcast frame is sent in a VLAN?

    <p>It is limited to the specific VLAN only.</p> Signup and view all the answers

    Which statement about VLAN trunks is accurate?

    <p>A VLAN trunk supports communication for devices in the same VLAN across different switches.</p> Signup and view all the answers

    In a default configuration, which VLAN do all switch ports belong to?

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

    What is the function of the Management VLAN?

    <p>To access the management capabilities of network devices.</p> Signup and view all the answers

    Which command can be used to view VLAN configurations on a switch?

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

    What role do switches play in the partitioning of VLANs?

    <p>Switches act to isolate the hosts within a VLAN from VLAN awareness.</p> Signup and view all the answers

    Why is it critical for each VLAN to correspond to a unique IP subnet?

    <p>To ensure devices can communicate within the same VLAN</p> Signup and view all the answers

    What is the most common result of a native VLAN mismatch?

    <p>Unintended security risks</p> Signup and view all the answers

    What is the effect of trunk mode mismatches?

    <p>Loss of network connectivity</p> Signup and view all the answers

    What does inter-VLAN routing enable?

    <p>Direct communication between devices on separate VLANs</p> Signup and view all the answers

    Which Layer 2 switch feature is primarily insufficient for handling large VLANs?

    <p>Dynamic routing capability</p> Signup and view all the answers

    What causes unexpected or no traffic to be sent over a trunk?

    <p>Allowed VLANs on Trunks configuration issues</p> Signup and view all the answers

    Which component can be used to perform inter-VLAN routing?

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

    What is the key role of VLANs in a network?

    <p>To segment a switched network into separate broadcast domains</p> Signup and view all the answers

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

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

    What must be done before deleting a VLAN to ensure network stability?

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

    Which command would display a summary of all VLANs on the switch?

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

    What is the effect of using the command 'delete flash:vlan.dat' on the switch?

    <p>It resets the switch to factory settings</p> Signup and view all the answers

    What command would you use to verify if VLAN 20 has been deleted?

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

    What range of VLAN IDs is allowed when using VLAN commands?

    <p>1 to 4094</p> Signup and view all the answers

    What condition must be met before using the command 'erase startup-config'?

    <p>The 'delete flash:vlan.dat' command must be issued first</p> Signup and view all the answers

    Which command provides operational status for a specific switch port?

    <p>show interfaces switchport</p> Signup and view all the answers

    What is the primary purpose of frame tagging in VLANs?

    <p>To identify which VLAN the frame belongs to</p> Signup and view all the answers

    What happens to control traffic sent on the native VLAN?

    <p>It remains untagged and is placed in the native VLAN</p> Signup and view all the answers

    Which VLAN range is supported by Cisco Catalyst 2960 and 3560 Series switches?

    <p>1 to 4,096</p> Signup and view all the answers

    What must be done to properly configure a switch port to be assigned to a VLAN?

    <p>Set the port to access mode</p> Signup and view all the answers

    What is the default native VLAN on Cisco switches?

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

    Which of the following is true about Extended Range VLANs?

    <p>They range from 1,006 to 4,096</p> Signup and view all the answers

    Which command is used to create a VLAN in Cisco IOS?

    <p>vlan vlan-id</p> Signup and view all the answers

    What is the role of trunk links in VLAN configurations?

    <p>To allow multiple VLAN frames to travel between switches</p> Signup and view all the answers

    What command would you use on S1 to display all configured VLANs?

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

    Why are PC1 and PC4 unable to ping each other despite being on the same VLAN?

    <p>Both ports are assigned to VLAN 1 by default.</p> Signup and view all the answers

    Which VLAN has been configured as the native VLAN on S1 for trunking?

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

    What command should you issue on S2 and S3 to confirm trunking is enabled?

    <p>show interface trunk</p> Signup and view all the answers

    To correct a native VLAN mismatch on S2 and S3, which VLAN should be configured?

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

    What is the subnet mask for VLAN 10 devices?

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

    What must be configured on the interfaces G0/1 and G0/2 on S1 for proper trunking?

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

    Which command will you use to verify the native VLAN configuration on S2 and S3 after making changes?

    <p>show interface switchport</p> Signup and view all the answers

    Study Notes

    Networking Protocols Lab - 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: Tuesdays - Wednesdays: 16:00-18:00 ; Sundays - Tuesdays: 10:00-11:00

    Lab 7: VLANs and Inter-VLAN Routing

    • Network Performance: Important factor in organization productivity
    • VLANs (Virtual Local Area Networks): Technologies used to separate large broadcast domains into smaller ones, reducing broadcast traffic. VLANs segment the network
    • Access Layer Switch: Role of providing access to a LAN
    • Layer 2 Switch: VLANs are commonly incorporated into network design for easier network support.
    • Layer 3 Device (e.g. Router): Needed to allow traffic to move between network segments
    • VLAN Definitions: Networks divided by function, project team, or application. Enable implementation of customized access and security policies according to user groups
    • VLAN Example: Third floor IT (10.0.2.0/24), Second floor HR (10.0.3.0/24), First floor Sales (10.0.4.0/24)
    • Types of VLANs:
      • Data VLAN: User-generated traffic
      • Default VLAN: All switch ports until configured
      • Native VLAN: Untagged traffic
      • Management VLAN: Access management capabilities
    • Multi-VLAN coexistence: Multiple VLANs can exist on one switch.
    • VLAN separation: VLANs are mutually isolated, and packets can't travel between them without a router.
    • VLAN implementation: VLANs are implemented using Layer 2 devices, usually switches, to partition broadcast domains.
    • VLANs and Broadcast Domains: VLANs provide smaller broadcast domains, controlling the impact of broadcasts.

    Controlling Broadcast Domains with VLANs

    • Broadcast Frame Control: VLANs confine broadcast frames within a specific VLAN, limiting their impact
    • Unicast and Multicast traffic: These types of network traffic are kept within their originating VLAN
    • VLAN segmentation benefits: Controlling network traffic, increasing efficiency

    VLANs in a Multi-Switched Environment

    • Native VLAN: Default VLAN for untagged traffic. It is important to configure VLAN on those devices so that it works correctly.
    • VLAN Tagging Process of adding a VLAN identification header to a frame
    • VLAN tagging uses: Properly transmits multiple VLAN frames through a trunk link. Enables consistent tagging of frames

    Voice VLAN Tagging

    • Voice VLAN use case: Switch port configured to support voice traffic
    • Voice VLAN prioritisation: Prioritizes voice traffic

    Packet Tracer - Investigating a VLAN Implementation

    • Topology: Diagram or configuration of network devices and their connections (includes addresses)
    • Addressing Table Table that identifies devices, their interfaces, IP addresses, subnet masks and default gateways (e.g. S1, VLAN 99, 172.17.99.31, 255.255.255.0, N/A).

    Objectives

    • Observe Broadcast Traffic in a VLAN implementation, observe broadcast traffic without VLANs
    • Reflection Questions: Detailed questions addressing the implications and configurations of VLANs.

    VLAN Ranges

    • Cisco Catalyst: Supports over 4000 VLANs
    • VLAN Numbers:
      • Normal Range: 1-1005 (including FDDI, and Token Ring)
      • Extended Range: 1006-4094

    VLAN Configuration Commands

    • Global configuration mode: enter global configuration mode e.g. configure terminal
    • Interface configuration mode: enter interface configuration mode interface interface_id
    • Switchport mode access: Sets a port to access mode switchport mode access
    • Switchport access vlan: Assigns the port to a VLAN switchport access vlan vlan_id
    • No vlan vlan-id: Removes VLAN from that network no vlan vlan_id
    • Show vlan brief: Displays VLAN name, status, and associated ports.
    • Show interfaces interface-id: Displays interface information (including VLAN configuration in that interface).
    • Other Commands: Other commands for controlling interfaces depending on required configurations.

    Deleting VLANs

    • Caution: Before deleting a VLAN, ports should be reassigned to a different VLAN first.
    • Deleting stored file: delete flash:vlan.dat
    • Restarting Required after deleting configurations

    VLAN Trunks

    • Trunk Ports: Connect to other switches. Enable communications across different VLANs.
    • IEEE 802.1Q: A popular trunk protocol
    • VLAN Trunk: A point-to-point link that carries more than one VLAN

    Inter-VLAN Routing

    • Routing Device (e.g. Router): Needed to allow traffic from one VLAN to another
    • Legacy Inter-VLAN routing: VLANs are connected to separate physical interfaces on a router; forwarding traffic
    • Router-on-a-Stick: One interface connected to a router acts as a 'trunk', multiple logical interfaces to multiple VLANs
    • Advantages of different types of inter-VLAN Different routing configurations have varying routing performances, use cases and support multiple VLANs

    Addressing Issues

    • IP Subnets: Each VLAN needs its own IP subnet

    Studying That Suits You

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

    Quiz Team

    Description

    Test your knowledge on the roles of routers and VLANs in a network environment. This quiz explores key concepts such as broadcast domains, inter-VLAN routing, and the function of Layer 3 devices. Perfect for students and professionals looking to benchmark their networking skills.

    More Like This

    Use Quizgecko on...
    Browser
    Browser