Inter-VLAN Routing
41 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 function of VLANs in a Layer 2 network?

  • To reduce the number of IP addresses needed
  • To simplify network cabling
  • To increase network bandwidth
  • To segment the network into logical groups (correct)

Hosts in different VLANs can communicate directly without a router or Layer 3 switch.

False (B)

What is the fundamental process that enables network traffic to move between different VLANs?

Inter-VLAN routing

In the context of networking, an SVI is a virtual interface configured on a Layer _ switch.

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

Match the inter-VLAN routing options with their descriptions:

<p>Legacy Inter-VLAN routing = Uses a router with multiple physical interfaces; does not scale well. Router-on-a-Stick = Uses one physical interface configured as a trunk link; suitable for small to medium-sized networks. Layer 3 switch with SVIs = Uses virtual interfaces on a Layer 3 switch; most scalable solution.</p> Signup and view all the answers

What is a major limitation of legacy inter-VLAN routing?

<p>It is limited by the number of physical interfaces on the router. (C)</p> Signup and view all the answers

In a router-on-a-stick configuration, multiple physical interfaces are required on the router to route between VLANs

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

In a router-on-a-stick setup, what is the purpose of configuring subinterfaces on the router?

<p>To identify routable VLANs</p> Signup and view all the answers

In a router-on-a-stick configuration, traffic entering the router interface is forwarded to the VLAN _________.

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

Match the component with its function in a router-on-a-stick setup:

<p>Physical Ethernet Interface = Connects to a trunk port on a Layer 2 switch. Subinterfaces = Software-based virtual interfaces configured with IP addresses and VLAN assignments. 802.1Q Trunk = Encapsulates VLAN-tagged traffic for routing.</p> Signup and view all the answers

Which of the following is the modern method for performing inter-VLAN routing?

<p>Layer 3 switch with SVIs (B)</p> Signup and view all the answers

An SVI (Switched Virtual Interface) is a physical interface on a Layer 3 switch.

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

List one primary advantage of using a Layer 3 switch for inter-VLAN routing compared to router-on-a-stick.

<p>Faster performance</p> Signup and view all the answers

To enable inter-VLAN communication on a Layer 3 switch, the ___ command must be configured.

<p>ip routing</p> Signup and view all the answers

Match the term with its description in Layer 3 switching:

<p>SVI = Virtual interface configured on a Layer 3 switch for VLAN routing. Layer 3 switch = Device that operates at both Layer 2 and Layer 3. Routed Port = A Layer 2 port converted to a Layer 3 interface.</p> Signup and view all the answers

In the context of router-on-a-stick, what command is used to configure a subinterface to respond to 802.1Q encapsulated traffic?

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

The subinterface number in a router-on-a-stick configuration must always match the VLAN number.

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

What must be done to the physical interface when all subinterfaces have been created?

<p>Enable the interface</p> Signup and view all the answers

Each router subinterface must be assigned an IP address on a ___ for routing to occur.

<p>unique subnet</p> Signup and view all the answers

Which command is used on a Windows host to verify the current IP configuration?

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

After configuring trunking on the switch and subinterfaces on the router, there is no need to verify connectivity. The connection is guaranteed.

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

Name one command that can be used to verify and troubleshoot router-on-a-stick configurations beyond using the ping command.

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

To verify connectivity between hosts in different VLANs, use the __ command on a host.

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

What must be done to Layer 3 devices in order for VLANs to be reachable by other networks?

<p>They must advertise the routes using static or dynamic routing. (A)</p> Signup and view all the answers

A routed port on a Layer 3 switch is created by enabling the switchport feature on a Layer 2 port.

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

What command is used to convert a Layer 2 port into a Layer 3 interface on a Layer 3 switch?

<p>no switchport</p> Signup and view all the answers

After disabling the switchport feature, the newly created routed port can be configured with an ______ configuration to connect it to a router or Layer 3 switch.

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

What is the first step to configure a Layer 3 switch to route with an external router (R1)?

<p>Configure the routed port (C)</p> Signup and view all the answers

The ip routing command is specific to OSPF configuration and is not needed for static routing.

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

What command can be used to verify routing configuration on a Layer 3 switch?

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

After configuring routing and OSPF (if applicable), use the ___ command to verify reachability between networks.

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

In troubleshooting inter-VLAN routing, what is the initial physical layer check you should perform?

<p>Checking that cables are connected to the correct ports (A)</p> Signup and view all the answers

When a VLAN is deleted, ports assigned to that VLAN automatically become associated with VLAN 1.

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

What command is used to verify the VLAN membership of a port?

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

If a router port is missing from the output of the show interface trunk command, examine the ___ of the port.

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

What is a common indicator of an issue with a switch access port configuration?

<p>The PC has the correct IP configuration but cannot ping its default gateway. (D)</p> Signup and view all the answers

