ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

OSPF neighbours, the hello packet, router ID and cost

Lesson 4.1610 minIntermediateNovember 7, 2026

Sign in to read this lesson

OSPF routers must become neighbours before they exchange information. A router sends hello packets; if hellos come back, an adjacency forms. Some fields in the hello (hello/dead interval, area ID, authentication, stub area flag) must be the same on both sides. Every router has a unique router ID: first the router-id command, then the highest loopback IP, then the highest active interface IP. OSPF's metric is cost: the reference bandwidth (default 100 Mbps) divided by the interface bandwidth. The path with the lowest total cost wins; the load is shared across equal-cost paths.

What you will learn

  • OSPF routers first become neighbours and then exchange LSAs. A router sends hellos, and if it receives hellos from the other side, an adjacency forms.
  • These hello fields must be the same on both sides: hello/dead interval, area ID, authentication (password), stub area flag. If one differs, no adjacency forms.
  • Router ID order: 1) the router-id command, 2) the highest loopback IP, 3) the highest active physical interface IP. A loopback never goes down, which is why it is preferred.
  • Cost = reference bandwidth / interface bandwidth. Default reference 100 Mbps: 100 Mbps → 1, 10 Mbps → 10, 1 Mbps → 100. The lower the cost, the better the path.
  • OSPF load-balances across equal-cost paths (by default 4 paths go into the routing table). Authentication: plaintext or MD5, per interface or for a whole area.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.