routing protocols chapters 9 & 10 nettech solutions

49
Routing Protocols Chapters 9 & 10 NetTech Solutions

Upload: gilbert-mcdaniel

Post on 29-Jan-2016

238 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Routing Protocols Chapters 9 & 10 NetTech Solutions

Routing Protocols

Chapters 9 & 10

NetTech Solutions

Page 2: Routing Protocols Chapters 9 & 10 NetTech Solutions

What you will learn

• This chapter focuses on dynamic routing protocols.– Distant Vector– OSPF

Page 3: Routing Protocols Chapters 9 & 10 NetTech Solutions

For a Router to Route Data

• A router must know at least– Destination address– Neighbor routers from which it can learn

about remote networks– Possible routes to all remote networks– The best route to each remote network– How to maintain and verify routing

information

Page 4: Routing Protocols Chapters 9 & 10 NetTech Solutions

A Simple Routing Example

Page 5: Routing Protocols Chapters 9 & 10 NetTech Solutions

Autonomous System (AS)

Interior gateway protocols (IGPs)Exterior gateway protocols (EGPs)Border Gateway Protocol (BGP)

Page 6: Routing Protocols Chapters 9 & 10 NetTech Solutions

Routing Flow Tree

Page 7: Routing Protocols Chapters 9 & 10 NetTech Solutions

Administrative Distances

• The Administrative Distance (AD) is used to rate the trustworthiness of routing information received on one router from its neighboring router. (0 to 255)

Page 8: Routing Protocols Chapters 9 & 10 NetTech Solutions

Administrative Distance

Page 9: Routing Protocols Chapters 9 & 10 NetTech Solutions

Classes of Routing Protocols

• Distance Vector– Rip, Rip2, and IGRP

• Link State– OSPF, and IS-IS

• Hybrid– EIGRP

Page 10: Routing Protocols Chapters 9 & 10 NetTech Solutions

Distance Vector Routing

• Routing tables are then updated with all route information gathered from neighbor routers:

Page 11: Routing Protocols Chapters 9 & 10 NetTech Solutions

Converged routing tables

• Three important things:– The remote network number– The interface that the router will use to send

packets to reach that particular network– The hop count, or metric, to the network

Page 12: Routing Protocols Chapters 9 & 10 NetTech Solutions

RIPv1 vs. RIPv2

Page 13: Routing Protocols Chapters 9 & 10 NetTech Solutions

VLSM and Discontiguous Networks

Page 14: Routing Protocols Chapters 9 & 10 NetTech Solutions

Classless network design

Page 15: Routing Protocols Chapters 9 & 10 NetTech Solutions

Discontigous Networks

• Discontiguous networks just won’t work with RIPv1 or IGRP at all.

Page 16: Routing Protocols Chapters 9 & 10 NetTech Solutions

EIGRP

• EIGRP is a classless, enhanced distance-vector protocol that gives us a real edge over another Cisco proprietary protocol, IGRP. That’s basically why it’s called Enhanced IGRP.

• IGRP is an older routing protocol and no longer supported by Cisco.

Page 17: Routing Protocols Chapters 9 & 10 NetTech Solutions

EIGRP Supports

• Support for IP and IPv6• Considered classless• Support for VLSM / Classless Inter-Domain Routing

(CIDR)• Support for summaries and discontiguous networks• Efficient neighbor discovery• Communication via Reliable Transport Protocol (RTP)• Best path selection via Diffusing Update Algorithm

(DUAL)

Page 18: Routing Protocols Chapters 9 & 10 NetTech Solutions

EIGRP

• Creates and Maintains additional tables

Keeps state information about adjacent neighbors

Populated by the neighbor table, and the best path to each remote network is found by running DUAL.

A feasible successor (best)A successor route (think successful!)

Page 19: Routing Protocols Chapters 9 & 10 NetTech Solutions

Border Gateway Protocol (BGP)

Page 20: Routing Protocols Chapters 9 & 10 NetTech Solutions

Link-State Routing Protocols

• Open Shortest Path First (OSPF)– Consists of areas and autonomous