The command show interfaces provides a concise output that is always easy to read and interpret when troubleshooting router-on-a-stick configurations.

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

When troubleshooting router configuration issues, name the command you can use to verify the subinterface status.

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

To limit the amount of show interfaces output when troubleshooting, use ___ command filters, like include, to identify the specific interfaces of interest.

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

(Insanely Difficult) Considering a router-on-a-stick configuration with VLANs 10, 20, and 30, and assuming OSPF is being used for routing, which of the following misconfigurations would prevent devices in VLAN 20 from communicating with devices in VLAN 30, while VLAN 10 can still communicate?

<p>The encapsulation dot1q parameter is missing on the VLAN 30 subinterface. (C)</p> Signup and view all the answers

(Insanely Difficult) An administrator configures HSRP between two Layer 3 switches for inter-VLAN routing. If preempt is not configured, the backup switch will take over even if the primary switch recovers?

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

Flashcards

Inter-VLAN routing

Forwarding network traffic from one VLAN to another.

Inter-VLAN routing options

Legacy, router-on-a-stick, and Layer 3 switch w/ SVIs

Configuring a switch with VLANs

Create/name VLANs, create management interface, configure access ports and configure trunking ports.

Router-on-a-stick subinterface command

Command used to create a subinterface for each VLAN to be routed

Signup and view all the flashcards

Subinterface IP address requirement

Ensures each subinterface uses a unique subnet for routing.

Signup and view all the flashcards

no shutdown command in subinterfaces

Enables the physical interface for subinterfaces to function.

Signup and view all the flashcards

Why use Layer 3 switches over routers?

Hardware-based switching leads to higher packet processing rates.

Signup and view all the flashcards

Troubleshooting Switch Access Ports

Commands to help identify switch access port issues.

Signup and view all the flashcards

Troubleshooting router configuration issues.

Verifies subinterface status.

Signup and view all the flashcards

Troubleshooting Switch Port Issues

A common indicator of this issue is the PC having the correct address configuration (IP Address, Subnet Mask, Default Gateway), but being unable to ping its default gateway.

Signup and view all the flashcards

show interface trunk

Command to verify port connecting to router is configured as trunk link.

Signup and view all the flashcards

Study Notes

  • Module Title: Inter-VLAN Routing
  • Module Objective: Troubleshooting inter-VLAN routing on Layer 3 devices

Inter-VLAN Routing Operation

  • VLANs segment Layer 2 networks, but hosts in different VLANs require a router or Layer 3 switch for communication
  • Inter-VLAN routing forwards network traffic between VLANs
  • Inter-VLAN routing options consist of legacy, router-on-a-stick, and Layer 3 switches using switched virtual interfaces (SVIs)
  • Legacy Inter-VLAN routing uses a router with multiple Ethernet interfaces connected to switch ports in different VLANs
  • Each router interface acts as the default gateway for local hosts on its VLAN subnet
  • Requiring one physical router interface per VLAN limits scalability due to the finite number of router interfaces

Router-on-a-Stick Inter-VLAN Routing

  • Overcomes limitations by using one physical Ethernet interface to route traffic between multiple VLANs
  • A Cisco IOS router Ethernet interface is configured as an 802.1Q trunk and connected to a Layer 2 switch trunk port
  • Router interface is divided into subinterfaces to identify routable VLANs
  • Configured subinterfaces are software-based virtual interfaces, each linked to a single physical Ethernet interface
  • Each subinterface receives an IP address and VLAN assignment, aligning with different corresponding subnets to facilitate logical routing.
  • When VLAN-tagged traffic enters the router interface, it goes to the VLAN subinterface
  • The router decides on the exit interface based on the destination IP network address, adding a new VLAN tag to the frames if needed, before sending them out the physical interface
  • Does not scale beyond 50 VLANs

Inter-VLAN Routing on a Layer 3 Switch

  • Employs Layer 3 switches and SVIs for modern inter-VLAN routing
  • An SVI is a virtual interface configured on a Layer 3 switch
  • A Layer 3 switch operates at both Layer 2 and Layer 3
  • Inter-VLAN SVIs are created like management VLAN interfaces
  • SVIs provide Layer 3 processing for packets sent to/from switch ports in their VLAN
  • Advantages of Layer 3 switches for inter-VLAN routing include greater speed due to hardware-based switching and routing
  • External routing links are not necessary when using Layer 3 switches
  • Layer 2 EtherChannels can be used as trunk links between the switches to increase bandwidth
  • Lowers latency because data does not need to leave the switch to be routed to a different network
  • More commonly deployed in a campus LAN than routers
  • Disadvantage: More expensive

Router-on-a-Stick Inter-VLAN Routing Configuration

  • S1 switch configuration steps are: create/name VLANs, create management interface, configure access ports, configure trunking ports
  • Router-on-a-stick involves creating a subinterface for each VLAN to be routed using the command interface interface_id subinterface_id
  • Match the subinterface number with the VLAN number

