Implementing Inter-VLAN Routing

Slides:



Advertisements
Similar presentations
Virtual Trunk Protocol
Advertisements

IPv6 Static Routes Overview.
11: IPv6 Routing Table and Static Routes
IP Routing Static Routing Information management 2 Groep T Leuven – Information department 2/14 The Router Router Interface is a physical.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Inter- VLAN Routing LAN Switching and Wireless – Chapter 6.
RIP V1 W.lilakiatsakun.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Configuring IP ACLs.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 W. Schulte Chapter 5: Inter-VLAN Routing Routing And Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing & Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
Copyright 2002 Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP By Carl Marandola.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—6-1 Implementing Layer 3 High Availability Configuring Layer 3 Redundancy with HSRP.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
Layer 2: Redundancy and High Availability Part 1: General Overview on Assignment 1.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing And Switching.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling Static Routing.
CISCO NETWORKING ACADEMY Chabot College ELEC IP Routing Protocol Highlights.
InterVLAN Routing Design and Implementation. What Routers Do Intelligent, dynamic routing protocols for packet transport Packet filtering capabilities.
Implement Inter-VLAN Routing
© 2002, Cisco Systems, Inc. All rights reserved..
Advantages of Dynamic Routing over Static Routing : Advertise only the directly connected networks. Updates the topology changes dynamically. Administrative.
Chapter review Chapter 5 test.
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
Introduction to Cisco Routers and Switches Willis Kim 8 October 2005.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
E /24 LAN /24LAN – / /8 S0 S /8 Head Office Branch Office E /16.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
1 What Are Access Lists? –Standard –Checks Source address –Generally permits or denies entire protocol suite –Extended –Checks Source and Destination address.
Chapter 6 1 Chap 6 – Implement Inter-VLAN Routing Learning Objectives Explain to the satisfaction of a qualified instructor how network traffic is routed.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs Cisco Networking Academy.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Switching in an Enterprise Network Introducing Routing and Switching in the.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 VLANs LAN Switching and Wireless – Chapter 3.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
ROUTING AND ROUTING TABLES 2 nd semester
DHCP CONFIGURATION Routing & Switching. DHCPV4 OPERATION CONFIGURING A DHCPV4 SERVER A Cisco router running the Cisco IOS software can be configured to.
Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP.
RIP v1– Routing Information Protocol RIP Versions –RIP v1 (original version, Doyle ch 5) –RIP v2 (improved version, Doyle ch 7) Simple distance-vector.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Instructor Materials Chapter 2: Scaling VLANs
InterVLAN Routing 1. InterVLAN Routing 2. Multilayer Switching.
Instructor Materials Chapter 8: DHCP
Chapter 5: Inter-VLAN Routing
Routing and routing tables
© 2002, Cisco Systems, Inc. All rights reserved.
Instructor Materials Chapter 6: VLANs
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Routing and routing tables
Chapter 5: Inter-VLAN Routing
Chapter 2: Scaling VLANs
Inter-VLAN Routing.
Routing and Switching Essentials v6.0
Routing and Switching Essentials v6.0
Chapter 2: Static Routing
Medium-Sized Switched Network Construction
CIT 384: Network Administration
Chapter 2: Scaling VLANs
Configuring Cisco 2650 Router By John Teissonniere Manny Jacome
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

Implementing Inter-VLAN Routing Describing Routing Between VLANs Implementing Inter-VLAN Routing

Inter-VLAN Routing Using an External Router Provide a single trunk link from switch to router. Router physical interface is divided into logical subinterfaces. Each router subinterface acts as gateway for one VLAN.

Router on a Stick Traffic from PC1 enters switch on VLAN 10. Crosses trunk to router, arriving on subinterface FA0/0.10 (VLAN 10). Router determines that route to PC2 is through subinterface FA0/0.20. Crosses trunk to switch, arriving on VLAN 20. Switched to PC2.

External Router Configuration

External Router: Advantages and Disadvantages Works with any switch, since Layer 3 services are not required on the switch. Implementation is simple. The router provides communication between VLANs. Disadvantages: The router is a single point of failure. Single traffic path may become congested. Latency may be introduced as frames leave and reenter the switch chassis multiple times, and the router makes software-based routing decisions.

Routed vs. Switched Campus Architecture When switching was fast and routing was slow, campus networks were switched. Today routing is almost as fast as switching; routing solves Layer 2 loops issues and helps isolated VLANs. Switches require IP addresses.

Switch Virtual Interfaces Routers use interfaces or subinterfaces to interconnect multiple VLANs. Multilayer switches use SVIs for routing between VLANs.