systems– Minimizes routing update traffic– Allows scalability– Supports VLSM/CIDR– Has unlimited hop count– Allows multi-vendor deployment (open

standard)

Page 21: Routing Protocols Chapters 9 & 10 NetTech Solutions

OSPF – RIP Comparison

• Characteristic OSPF RIPv2 RIPv1• Type of protocol Link state Distance vector Distance

vector• Classless support Yes Yes No• VLSM support Yes Yes No• Auto-summarization No Yes Yes• Manual summarization Yes No No• Discontiguous support Yes Yes No• Route propagation Multicast on change Periodic multicast Periodic

broadcast

• Path metric Bandwidth Hops Hops• Hop-count limit None 15 15• Convergence Fast Slow Slow• Peer authentication Yes Yes No• Hierarchical network Yes (using areas) No (flat only) No (flat only)• Updates Event triggered Route table updates Route table

updates

• Route computation Dijkstra Bellman-Ford Bellman-Ford

Page 22: Routing Protocols Chapters 9 & 10 NetTech Solutions

OSPF design example

Page 23: Routing Protocols Chapters 9 & 10 NetTech Solutions

Intermediate System to Intermediate System (IS-IS)

• The difference between IS-IS and OSPF is that IS-IS only uses Connectionless Network Service (CLNS) to provide connectionless delivery of data packets between routers. OSPF uses IP to communicate between routers instead.

Page 24: Routing Protocols Chapters 9 & 10 NetTech Solutions

IS-IS Network Terminology

Page 25: Routing Protocols Chapters 9 & 10 NetTech Solutions

IPv6 Routing Protocols

• Broadcast is eliminated• RIPng

– Still uses multicast to send its updates, too; but in IPv6, it uses FF02::9 for the transport address.

• EIGRPv6– In IPv4 it was 224.0.0.10; in IPv6, it’s FF02::A (A = 10 in

hexadecimal notation).

• OSPFv3– OSPFv3 still uses multicast traffic to send its updates and

acknowledgements, with the addresses FF02::5 for OSPF routers and FF02::6 for OSPF-designated routers.

Page 26: Routing Protocols Chapters 9 & 10 NetTech Solutions

VLANs

Chapter 11

NetTech Solutions

Page 27: Routing Protocols Chapters 9 & 10 NetTech Solutions

Switching and Virtual LANs (VLANs)

• PoE• Spanning tree• VLAN• Trunking• Port mirroring• Port authentication

Page 28: Routing Protocols Chapters 9 & 10 NetTech Solutions

Examples of Switched Networks

Page 29: Routing Protocols Chapters 9 & 10 NetTech Solutions

Bridging vs. LAN Switching

• Bridges are software based, whereas switches are hardware based because they use ASIC chips to help make filtering decisions.

• A switch can be viewed as a multiport bridge.• There can be only one spanning-tree instance per bridge,

whereas switches can have many. (I’m going to tell you all about spanning trees in a bit.)

• Switches have a higher number of ports than most bridges.

• Both bridges and switches forward Layer 2 broadcasts.• Bridges and switches learn MAC addresses by examining

the source address of each frame received.• Both bridges and switches make forwarding decisions

based on Layer 2 addresses.

Page 30: Routing Protocols Chapters 9 & 10 NetTech Solutions

Switching Services

• Unlike bridges, which use software to create and manage a filter table, switches use application-specific integrated circuits (ASICs) to accomplish this.

• Layer 2 switches and bridges are faster than routers because they don’t take up time looking at the Network-layer header information.

• Switches create private, dedicated collision domains and provide independent bandwidth on each port, unlike hubs

Page 31: Routing Protocols Chapters 9 & 10 NetTech Solutions

Three Switch Functions at Layer 2

• Address learning• Forward/filter decisions• Loop avoidance

Page 32: Routing Protocols Chapters 9 & 10 NetTech Solutions

Address learning

Page 33: Routing Protocols Chapters 9 & 10 NetTech Solutions

Forward/Filter Decisions

Page 34: Routing Protocols Chapters 9 & 10 NetTech Solutions

Output of a show MAC address-table command

Switch#sh mac address-table