Router Subinterface Configuration

  • The two commands to configure each subinterface are:
    • encapsulation dot1q vlan_id [native]: responds to 802.1Q encapsulated traffic from the specified vlan-id
    • ip address ip-address subnet-mask: configures the IPv4 address of the subinterface.
  • The router subinterface must be assigned an IP address on a unique subnet for routing to occur
  • Enable the physical interface with the command no shutdown interface

Router-on-a-Stick Inter VLAN Routing Verification

  • To verify connectivity to a host in another VLAN, use the Ping command
  • To verify the current host IP address use the command prompt ipconfig
  • The following show commands can be used to verify the router-on-a-stick configuration:
    • show ip route
    • show ip interface brief
    • show interfaces
    • show interfaces trunk

Layer 3 Switch Inter-VLAN Routing

  • Enterprise campus LANs use Layer 3 switches to provide inter-VLAN routing
  • A Layer 3 switch can:
    • Route from one VLAN to another using multiple switched virtual interfaces (SVIs).
    • Convert a Layer 2 switchport to a Layer 3 interface, a routed port
  • Create an SVI for each routable VLAN
  • Steps to configure S1 with VLANs and trunking: create VLANs, create the SVI VLAN interfaces, configure access ports, and enable IP routing

Layer 3 Switch Inter-VLAN Routing Verification

  • Testing connectivity between hosts after configuration verifies inter-VLAN routing using a Layer 3 switch
  • Using the ping command from a host to verify connectivity and using the ipconfig Windows host command enables checking current host IP configuration
  • To enable routing on a Layer 3 switch, a routed port must be configured
  • A routed port is created by disabling the switchport feature using the no switchport interface configuration command on a Layer 2 port

Routing Configuration on a Layer 3 Switch

  • Steps to configure a Layer 3 switch to route:
    • Configure the routed port
    • Enable routing, then use the ip routing global config command to enable routing
    • Configure routing using the correct method(Single-Area OSPFv2)
    • Verify routing
    • Verify connectivity.

Common Inter-VLAN Issues

  • Issues are generally related to connectivity problems
  • First look into the physical layer for issues with cabling. Is it in the right port?
    • Missing VLANs
      • Create a VLAN and ensure that it is assigned to the correct VLAN
      • Use the command prompt show vlan [brief]
    • Switch Trunk Port Issues -Ensure trunks are configured correctly and that the port is enabled as a trunk port
      • Use the command prompt show interface trunk
    • Switch Access Port Issues
      • Assign correct VLAN to access port and that it is enabled
      • Use the command prompts show interfaces switchport show running config interface and ipconfig
    • Router Configuration Issues
      • Check router subinterface IPv4 and that it is assigned to the VLAN ID.
      • Use the command prompts show ip interface brief and show interfaces

What was learned

  • Inter-VLAN routing options. Can use legacy, router-on-a-stick, and Layer 3 switch using SVIs.
  • To configure a switch with VLANs and trunking do the following: create and name the VLANs, create the management interface, configure access ports, and configure trunking ports.
  • A subinterface is created using the command prompt: interface interface_id subinterface_id
  • the physical interface must be enabled, with the command prompt: no shutdown interface
  • use Layer 3 switches to provide inter-VLAN routing.
  • SVIs. SVIs are configured using the same interface vlan vlan-id command used to create the management SVI on a Layer 2 switch.
  • create the SVI VLAN interfaces, configure access ports, and enable IP routing - To enable routing on a Layer 3 switch, a routed port must be configured. A routed port is created on a Layer 3 switch by disabling the switchport feature on a Layer 2 port that is connected to another Layer 3 device. The device can be configured with IPv4 to connect to a router or another Layer 3 switch.
  • an inter-VAN configuration may not work. All are related to connectivity issues such as missing VLANs, switch trunk port issues, switch access port issues, and router configuration issues.
  • VLAN, misconfigured switch and router ports. Ensure the connecting router port is not assigned to the correct VLAN. or the trunk.
  • use ping and show interfaces interface-id switchport commands to identify the problem. Verify the subinterface status using the show ip interface brief command.

Studying That Suits You

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

Quiz Team

Related Documents

Description

Learn about troubleshooting inter-VLAN routing on Layer 3 devices. Discover legacy methods, router-on-a-stick, and Layer 3 switches using SVIs. Understand how one physical interface can route traffic between multiple VLANs.

More Like This

VLAN: ROUTING VLAN
11 questions
Inter-VLAN Routing Methods and Configurations
18 questions
Networking Protocols Lab - VLANs and Routing
45 questions
2302-Ch04: Inter-VLAN Routing Explained
25 questions
Use Quizgecko on...
Browser
Browser