-
Packet Types
- HELLO
- Database Description (DBD)
- Link-State Request (LSR)
- Link-State Update (LSU)
- Link-State Ack (LSAck)
-
History
- 1987 - OSPF Group
- 1991 - OSPFv2 (RFC 1247)
- 1998 - OSPFv2 (RFC 2328)
- 1999 - OSPFv3 (RFC 2740) for IPv6
-
Basic Config
- R1(config)#router ospf process-id
- R1(config-router)#network network-address wildcard-mask area area-id
-
R1(config-router)#router-id ip-address
- if none - highest IP of Loopback interfaces
- if none - highest IP of any physical interfaces
-
to modify router-id
- reload
- clear ip ospf process
- R1(config-router)#default information originate
- R1(config-router)#auto-cost reference-bandwidth {1-4294967}
- R1(config-if)#router ospf priority {0-255}
- R1(config-if)#ip ospf cost
- R1(config-if)#ip ospf hello-interval seconds
- R1(config-if)#ip ospf dead-interval seconds
-
Troubleshooting
- R1#show ip ospf neighbor
- R1#show ip protocols
- R1#show ip ospf
- R1#show ip ospf interface
-
Algorhytm
- LSDB
- SPF Algorhitm
- SPF Tree
- Routing Table
-
Intervals
-
HELLO
- MA & P2P - 10 sec
- NBMA - 30 sec
-
DEAD
- MA & P2P - 40 sec
- NBMA - 120 sec
-
Metric
- FE & Faster = 1
- Ethernet = 10
- E1 = 48
- T1 = 64
- 128 kbps = 781
- 64 kbps = 1562
- 56 kbps = 1785
-
IP
- 224.0.0.5 - All OSPF Routers
- 224.0.0.6 - All DR
-
DR & BDR Election
- DR - router with highest ospf priority
- BDR - router with a second highest ospf priority
- if prioritys are equal - roiter-id is used
- All another routers - DROther