Vlan Mac Address Type Ports

-------- --------------------- -------- -----

1 0005.dccb.d74b DYNAMIC Fa0/1

1 000a.f467.9e80 DYNAMIC Fa0/3

1 000a.f467.9e8b DYNAMIC Fa0/4

1 000a.f467.9e8c DYNAMIC Fa0/3

1 0010.7b7f.c2b0 DYNAMIC Fa0/3

1 0030.80dc.460b DYNAMIC Fa0/3

1 0030.9492.a5dd DYNAMIC Fa0/1

1 00d0.58ad.05f4 DYNAMIC Fa0/1

Page 35: Routing Protocols Chapters 9 & 10 NetTech Solutions

Loop Avoidance

• Broadcast storm

Page 36: Routing Protocols Chapters 9 & 10 NetTech Solutions

Spanning Tree Protocol (STP)

• DEC created the original version of Spanning Tree Protocol (STP).

• IEEE later created its own version of STP called 802.1D.

• By default, most switches run the IEEE 802.1D version of STP.

• A new industry standard called 802.1w.• STP’s main task is to stop network loops from

occurring on your Layer 2 network (bridges or switches).

Page 37: Routing Protocols Chapters 9 & 10 NetTech Solutions

A switched network with switching loops

Page 38: Routing Protocols Chapters 9 & 10 NetTech Solutions

Spanning-Tree Port States

• Blocking• Listening• Learning• Forwarding• Disabled

Page 39: Routing Protocols Chapters 9 & 10 NetTech Solutions

STP Convergence

• Convergence is what happens when all the ports on bridges and switches have transitioned to either forwarding or blocking modes.

Page 40: Routing Protocols Chapters 9 & 10 NetTech Solutions

Virtual LANs (VLANs)

• Here with a hub every broadcast packet transmitted is seen by every device on the network regardless of whether the device needs to receive that data or not.

Page 41: Routing Protocols Chapters 9 & 10 NetTech Solutions

Virtual LANs (VLANs)

• With a switch the frame is only forwarded out of the port where Host D is located.

Page 42: Routing Protocols Chapters 9 & 10 NetTech Solutions

Physical LANs connected with routers

Page 43: Routing Protocols Chapters 9 & 10 NetTech Solutions

Switches removing the physical boundary

Page 44: Routing Protocols Chapters 9 & 10 NetTech Solutions

VLAN Memberships

• Static VLANs– VLANs are created by a system

administrator who proceeds to assign switch ports to each VLAN.

• Dynamic VLANs– Using intelligent management software, you

can base VLAN assignments on hardware (MAC) addresses, protocols, or even applications that work to create dynamic VLANs.

Page 45: Routing Protocols Chapters 9 & 10 NetTech Solutions

Identifying VLANs

• There are two different types of links in a switched environment: access ports and trunk ports.– Access Ports: An access port belongs to and

carries the traffic of only one VLAN.– Trunk Ports: trunk ports can carry multiple

VLANs at a time.– A trunk link is a 100- or 1000-Mbps point-to-

point link between two switches, between a switch and router, or even between a switch and server, and it carries the traffic of multiple VLANs—from 1 to 4,094 at a time.

Page 46: Routing Protocols Chapters 9 & 10 NetTech Solutions

Access and trunk links in a switched network

Page 47: Routing Protocols Chapters 9 & 10 NetTech Solutions

Inter-Switch Link (ISL)

• Inter-Switch Link (ISL) is a way of explicitly tagging VLAN information onto an Ethernet frame.

• By running ISL, you can interconnect multiple switches and still maintain VLAN information as traffic travels between switches on trunk links.

Page 48: Routing Protocols Chapters 9 & 10 NetTech Solutions

Switching and Network Security

• Port Security/Authentication– Using 802.1x authentication on your

switch

Page 49: Routing Protocols Chapters 9 & 10 NetTech Solutions

Two Additional Advanced Features of Switches

• Power over Ethernet (PoE)• Port Mirroring/Spanning

– Port mirroring, also called Switch Port Analyzer (SPAN), allows you to sniff traffic on a network when using a switch.