rti pt lrouting protocols - ipv6 training€¦ · ripng same as ipv4 • based on ripv2 •...

20
R ti P t l Routing Protocols Internal and External Routing 6DEPLOY. IPv6 Deployment and Support

Upload: others

Post on 01-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

R ti P t lRouting ProtocolsInternal and External Routing

6DEPLOY. IPv6 Deployment and Support

Page 2: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Copy RightsThis slide set is the ownership of the 6DEPLOY project via its

partners

The Powerpoint version of this material may be reused and modified only with written authorization

Using part of this material must mention 6DEPLOY courtesy

PDF files are available from www.6deploy.org

Looking for a contact ?• Mail to : [email protected]

b d f

10/28/2010 Routing Protocols 2

• Or [email protected]

Page 3: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

ContributionsMain authors

• Carlos Friaças, FCCN, Portugal• Miguel Baptista, FCCN, Portugal• Pedro Lorga, FCCN, Portugal

ContributorsContributors• Mónica Domingues, FCCN, Portugal• Paulo Ferreira, FCCN, PortugalPaulo Ferreira, FCCN, Portugal

10/28/2010 Routing Protocols 3

Page 4: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

PrerequisitesYou should have followed previously the modules:

• 010-IPv6 Introduction• 020-IPv6 Protocol• 030-IPv6 Addressing

10/28/2010 Routing Protocols 4

Page 5: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Agenda

Gateway Redundancy• VRRP• VRRP

Internal Routing• RIPng• IS-IS• OSPFv3

External Routing• Multiprotocol BGP

10/28/2010 Routing Protocols 5

Page 6: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

VRRPIETF: Version 3

• RFC5798, March 2010Based on VRRPv2 for IPv4• Based on VRRPv2 for IPv4

• Election protocol

Usage of «virtual» addresses• Which are used by/configured on hostsWhich are used by/configured on hosts• One of the existent VRRP routers is elected as

«MASTER»

IPv6 Multicast AddressA i d b IANA FF02 12

10/28/2010 Routing Protocols 6

• Assigned by IANA = FF02::12

Page 7: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

VRRP

Advantage of using VRRP on IPv4:i h il bili d f l h i h i i• Higher-availability default path without requiring

configuration of dynamic routing or router discovery protocols on every end-host.p y

Advantage of using VRRP on IPv6:g g• Quicker switchover to Backup routers than can be

obtained with standard IPv6 Neighbor Discovery mechanisms.mechanisms.

10/28/2010 Routing Protocols 7

Page 8: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

RIPngSame as IPv4

• Based on RIPv2Distance vector max 15 hop split horizon• Distance vector, max. 15 hop, split-horizon, …

It’s an IPv6 only protocolIt s an IPv6 only protocol• In a dual-stack environment, running RIP, you’ll need

RIP (IPv4) and RIPng (IPv6)( ) g ( )

IPv6 related functionalityy• Uses IPv6 for transport• IPv6 prefix, next-hop IPv6 address

F RIP d t lti t dd FF02 910/28/2010 Routing Protocols 8

• For RIP updates, uses multicast address FF02::9

Page 9: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

ISISv6OSI ProtocolOSI ProtocolBased on two levels

• L2 = BackboneL2 = Backbone• L1 = Stub• L2L1= interconnect L2 and L1

R t f CNLSRuns on top of CNLS• Each IS device still sends out LSP (Link State

P k )Packets)

• Send information via TLV’s (T /L th/ l )(Tag/Length/values)

• Neighborship process is unchanged

M j ti i h d10/28/2010 Routing Protocols 9

Major operation remains unchanged

Page 10: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

ISISv6 #2

Updated features:• Two new Tag/Length/Values (TLV) for IPv6

– IPv6 Reachability IP 6 I t f Add– IPv6 Interface Address

• New network Layer IdentifierNew network Layer Identifier– IPv6 NLPID

