Much of the excitement we get out of our work is that we don't really know what we are doing

Similar documents
CCNA2 Chapter 11 Practice

CCNP CISCO CERTIFIED NETWORK PROFESSIONAL LAB MANUAL

Interconnecting Multiple OSPF Areas

OSPF Routing Protocol

Link-State Routing Protocols

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Cisco s OSPF Implementation P1C-107

GregSowell.com. Mikrotik Routing

Monitoring Routing. Monitoring OSPF LSAs. Type 1 CHAPTER

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Cisco Router Configuration Tutorial

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

How to Configure Cisco 2600 Routers

Introduction to Link State Protocols

DYNAMIC MULTIPOINT VPN HUB AND SPOKE INTRODUCTION

Chapter 10 Link-State Routing Protocols

Deploying OSPF for ISPs. OSPF Design. Agenda. Service Providers. SP Architecture. SP Architecture. OSPF Design in SP Networks

ZXR /5200 Series

Route Discovery Protocols

Integrated IS-IS Design and Deployment Guide

The Complete IS-IS Routing Protocol

Using OSPF in an MPLS VPN Environment

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

CCNA 2 v5.0 Routing Protocols Final Exam Answers

How To Configure Some Basic OSPF Routing Scenarios. Introduction. Technical Guide. List of terms

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

IP Routing: ISIS Configuration Guide, Cisco IOS Release 12.4T

Introduction to ISIS. ISP/IXP Workshops

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

OSPF Configuring Multi-Area OSPF

: Interconnecting Cisco Networking Devices Part 2 v1.1

Interconnecting Cisco Network Devices 1 Course, Class Outline

Using the Border Gateway Protocol for Interdomain Routing

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

OSPF Test Suite and Router configuration

Introduction to TCP/IP

How To Understand Bg

- Enhanced Interior Gateway Routing Protocol -

O /27 [110/129] via , 00:00:05, Serial0/0/1

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

IP Routing Configuring RIP, OSPF, BGP, and PBR

Interconnecting Cisco Networking Devices Part 2

Seminar Seite 1 von 10

Cisco 12 CCNA Certification

LAB FOUR Dynamic Routing Protocols

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

Network Configuration Example

Introduction about cisco company and its products (network devices) Tell about cisco offered courses and its salary benefits (ccna ccnp ccie )

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Cisco Configuring Basic MPLS Using OSPF

Router and Routing Basics

Chapter 1 Implement EIGRP operations Chapter 2 Implement multiarea OSPF operations Chapter 4 Implement Cisco IOS routing features...

Interconnecting Cisco Networking Devices, Part 2 Course ICND2 v2.0; 5 Days, Instructor-led

Configuring Ethernet over MPLS

Routing with OSPF. Introduction

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

Network Simulator Lab Study Plan

Working knowledge of TCP/IP protocol Suite IPX/SPX protocols Suite, MCSE or CNE or experienced in supporting a LAN environment.

Networking. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

INTERCONNECTING CISCO NETWORKING DEVICES PART 2 V2.0 (ICND 2)

Cisco IOS MPLS configuration

How To Learn Cisco Cisco Ios And Cisco Vlan

"Charting the Course...

Layer 3 Routing User s Manual

Angelos Stavrou. OF COURSE there is no Magic so lets see show things work in practice...

- Route Filtering and Route-Maps -

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

: Interconnecting Cisco Networking Devices Part 2 v2.0 (ICND2)

Configuring a Gateway of Last Resort Using IP Commands

EIGRP Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-141

APNIC elearning: BGP Attributes

CCIE R&S Lab Workbook Volume I Version 5.0

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

IP Routing in a Single Area OSPF Network

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

BGP Configuration Guide

Sample Configuration Using the ip nat outside source list C

CCT vs. CCENT Skill Set Comparison

Sample Configuration Using the ip nat outside source static

During this lab time you will configure the routing protocol OSPF with IPv4 addresses.

Chapter 2 Lab 2-2, EIGRP Load Balancing

