In 20 years, you will be more dissapointed by what you didn't do than by what you did.

OSPF Hello


OSPF Hello

Sent out through all (included in OSPF) interfaces during initialization phase. On broadcast and p2p links sent to a well known  multicast addresses :
  •  224.0.0.5 - All OSPF routers
  •  224.0.0.6 - DR/BDR routers

Contains:
OSPF hello message

  • Network Mask - subnet mask, on unnumbered and virtual links set to 0.
  • Hello Interval - 10sec by default 
  • Router Dead Interval - 40sec by default.
  • Options - commonly used are N/P bit (NSSA support) and E bit (external LSAs support)
    • 1st bit value in the Options fiels is reserved for future purpose. 
    • O bit is utilized for OSPF opaque ( RFC 2370 )
    • DC bits has been implemented for demant ciruit capabilities (RFC 1793)
    • EA bit is utilized for the external attributes
    • N/P has been implemented for NSSA option ( RFC 1587 )
    • MC bit designates MOSPF
    • E bit - impies that external LSA are permited in this area. E bit is responsible for generating LSA4 by ABR
    • T bit has been implemented for Type of Service (default = 0 )
  • Router Priority - used in designated/backup router election ( default = 1 ) Higher is better. Priority = 0 means that this router will not contest in DR election.
  • Designated Router - address of current DR. 0 by default.
  • Backup Designated Router - address of current BDR. 0 by default.
  • Neighbor - router IDs of all neighbors on a network segment. Initially empty, filled with RIDs from received Hello messages. 
  • Area ID 
  • Authentication 

    • None - Default.
    • Simple - passwords and sent in clear text. This kind of authentication is used mainly to prevent configuration mistakes, it's not secure.
    • MD5 - passwords are stored locally and only password's MD5 checksum (which is not easy to reverse calculate) is exchanged. Secure.

 In Cisco IOS two routers to establish neighbor relation below Hello values need to match :
  1. Hello Interval
  2. Router Dead Interval
  3. Area ID
  4. Authentication (Password/MD5) 
  5. Mask of the originating interface on broadcast links

Comments

0 Responses to "OSPF Hello"

Post a Comment

Popular Posts