Está en la página 1de 36

Chapter 6: Inter-VLAN Routing

Chapter Objectives

After Successfully completing this chapter, you will be able to:

Explain the purpose of inter-VLAN routing Describe routing support for EX-series switches Describe routing tables and route preferences Configure and monitor static routing Configure and monitor OSPF Configure and monitor VRRP

Agenda: Inter-VLAN Routing Overview of Inter-VLAN Routing Routing Support on EX-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

Overview of Inter-VLAN Routing



Inter-VLAN routing allows Layer 3 communications between individual subnets or VLANs

Typically performed at the distribution layer

Inter-VLAN communication require that interfaces be configured for Layer 3 operation

Protocol family determines layer of operation

Inter-VLAN Routing Example


Use RVIs to allow inter-VLAN communications:

Inter-VLAN Routing Configuration(1 of 2)

Inter-VLAN Routing Configuration(2 of 2)


Associate Layer 3 VLAN interfaces with proper VLANs:

Agenda: Inter-VLAN Routing


Overview of Inter-VLAN Routing Routing Support on Ex-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

EX-series Layer 3 Routing Support EX-series switches support the following Layer 3
unicast forwarding mechanisms and protocols:

Static routing RIP OSPF IS-IS RGP VRRP

Agenda: Inter-VLAN Routing


Overview of Inter-VLAN Routing Routing Support on Ex-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

The Routing Table


Compiles information learned from routing protocols and other routing information sources Selects an active route to each destination Populates the forwarding table EX-series switches use the inter.0 routing table to IPv4 unicast routing

Route Preference
Ranks routes received from different sources Primary criterion for selecting the active route Ranges from 0 to 4,294,967,295 with lower value preferred

Viewing the Route Table


Use show route to display route table contents:

Agenda: Inter-VLAN Routing


Overview of Inter-VLAN Routing Routing Support on Ex-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

Static Routes
Manually configured routes added to route table Defined under [edit routing-options] hierarchy Always require a configured next hop Valid options are IP address, discard, and reject Qualified next-hop option allows independent preference

Static Routing Case Study


Use static routing to provide connectivity among all connected subnets and loopback addresses

Default Route Configuration


Create a default route on S1; use S2 as the next hop

Static Route Configuration


Create Static route on S2; use S1 as the next hop

Monitoring Static Routing

Display the routing table and to confirm reachability

Agenda: Inter-VLAN Routing


Overview of Inter-VLAN Routing Routing Support on Ex-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

OSPF Protocol Overview

OSPF is a link-state routing protocol that: Reliably flood LSAs to distribute link-state information Creates a complete database for the network Uses the SPF algorithm to calculate best paths within a network Uses areas to incorporate hierarchy and allow for scalability

OSPF Routers

OSPF Areas

Sample Single-Area OSPF Topology

Sample Single-Area OSPF Configuration

Monitoring OSPF (1of 3)

Monitoring OSPF (2 of 3)

Monitoring OSPF (3 of 3)

Agenda: Inter-VLAN Routing


Overview of Inter-VLAN Routing Routing Support on Ex-series Switches Routing Table and Route Preferences Static Routing OSPF Virtual Router Redundancy Protocol

What Is VRRP?

VRRP Terminology

VRRP Case Study: Sample Topology

VRRP Case Study: Sample Configuration

VRRP Case Study: Sample Monitoring

Summary

Review Questions

También podría gustarte