Ospf basics: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Linkai.zhang (Diskussion | Beiträge)
 
(5 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 3: Zeile 3:
=Structure=
=Structure=
*encapsulates its data directly in IP
*encapsulates its data directly in IP
*protocol number 89.
*protocol number 89
*multicast addresses 224.0.0.5
*multicast addresses 224.0.0.5
*variety authentication methods
*variety authentication methods
=Router relationships=
=Router relationships=
*router identifies with Hello packet
*router identifies with Hello packet
Zeile 25: Zeile 26:
*Link State Update
*Link State Update
*Link State Acknowledgment
*Link State Acknowledgment
=== OSPF Version 3 ===
{| class="wikitable"
|-
!colspan="32"| OSPF Header Version 3
|-
!0
!1
!2
!3
!4
!5
!6
!7
!8
!9
!10
!11
!12
!13
!14
!15
!16
!17
!18
!19
!20
!21
!22
!23
!24
!25
!26
!27
!28
!29
!30
!31
|-
!colspan="8" style="background:#FFCC99"| Version<br />
!colspan="8" style="background:#FFFF99"| Type<br />
!colspan="16" style="background:#FFFF99"| Length<br />
|-
!colspan="32" style="background:#FFFF99"| Router ID<br />
|-
!colspan="32" style="background:#FFFF99"| Area ID<br />
|-
!colspan="16" style="background:#FFFF99"| Checksum<br />
!colspan="8" style="background:#FFFF99"| Instance ID<br />
!colspan="8" style="background:#FFCC99"| Reserved<br />
|-
!colspan="32" style="background:#00EEEE"| Data<br />
|}

Aktuelle Version vom 15. März 2024, 08:35 Uhr

Overview

  • OSPF is an interior gateway protocol

Structure

  • encapsulates its data directly in IP
  • protocol number 89
  • multicast addresses 224.0.0.5
  • variety authentication methods

Router relationships

  • router identifies with Hello packet
  • link state protocol
  • neighbor relationships

Adjacency state machine

  • down
  • attempt
  • init
  • 2-way
  • exstart
  • exchange
  • loading
  • full

Protocol messages

  • Hello
  • Database Description
  • Link State Request
  • Link State Update
  • Link State Acknowledgment

OSPF Version 3

OSPF Header Version 3
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Version
Type
Length
Router ID
Area ID
Checksum
Instance ID
Reserved
Data