Loopback Cert Guide
Lab 3.4OSPF

From hello to FULL.

Four routers in area 0: three on a shared LAN that elects a DR and BDR, one on a two-router link. Break a timer, an area, an MTU or a router ID and see exactly which neighbor drops, which routes go and whether PC1 still reaches PC4.

  • 3.4.aNeighbor adjacencies
  • 3.4.bPoint-to-point
  • 3.4.cBroadcast (DR/BDR selection)
  • 3.4.dRouter ID
01Live network

Four routers in one area.

Port markers show each interface's OSPF state: DR, BDR, DRO (DROTHER), P2P, pas (passive). The R3–R4 cable shows the neighbor state. Click a router for its neighbors and routes, an interface to change a timer, an area or a priority.

Live network · OSPF area 0 · simulated
  • Designated router
  • Backup DR
  • DROTHER
  • Stuck below FULL
  • Shut down

Simulated: the routers, addresses (10.x.x.x and 192.168.x.x private space), timers shown and console output are Loopback's simulation of IOS routers, not real devices. Elections and adjacencies settle at once here; real ones take up to the dead interval.

02Tasks

Solve the task and the network checks your work.

Each task loads its own starting point onto the network. Solve it from the console or with clicks; the checks tick live, and you see one model answer when you're done.

    03What happens if

    Predict the result, then watch it happen.

    Eight ways an adjacency goes wrong or an election surprises you. Pick what you think happens, then load it on the network.

      04Drills

      A new question every round, so nothing is memorized.

      Router IDs, elections, adjacency checks and cost math, generated fresh every time. Build a streak.

      05Recall sheet

      The whole topic on one sheet.

      The numbers, orders and commands the network runs on. Cover a column and say it before you look.

      To become neighbors

      Must matchIf it doesn't
      Subnet and maskNo neighbor
      Area IDNo neighbor, mismatched area logged
      Hello and dead intervalsNo neighbor
      Unique router IDsNo neighbor, duplicate router-id logged
      IP MTUNeighbor, but stuck in EXSTART/EXCHANGE
      Not passivePassive sends no hellos: no neighbor on that interface

      Cost and priority don't have to match. Changing the hello also changes the dead interval to 4x hello, unless you set dead yourself.

      Neighbor states

      1. Down: no hello heard.
      2. Init: heard a hello, not listed in it yet.
      3. 2-Way: each lists the other. Normal end point between two DROTHERs.
      4. ExStart and Exchange: database descriptions (MTU checked here).
      5. Loading: requesting missing LSAs.
      6. Full: databases match.

      DR and BDR

      • Elected on broadcast networks like Ethernet, not on point-to-point.
      • Highest priority wins, then highest router ID.
      • Priority 0 to 255, default 1. Priority 0 never becomes DR or BDR.
      • No pre-emption: the DR keeps its seat until it fails or OSPF is cleared. The BDR takes over when the DR fails.
      • DROTHERs go FULL with the DR and BDR, 2-Way with each other.

      Router ID, in order

      1. router-id command.
      2. Highest loopback address that's up.
      3. Highest address on an up interface.

      It's picked once. A new router ID only takes effect after clear ip ospf process or a reload.

      Network types

      TypeDR/BDRHello/dead
      BroadcastYes10 / 40
      Point-to-pointNo10 / 40

      Ethernet defaults to broadcast, even between two routers. ip ospf network point-to-point skips the election.

      Numbers

      110
      Administrative distance of OSPF on Cisco routers
      89
      IP protocol number
      224.0.0.5
      All OSPF routers
      224.0.0.6
      DR and BDR
      100
      Default reference bandwidth (Mbps): cost = reference ÷ interface bandwidth, never below 1

      Commands

      Turn it on

      router ospf 1
       router-id 1.1.1.1
       network 10.0.123.0 0.0.0.255 area 0
       passive-interface gi0/1
       auto-cost reference-bandwidth 10000
      interface gi0/0
       ip ospf 1 area 0

      Per interface

      interface gi0/0
       ip ospf priority 255
       ip ospf cost 10
       ip ospf hello-interval 10
       ip ospf dead-interval 40
       ip ospf network point-to-point

      Verify

      show ip ospf neighbor
      show ip ospf interface brief
      show ip ospf interface gi0/0
      show ip protocols
      show ip route ospf
      show ip ospf
      clear ip ospf process

      All of these work in the network's consoles, along with ?, Tab, do and ping.

      Jump to a page

      1. Gi0/1HomeconnectedHow the exam works and a sample of every station
      2. Gi0/2Practice Testsconnected18 tests by domain, every answer explained
      3. Gi0/3Flashcardsconnected401 cards on every objective, plus your own
      4. Gi0/4CLI LabconnectedCommand drills and config tasks, checked like IOS
      5. Gi0/5Concept LabsconnectedYou're in Lab 3.4 OSPF. All labs.
      6. Gi0/6Study PlanconnectedAll 53 objectives, graded from your progress