10/28/2010 Routing Protocols 10

Page 11: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

OSPFv3fOSPFv3 = OSPF for IPv6

Based on OSPFv2

Topology of an area is invisible from p gyoutside the area

• LSA flooding is bounded by area• SPF calculation is performed separately for each

areaAll t h ti t thAll areas must have a connection to the backbone

10/28/2010 Routing Protocols 11

Page 12: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

OSPFv3

OSPFv3 is an IPv6-only protocol• In a dual-stack environment, running OSPF, you’ll need

OSPF 2 (IP 4) d OSPF 3 (IP 6)OSPFv2 (IPv4) and OSPFv3 (IPv6)• Work-in-progress about extensible mechanisms to

enable OSPFv3 with different address families supportenable OSPFv3 with different address families supportUpdated Features

• Runs directly over IPv6• Runs directly over IPv6• Distributes IPv6 prefixes• New LSA typesNew LSA types• Uses Multicast addresses

ALLSPFRouters (FF02::5)

10/28/2010 Routing Protocols 12

ALLDRouters (FF02::6)

Page 13: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Multiprotocol BGPExterior Gateway ProtocolExterior Gateway ProtocolConnect separate routing domains that contain independent routing policies (and AS numbers)g p ( )Carries sequences of AS numbers, indicating path (for each route)Supports the same features and functionality as IPv4 BGPMultiple addresses families: IPv4, IPv6, unicast, multicast

AS YAS X Peering

PeeringPeering

10/28/2010 Routing Protocols 13

AS Z

Page 14: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Multiprotocol BGPBGP4 carries only 3 types of information wich is truly IPv4 specific:

• NLRI in the UPDATE message contains an IPv4 prefix

• NEXT_HOP attribute in the UPDATE message contains an IPv4 address

• BGP ID in AGGREGATOR attribute

10/28/2010 Routing Protocols 14

Page 15: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Multiprotocol BGPRFC 4760 defines multi-protocols extensions for BGP4

• this makes BGP4 available for other network layer protocols (IPv6, MPLS…)

• New BGP4 attributes:MP_REACH_NLRIMP_UNREACH_NLRI

• Protocol Independent NEXT_HOP attribute• Protocol Independent NLRI attribute

10/28/2010 Routing Protocols 15

Page 16: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Conclusions

All major routing protocols have stable IPv6Support, and no major differences with IPv4pp j

In a dual-stack environment, running OSPF,In a dual stack environment, running OSPF, you’ll need OSPFv2 (IPv4) and OSPFv3(IPv6) It may change in a near future(IPv6). It may change in a near future.

In a dual stack environment running RIPIn a dual-stack environment, running RIP, you’ll need RIPv1/RIPv2 (IPv4) and RIPng(IP 6)10/28/2010 Routing Protocols 16

(IPv6)

Page 17: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Questions?

10/28/2010 Routing Protocols 17

Page 18: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Extra Slides

10/28/2010 Routing Protocols 18

Page 19: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Routing (on systems)There is always an IPv4 and an IPv6 routing context in every system.

OS IPv4 IPv6

Cisco (IOS)show ip route show ipv6 route

WinXProute print netsh interface ipv6 show route

Linux/sbin/route /sbin/route –A inet6

10/28/2010 Routing Protocols 19

Page 20: Rti Pt lRouting Protocols - IPv6 Training€¦ · RIPng Same as IPv4 • Based on RIPv2 • Distance vector max 15 hop splitDistance vector, max. 15 hop, split-horizon, … ItIt s’sanIPv6onlyprotocol

Routing Stats (IPv6 vs. IPv4, globally)

(11/09/2008) IPv6 IPv4

ROUTES 1505 281136

AGGREGATED 1400 170595

ROUTES (93,02%) (60,68%)

AUTONOMOUS

SYSTEMS1131 29345

10/28/2010 Routing Protocols 20

SYSTEMSsource: www.cidr-report.org