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

Static routes: the ip route command and the next hop

Lesson 4.38 minBeginnerNovember 4, 2026

Sign in to read this lesson

A router only knows its directly connected networks. There are two ways to learn the network behind a neighbouring router: static routing and dynamic routing. With static routing you do everything yourself: with the ip route command you give the network, its mask and the next hop IP address. When a packet arrives for a network with no entry in the routing table, the router drops it. After adding a static route, an S entry appears in the routing table and the ping works.

What you will learn

  • Every router interface gets a unique IP address. At first the routing table only holds directly connected networks.
  • 2 ways to learn about other networks: static routing (you write everything yourself) and dynamic routing (a routing protocol exchanges information between routers).
  • A packet for a network with no routing table entry is dropped: ping fails (....., 0 percent).
  • ip route 2.2.2.0 255.255.255.0 192.168.12.2: the network to reach, its mask and the next hop IP address (the neighbouring router to send the traffic to).
  • A static route appears in the routing table with the code S: S 2.2.2.0 [1/0] via 192.168.12.2.

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