Course Contents CCNP (CISco certified network professional)

How To Configure A Cisco Router With A Cio Router

Configuring Route Maps and Policy-Based Routing

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Configuring a Basic MPLS VPN

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Overview of Routing between Virtual LANs

Understanding Virtual Router and Virtual Systems

Configure ISDN Backup and VPN Connection

Chapter 2 - The TCP/IP and OSI Networking Models

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

BGP Link Bandwidth. Finding Feature Information. Contents

- Asynchronous Transfer Mode -

Transcription:

Configuring OSPF Cisco Style Part 7 (C) Herbert Haas 2005/03/11 Much of the excitement we get out of our work is that we don't really know what we are doing E. Dijkstra 1

Basic Verifications Verify what stage an interface running OSPF is in with the commands: show ip ospf neighbor debug ip ospf adjacency Router#debug ip ospf packet OSPF: rcv. v:2 t:1 l:48 rid:200.0.0.116 aid:0.0.0.0 chk:0 aut:2 keyid:1 seq:0x0 v = OSPF version, t = packet type (1: Hello, 2: DDP, 3: LS-Request, 4: LS-Update, 5: LS-Ack) l = length in bytes, rid = Router ID, aid = Area ID, chk = checksum, aut = authentication type auk = authentication key, keyid = MD5 key, seq =sequence number 3 DR Election DR election is determined by either the highest IP address or the priority: (config-if)# ip ospf priority [0-255] The higher the better The value of 0 means that the router cannot be a DR or BDR; otherwise, the higher the priority, the more favorable the chances are of winning the election. 4 2

NBMA The Problem Non-Broadcast Multi-Access networks Frame Relay, X.25, ATM Layer 3: One IP subnet, broadcast defined Layer 2: No broadcast defined () DR must act as reflector (next hop) 5 Four Different Options IP-Subnet Neighbour Discovery DR/BDR RFC/Cisco Logical View Broadcast Same Automatic Yes Cisco LAN NBMA Same Manual Yes RFC LAN Point2Multipoint Same Automatic No RFC Hub & Spoke Point2Multipoint Non Broadcast Same Manual No Cisco Hub & Spoke 6 3

Option Broadcast Optimal flooding via DR No per VC costing Requires full mesh all the time Good if your NBMA cloud has rerouting capabilities 7 Option NBMA Very similar to broadcast model Flooding the same as the broadcast model Requires more configuration because neighbors need to be defined Slower convergence 8 4

Option Point-to-Point Each VC is like a regular point -topoint interface Per VC costing Faster convergence Partial mesh allowed Flooding is a problem 9 Option Point-to-Multipoint One IP address for the cloud No per VC costing available (for now) Sub optimal flooding Maintains host routes for every router in the cloud 10 5

Which Model To Choose? If rerouting at layer 2 is not an issue or your cloud is capable of rerouting, use broadcast model for large mesh Otherwise use point -to-point; it is more robust 11 Mesh Groups Normal interface (do normal flooding) Blocked (never send LSPs over this interface) Part of a mesh group When LSP is received on non -meshgroup interface, flood it out over all interfaces (meshgroup or not) If LSP is received on a meshgroup interface, flood on non -meshgroup interfaces, but don t flood on other interfaces in this meshgroup 12 6

Check Topology Table LSA1 show ip ospf database command Link ID ADV Router Age Seq# Checksum Link-count 13 Check Topology Database LSA2 show ip ospf database network command OSPF Router with ID (188.4.3.3) (Process ID 7) Net Link States (Area 0) Routing Bit Set on this LSA LS age: 431 Options: (No TOS-capability) LS Type: Network Links Link State ID: 188.4.9.2 (address of Designated Router) Advertising Router: 188.4.3.2 LS Seq Number: 80000012 Checksum: 0xC22A Length: 32 Network Mask: /20 Attached Router: 188.4.3.2 Attached Router: 188.4.3.3 Attached Router: 188.4.3.3 14 7

