Networking.com

HELLO packet

By Gavin Wright

What is a HELLO packet?

A HELLO packet is a special data packet (message) that is sent out periodically from a router to establish and confirm network adjacency relationships to other routers in the Open Shortest Path First (OSPF) communications protocol. On networks capable of broadcast or Multicast transmission, a HELLO packet can be sent from one router to all other routers simultaneously to discover neighboring routes.

OSPF networks are made up of many interconnected routers. These routers are connected on their interfaces. The HELLO packet is the method for routers to announce to each other that they share an interface.

These interfaces can be physical, such as Ethernet or fiber, or they can be virtual, as with Generic Routing Encapsulation or virtual private networks. Each interface may also be connected directly to one other router in a point-to-point configuration or to many other routers in a multiaccess network. These combinations make up the four types of OSPF networks: nonbroadcast multiple access (NBMA), broadcast, point to point and point to multipoint.

Without the use of a HELLO packet, each router would need to have its connections to other routers manually configured. Once routers successfully exchange HELLO packets, they can automatically establish adjacency and can begin to route data between them.

HELLO packet format and contents

The HELLO packet is made up of the standard OSPF packet header and the HELLO specific information.

What is in the OSPF header?

The OSPF packet header contains the OSPF version and packet type, the router ID, area ID, and packet authentication and checksum information:

What is the HELLO-specific information?

The HELLO packet body contains the network mask, hello interval, router priority, dead interval, designated router, backup designated router and a list of neighbors -- the network mask, hello interval and dead interval must be the same for routers to establish adjacency:

25 Oct 2021

All Rights Reserved, Copyright 2000 - 2024, TechTarget | Read our Privacy Statement