Configuration of Inter-VLAN Routing on a Multilayer Switch Basic tasks: Identify which VLANs require a Layer 3 gateway. Create a VLAN on multilayer switch if it does not already exist. Create an SVI interface for each VLAN. Configure the SVI interface with an IP address. Enable the SVI interface. Enable IP routing on the multilayer switch. Determine whether a dynamic routing protocol is needed. Configure a dynamic routing protocol if needed. Identify any switch ports that require autostate exclude. Configure autostate exclude on identified switch ports.

SVI Configuration Enable IP routing. Configure an SVI for each VLAN. Configure an IP address. Enable the SVI. Configure the routing protocol. switch(config)# ip routing switch(config)# interface vlan10 switch(config-if)# ip address 10.1.10.1 255.255.255.0 switch(config-if)# no shutdown switch(config)# interface vlan20 switch(config-if)# ip address 10.1.20.1 255.255.255.0

SVI autostate exclude Command The line state of an SVI is in the up state when: The VLAN exists and is active in the VLAN database on the switch The VLAN interface exists and is not administratively down At least one Layer 2 (access or trunk) port exists, has a link in the up state on this VLAN, and is in the spanning-tree forwarding state on the VLAN SVI autostate exclude can be used to remove a port from line-state up-and-down calculation. switch(config)# interface fastethernet 0/24 switch(config-if)# switchport auto-state exclude

Routed Ports on a Multilayer Switch Physical switch port with Layer 3 capability Not associated with any VLAN Requires removal of Layer 2 port functionality Configured like a router interface but does not support VLAN subinterfaces Used when a switch has one port per VLAN or subnet only Useful for point-to-point Layer 3 switch links

Configuration of a Routed Interface Enable IP routing. Disable Layer 2 processing on interface. Configure IP address.

Layer 2 EtherChannel vs. Layer 3 EtherChannel Layer 2 EtherChannel bundles access or trunk ports between switches or other devices (e.g., servers). Layer 3 EtherChannel bundles routed ports between switches.

Configuration of Layer 3 EtherChannel The no switchport command is applied both on the physical ports and on the EtherChannel interface.

Verification of SVIs and Routed Interfaces switch# show ip interface fastethernet0/24 FastEthernet0/24 is up, line protocol is up Internet address is 10.1.10.1/24 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Multicast reserved groups joined: 224.0.0.10 Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Local Proxy ARP is disabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP CEF switching is enabled

Routing Protocol Configuration Enable IP routing. Configure routing process. Disable auto-summary. Configure routed networks. Configure active interfaces. Configure summarization.

Verification of Routing Protocol switch# show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 13 subnets, 2 masks D 10.1.3.0/24 [90/28416] via 10.1.10.10, 08:09:49, Vlan10 D 10.1.2.0/24 [90/28416] via 10.1.10.10, 08:09:49, Vlan10 C 10.1.10.0/24 is directly connected, Vlan10

DHCP Service Clients in access VLANs need DHCP service. DHCP service can be provided by the distribution switches, acting as gateways, or external DHCP server elsewhere in the network.

About DHCP Lesson Aim <Enter lesson aim here.>

DHCP Configuration Configure DHCP pool with network, mask, and other parameters. Configure excluded addresses. Pool is selected when DHCP request is received from matching subnet.

DHCP with the ip helper Command Used if the DHCP server is not in the same broadcast domain as the client. Configure ip helper command on the incoming interface to forward DHCP requests via unicast to DHCP server.

Verification of the DHCP Operation switch# show ip dhcp binding Bindings from all pools not associated with VRF: IP address Client-ID/ Lease expiration Type Hardware address/ User name 10.1.10.21 0100.1bd5.132a.d2 Jun 25 2009 06:09 AM Automatic 10.1.10.22 0100.4096.a46a.90 Jun 25 2009 09:40 AM Automatic 10.1.10.23 0100.4096.aa98.95 Jun 25 2009 11:28 AM Automatic switch# debug ip dhcp server packet DHCPD: DHCPDISCOVER received from client 0100.1bd5.132a.d2 on interface Vlan6. DHCPD: Sending DHCPOFFER to client 0100.1bd5.132a.d2 (10.1.10.21). DHCPD: broadcasting BOOTREPLY to client 001b.d513.2ad2. DHCPD: DHCPREQUEST received from client 0100.1bd5.132a.d2. DHCPD: Sending DHCPACK to client 0100.1bd5.132a.d2 (10.1.10.21).

Summary Inter-VLAN communication requires a Layer 3 device; an external router can perform this function. SVI is a virtual interface providing Layer 3 processing for a particular VLAN, similar to what a router interface does. To be active, the SVI number must match an existing VLAN on the local switch. A routed interface has Layer 3 functionality. SVIs and routed interfaces are verified using the same commands. On multilayer switches, you can aggregate Layer 3 links using Layer 3 EtherChannels. Once you have configured a Layer 3 interface, you can enable routing. DHCP functions can be configured with Cisco IOS Software.