AS External Link State Advertisements show ip ospf database command OSPF Router with ID (188.4.3.3) (Process ID 7) Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 35.1.0.0 188.4.3.2 320 0x80000004 0x43EE 0 176.15.254.0 188.4.3.2 320 0x80000004 0xA4C2 5 192.168.2.0 188.4.3.4 1116 0x80000007 0xD3D2 8 192.168.3.0 188.4.3.2 531 0x80000005 0xB81A 0 195.6.19.0 188.4.3.4 1102 0x80000093 0x772B 200 0.0.0.0 188.4.3.4 1168 0x80000003 0x54E2 200 15 AS External Link State Advertisements show ip ospf database external command OSPF Router with ID (188.4.3.2) (Process ID 7) Type-5 AS External Link States LS age: 257 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 35.1.0.0 (External Network Number ) Advertising Router: 188.4.3.2 LS Seq Number: 80000004 Checksum: 0x43EE Length: 36 Network Mask: /16 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 0.0.0.0 External Route Tag: 0 16 8

AS External Link State Advertisements show ip ospf database external command OSPF Router with ID (188.4.3.2) (Process ID 7) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 686 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 192.168.2.0 (External Network Number ) Advertising Router: 188.4.3.4 LS Seq Number: 80000007 Checksum: 0xD3D2 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 188.4.3.20 External Route Tag: 8 17 Routing Table Flags "O" OSPF Routing Entry Learned through intra-area LSAs (1, 2) "IA" Inter Area Learned through summary LSAs (3) "E1" Type 1 external routes Learned through external LSAs (5) Type 1 metric (sum of internal and external metrics) "E2" Type 2 external routes (default) Learned through external LSAs (5) Type 2 metric (external metrics only) 18 9

OSPF Neighbor States Down No OSPF message received Attempt No recent information has been received from the neighbor on NBMA networks Init Interface detected a hello packet coming from a neighbor But bi-directional communication not yet established 19 OSPF Neighbor States Two-way Bi-directional communication with neighbor This router is listed in hello packet but will not become a DR or BDR Exstart Initial sequence number is established Exchange Database description packets are exchanged 20 10

OSPF Neighbor States Loading Missing topology information is updated by sending LS Requests Full Adjacency completed Adjacent routers have same link-state database 21 Configuration Tasks Configure a loopback interface Enable OSPF routing Specify networks to be advertised OSPF interface and area ID Consider different physical networks Configure OSPF network type Configure OSPF for NBMA networks Create virtual links 22 11

OSPF Configuration Commands Enable OSPF routing process router(config)# router ospf process-id Associate networks with OSPF routing router(config-router)# network address wildcard-mask area area-id Configure the OSPF network type router(config-if)# ip ospf network { broadcast non-broadcast point-to-multipoint } 23 OSPF Configuration Commands Configure routers interconnecting to NBMA router(config-router)# neighbor ip-address [ priority number ] Create virtual links router(config-router)# area area-id virtual-link router-id Configure router ID - loopback interface router(config)# interface loopback 0 24 12

Example: Basic OSPF Configuration hostname r1 interface loopback 0 ip address 199.5.3.3 255.255.255.255 router ospf 100 network 199.5.6.144 0.0.0.15 area 0 network 199.5.6.128 0.0.0.7 area 54 area 12 virtual-link 199.1.4.4 area 12 virtual-link 199.1.5.5 interface serial s0 encapsulation frame-relay ip address 199.5.6.129 255.255.255.248 ip ospf network point-to-multipoint interface ethernet 0 ip address 199.5.6.145 255.255.255.240 hostname r2 interface loopback 0 ip address 199.5.4.4 255.255.255.255 router ospf 100 network 195.2.200.0 0.0.0.255 area 30 network 199.5.6.128 0.0.0.7 area 54 area 54 virtual-link 199.5.3.3 area 54 virtual-link 199.5.5.5 interface serial s0 encapsulation frame-relay interface serial 0.1 point-to-point ip address 199.5.6.130 255.255.255.248 frame-relay interface-dlci 200 ip ospf network point-to-multipoint 25 13