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 (D)</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 (A)</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 (A)</p> Signup and view all the answers

    In what scenario are VLANs primarily used?

    <p>Within switched local area networks (D)</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 (B)</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. (D)</p> Signup and view all the answers

    Which type of VLAN is used primarily for untagged traffic?

    <p>Native VLAN (B)</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. (B)</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. (B)</p> Signup and view all the answers

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

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

    What is the function of the Management VLAN?

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

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

    <p>show vlan brief (C)</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. (C)</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 (D)</p> Signup and view all the answers

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

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

    What is the effect of trunk mode mismatches?

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

    What does inter-VLAN routing enable?

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

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

    <p>Dynamic routing capability (B)</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 (C)</p> Signup and view all the answers

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

    <p>A router or multilayer switch (C)</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 (B)</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 (A)</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 (D)</p> Signup and view all the answers

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

    <p>show vlan brief (B)</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 (A)</p> Signup and view all the answers

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

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

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

    <p>1 to 4094 (D)</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 (A)</p> Signup and view all the answers

    Which command provides operational status for a specific switch port?

    <p>show interfaces switchport (A)</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 (A)</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 (C)</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 (C)</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 (B)</p> Signup and view all the answers

    What is the default native VLAN on Cisco switches?

    <p>VLAN 1 (B)</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 (D)</p> Signup and view all the answers

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

    <p>vlan vlan-id (B)</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 (A)</p> Signup and view all the answers

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

    <p>show vlan brief (B)</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. (B)</p> Signup and view all the answers

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

    <p>VLAN 99 (C)</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 (B)</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 (A)</p> Signup and view all the answers

    What is the subnet mask for VLAN 10 devices?

    <p>255.255.255.0 (C)</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 (A)</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 (C)</p> Signup and view all the answers

    Flashcards

    What are VLANs?

    VLANs are used to divide a large network into smaller broadcast domains, improving performance and security.

    How are VLANs created and used?

    VLANs are created on Layer 2 switches and allow you to group devices based on factors such as function, team, or application, regardless of their physical location.

    What is inter-VLAN routing?

    VLANs segment a network, requiring a way for traffic to travel between these segments. This is achieved using a Layer 3 device, like a router or a Layer 3 switch.

    What are LAN interfaces and access layer switches?

    A LAN interface allows devices on a network to connect to the network. An access layer switch typically provides this access, while routers focus on routing information between networks.

    Signup and view all the flashcards

    What are routers' primary function in a network?

    Routers normally have limited LAN interfaces and are primarily designed for routing information between networks, not providing access to individual devices.

    Signup and view all the flashcards

    How do VLANs contribute to network design?

    VLANs are helpful in network design because they create logical network segments, making it easier to manage and control traffic flows within the network.

    Signup and view all the flashcards

    Can VLANs function across different networks?

    VLANs not only work within local networks but also have the ability to span across Metropolitan Area Networks (MANs) and Wide Area Networks (WANs).

    Signup and view all the flashcards

    What is a VLAN trunk?

    A VLAN trunk is a link between network devices that carries traffic from multiple VLANs. This allows VLANs to communicate with each other across different network segments.

    Signup and view all the flashcards

    What is a VLAN?

    A logical partition of a Layer 2 network that allows for the grouping of devices into different broadcast domains, improving security and network management.

    Signup and view all the flashcards

    What is a default VLAN?

    A VLAN that is automatically assigned to all switch ports when a switch is first configured.

    Signup and view all the flashcards

    What is a native VLAN?

    A VLAN used for untagged traffic, meaning frames without VLAN information are assigned to this VLAN.

    Signup and view all the flashcards

    What is a management VLAN?

    A VLAN used to access and manage a switch's configuration and features.

    Signup and view all the flashcards

    What is a data VLAN?

    A type of VLAN that carries user-generated traffic, like data from computers and servers.

    Signup and view all the flashcards

    What is a voice VLAN?

    A VLAN specifically designed for voice traffic, such as IP phones. Usually uses VLAN 150.

    Signup and view all the flashcards

    How do VLANs limit the reach of broadcast frames?

    VLANs help to control the spread of broadcast frames, meaning a broadcast frame sent by a device in a specific VLAN only travels within that VLAN, improving network performance and security.

    Signup and view all the flashcards

    Frame Tagging

    The process of adding a VLAN identification header to a frame, which is used to transmit multiple VLAN frames through a trunk link.

    Signup and view all the flashcards

    IEEE 802.1Q

    A popular protocol that defines the structure of the VLAN tag added to a frame.

    Signup and view all the flashcards

    Native VLAN

    A special VLAN that is used for control traffic, and frames belonging to this VLAN are not tagged.

    Signup and view all the flashcards

    Trunk Link

    A type of network connection that allows multiple VLANs to share the same physical link.

    Signup and view all the flashcards

    Normal Range VLANs

    A range of VLAN numbers between 1 and 1,005, stored in the flash memory of a Cisco Catalyst switch.

    Signup and view all the flashcards

    Extended Range VLANs

    A range of VLAN numbers between 1,006 and 4,096, stored in the running configuration of a Cisco Catalyst switch.

    Signup and view all the flashcards

    vlan vlan-id

    A command used to enter the VLAN configuration mode on a Cisco switch.

    Signup and view all the flashcards

    switchport access vlan vlan-id

    A command used to assign a port to a specific VLAN on a Cisco switch.

    Signup and view all the flashcards

    What is Access Mode?

    A switch port operates in access mode when it is configured to carry traffic for a single VLAN. Devices connected to this port can only communicate with other devices in the same VLAN.

    Signup and view all the flashcards

    What is Trunk Mode?

    A switch port operates in trunk mode when it can carry traffic for multiple VLANs. Trunks allow communication between different VLANs, facilitating network segmentation.

    Signup and view all the flashcards

    What is the Native VLAN?

    The native VLAN is a special VLAN used in trunking. When a trunk link is first established, the native VLAN is used to carry initial traffic before VLAN tagging is established.

    Signup and view all the flashcards

    What is Dynamic Trunking Protocol (DTP)?

    DTP (Dynamic Trunking Protocol) is a protocol used to negotiate trunk links between compatible switches. It automates the process of creating trunk links by exchanging messages between switches to determine if a trunk link is desired.

    Signup and view all the flashcards

    Why is VLAN 99 important?

    The VLAN ID 99 is a special VLAN used to carry initial traffic before other VLAN tags are negotiated. It is often used as the native VLAN for trunk mismatches.

    Signup and view all the flashcards

    Why can't PC1 and PC4 communicate?

    In this scenario, PC1 and PC4 are on the same VLAN (VLAN 10), but they can't communicate because the ports connecting them are in Access Mode and assigned to VLAN 1 by default.

    Signup and view all the flashcards

    How does configuring VLAN trunks solve the communication issue?

    A VLAN trunk allows communication between different VLANs. By configuring ports on the switches in Trunk Mode and configuring the native VLAN, you can enable communication between devices in different VLANs, as long as the communication between the ports is in trunk mode.

    Signup and view all the flashcards

    Access mode for a port

    The "switchport mode access" command configures a port to operate in access mode, enabling it to belong to a specific VLAN.

    Signup and view all the flashcards

    Assigning a VLAN to an access port

    The "switchport access vlan vlan_id" command assigns a specific VLAN to a port operating in access mode.

    Signup and view all the flashcards

    How to delete a VLAN

    The "no vlan vlan-id" command removes a VLAN from the switch's configuration, deleting it from the VLAN database. However, all ports associated with that VLAN must be moved to a different VLAN first.

    Signup and view all the flashcards

    Deleting all VLAN configurations

    The "delete flash:vlan.dat" command completely removes all VLAN configurations from the switch, returning it to its factory default state. This command should be used with caution, as it will erase all VLAN settings.

    Signup and view all the flashcards

    Displaying VLAN information

    The "show vlan brief" command provides a concise summary of each VLAN, including its name, status, and associated ports.

    Signup and view all the flashcards

    Detailed interface information

    The "show interfaces" command displays detailed information about network interfaces. The option "vlan vlan-id" allows you to view information about a specific VLAN.

    Signup and view all the flashcards

    Switch port status information

    The "show switchport" command provides information about the administrative and operational status of a switching port, including port blocking and port protection settings.

    Signup and view all the flashcards

    Displaying information about a specific VLAN

    The "show vlan id vlan-id" command displays information about a specific VLAN, including its name, status, and associated ports.

    Signup and view all the flashcards

    Native VLAN Mismatch

    A configuration where the native VLAN on one switch port doesn't match the native VLAN on another switch port. This leads to security risks and unexpected results.

    Signup and view all the flashcards

    Trunk Mode Mismatch

    When switch ports are in different trunk modes, communication fails. The most common scenario is both ports being set to 'dynamic auto' instead of a compatible mode.

    Signup and view all the flashcards

    Allowed VLANs on Trunks

    The list of VLANs allowed on a trunk doesn't match the actual VLANs being used. This results in traffic issues.

    Signup and view all the flashcards

    What is a Trunk Port?

    A switch port configured to handle traffic from multiple VLANs, allowing connections to different network segments.

    Signup and view all the flashcards

    What is a Native VLAN Mismatch?

    A configuration issue where the native VLAN on one switch port doesn't match the native VLAN on another switch port. This can lead to security vulnerabilities and unexpected network behavior.

    Signup and view all the flashcards

    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