728x90 AdSpace

  • Latest News

    CCNAv2 Chapter 8 Notes

    Chapter 8
    OSPF - Notes
    3/28/16
    OSPF - Open Shortest Path First
    Link State Routing Protocol

    OSPFv2 is for IPv4, and OSPFv3 is for IPv6.
    Single-area OR Multi-area.

    OSPF Benefits / Features
    Classless
    • Works with VLSM/CIDR.
    Efficient
    • Changes trigger updated.
    Fast Convergence
    • Changes propagate quickly.
    Scaleable
    • Large/small network to single/multi area.
    Secure
    • Uses MDS authentication.

    AD - Administrative Distance
    Static - 1
    RIP - 120
    ISIS - 115
    OSPF - 110

    OSPF has three databases.
    • Adjacency Database
      • Neighbor Table
        • Unique identifier for each router.
    • Link State Database (LSDB)
      • Topology Table
        • Same with Area
    • Forwarding Database
      • Routing Table
        • Unique for each router.

    Quick Summary:
    Routing protocol, two kinds for IPv4 and IPv6, doesn’t send automatic updates, single or multi-area, and can use MD5.


    Generic Process to Reach Convergence
    • Establish Neighbor Adjacencies
    • Exchange Link-State Advertisements
    • Builds the Topology Table
    • Execute the SPF Algorithm (Shortest Path First)
    • Creates the SPF Tree
    • Creates the Routing Table entries.

    OSPF uses the Link State Packets, Types:
     Type 1 - Hello Packet
    • Establish Adjacencies
     Type 2 - Database Description Packet
    • Shortened version of the LSDB.
     Type 3 - Link State Request Packet
    • If a router decides it needs more information, it will request more information about one of the packets above (Type 2 or Type 1).
     Type 4 -  Link State Update Packet
    • Known as “LSU”.
    • Raph to LSR
     Type 5 - Link State Acknowledgement
    • “LSA”

    OSPF States
    There are several OSPF states, described as follows:
    1. Down State
      1. No Hello Packets Received; Down
      2. Router sends Hello packets.
      3. Transition to Init state.
    2. Init State
      1. Hello packets are received from the neighbor.
      2. They contain the sending router’s Router ID.
      3. Transition to Two-Way state.
    3. Two-Way State
      1. On Ethernet links, elect a DR, and a BDR.
      2. Transition to ExStart state.
    4. Exstart State
      1. Negotiate master / slave relationship and DBD packet sequence number.
      2. The master initiates the DBD packet exchange.
    5. Exchange State
      1. Routers exchange DBD packets.
      2. If additional router information is required then transition to Loading; otherwise, transition to Full.
    6. Loading State
      1. LSRs and LSUs are used to gain additional route information.
      2. Routes are processed using the SPF algorithm.
      3. Transition to the Full state.
    7. Full State
      1. Routers have converged.

    DR & BDR
    DR stands for “Designated Routing”.
    BDR stands for “Backup Designated Routing”.

    Adjacencies
    If we have five routers, how many adjacencies would we end up with? 10
    Formula: n(n-1)/2    \\ n = Number of Routers

    Configure OSPF
    Each Router needs a RouterID.
    Enable OSPF Routing.
    Identity/Add connected networks.

    1 - Router OSPF <#>
    2 - Router-ID 1.1.1.1
    3 - network 172.168.1.0 0.0.0.255 area 0
    4 - Passive Interface G0/0

    OSPF and IPv6 Integration
    V2 & V3:
    • Link State
    • SPF Algorithm
    • 5 Packet Types
    • DR/BDR
    • Areas
    • Router ID
    • Neighbor

    OSPFv3:
    • Must have IPv6 Unicast-Routing.
    • Uses Link-Local (IPv6-- fe80::1, Link Local), same link local used from all interfaces.

    OSPFv3 Steps:
    1. Enable IPv6 Routing
    2. Assign Addresses (Including Link Local)
    3. Assign Router ID
    4. Options - Bandwidth, cost…
    5. Enable for an Interface (IPv6 ospf 10 area 0)

    Additional OSPF Notes
    4/5/2016
    OSPF has 3 databases for IPv4, and 3 for IPv6
      1. Link State Database ("Topology Table")
      2. Adjacency Database ("Neighbor Table")
      3. Forwarding Database ("Routing Table")

    -- If we are converged, the topology should be the same in each of those routers.
    -- We are able to 'see' the topology table via show commands.

    Question: What does OSPF use to discover neighbors?
      -- OSPF uses "HELLO" Packets to establish (and confirm) network adjacency.

    Question: What would happen if the dead interval threshold is reached (or expires) before the router receives the hello packet?
      -- OSPF will drop that route/network.

    Question: What is the purpose of OSPF “Router ID”?
      -- Router-ID allows for unique identification, and “elections”. See DB and DBR  earlier in this page for their purposes.

    Question: What are three ways the router can get a Router ID?
    • The “router-id” command from IOS.
    • It can also obtain a router ID via a loopback address.
    • As well as taking the address of an active interface.

    Question: You have an IP; “192.168.7.111/29”, what should your wildcard mask be?
    • 0.0.0.7

    Question: Which command should be used to check the OSPF process ID, the router ID, networks the router is advertising, the neighbors the router is receiving updates from, and the default administrative distance?
    • The command “show ip protocol” will do this.

    Question: What does “show ip ospf neighbor” do?
    • Shows Router IDs and IPs of Neighbors.

    Question: What does “show ip ospf” do?
    • This will yield the Process, Router ID, and Area Information.


    Question: What does “show ip ospf interface” do?
    • Detailed interface about each OSPF interface.
    Question: What does “show ip protocols” do?
    • Shows Process, Router ID, Neighbors, and advertised networks. Basically everything.

    Question: What does “R1(config)# ipv6 router ospf 64” do?
    • It gives that router (R1) IPv6 OSPF (OSPFv3) with a process ID of 64.

    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: CCNAv2 Chapter 8 Notes Rating: 5 Reviewed By: Unknown
    Scroll to Top