当前位置:网站首页>Understand the next hop address in the network topology in seconds
Understand the next hop address in the network topology in seconds
2022-08-03 01:58:00 【HUAWEI CLOUD】
Hello, this is the Network Technology Alliance site.
Today I want to talk to you about an interesting, but also very basic technique: Next hop.
The "down" here is not "scare".
Before we talk about the next hop, it is necessary to talk about the common and basic network equipment in the network: router.
What is a router?
Friends who are reading this article, 99% of people know what a router is, so I will express it in one sentence here: A router is at Layer 3 or the OSI modelNetwork devices running at the >Network layer.

The role of the router
Responsible for receiving, analyzing, and forwarding packets between connected computer networks. When a packet arrives, the router checks the destination address, looking up its routetable to determine the best route, and then transmit the packet along that route.
The type of router
Common routers are of the following types:
- Wireless Router
- Wired Router (Broadband Router)
- Edge Router
- Core router
- Virtual Router
Wireless routers are the most commonly used at home. This is no stranger to everyone. Enterprise-level routers are generally used in the above five types, depending on the size of the network.
Network Topology
After talking about routers, let's take a look at the network topology:

As shown in the figure above, the above figure is a simple network topology. A network topology is a network structure formed by connecting various network devices through certain media.
The next hop address we often say is displayed in the network topology.
So what is the next hop address?
Next hop address
Next hop is a routing term that refers to the next closest router through which a packet can pass.
More specifically, a next hop is an IP address entry in a router's routing table that specifies the next closest/best router in its routing path.

Let's explain next-hop addresses through a simple topology.
There are four devices in the picture above, two PCs, two routers, and two communication lines:
- PC1 actively initiates communication with PC2
- PC2 actively initiates communication with PC1
We know that the next hop refers to the next closest router. The next one here is relative, that is, a reference point. For example, when PC1 actively initiates communication with PC2,The next hop address of Router1 is Router2; when PC2 initiates communication with PC1, the next hop address of Router2 is Router1.
Seeing here, can we summarize again: the next hop address is the optimal distance in the network link from the current device to the target device.>The address of the next device.
This is easy to understand the above picture: when PC1 actively initiates communication with PC2, the data packet arrives at Router1, and Router1 in this communication link target device is PC2, then the data packet is inInternally, Router1 starts to calculate routing, and obtains the current optimal distance to the next device is Router2, so for the current device Router1, the next hop address is the address of the direct interface between Router2 and Router1.
Note: The hop count is incremented by one each time a packet passes through the router.For example, if the destination is 10 hops from the source, the packet must go through 10 different routers to reach it.
My friends, do you understand?
边栏推荐
- 基于rt-thread studio的STM32裸机开发——LED
- Teach you to locate online MySQL slow query problem hand by hand, package teaching package meeting
- 【多线程】线程与进程、以及线程进程的调度
- 可编程逻辑控制器(PLC) : 基础、类型和应用
- 【Autosar RTM】
- 华为设备配置BFD与接口联动(触发与BFD联动的接口物理状态变为Down)
- 思源笔记 本地存储无使用第三方同步盘,突然打不开文件。
- NLP常用Backbone模型小抄(1)
- 机器学习-特征映射方法
- Day117. Shangyitong: Generate registered order module
猜你喜欢

浅谈I2C知识

Merge two excel spreadsheet tools

js基础知识整理之 —— 五种输出方式
Teach you to locate online MySQL slow query problem hand by hand, package teaching package meeting

电压传感器: 工作原理、类型及电路图

RollBack Rx Professional RMC 安装教程

Controller层代码这么写,简洁又优雅!

剑指 Offer 21. 调整数组顺序使奇数位于偶数前面

2022暑假牛客多校1 (A/G/D/I)

3、Xendesktop更改发布桌面的显示名称(MCS静态桌面)
随机推荐
精心整理16条MySQL使用规范,减少80%问题,推荐分享给团队
稳压电源: 电路图及类型
函数:计算组合数
淘宝商品销量接口/淘宝商品销量监控接口/商品累计销量接口代码对接分享
优秀论文以及思路分析02
机电设备制造企业,如何借助ERP系统做好客供料管理?
智能合约安全-可重入攻击(SW107-Reentrancy)
为了面试阿里,熬夜肝完这份软件测试笔记后,Offer终于到手了
js基础知识整理之 —— 全局作用域
js基础知识整理之 —— Date和定时器
定了!8月起,网易将为本号粉丝提供数据分析培训,费用全免!
DataGuard日常维护常见问题之数据同步异常
6、Powershell命令配置Citrix PVS云桌面桌面注销不关机
alibaba数据同步组件canal的实践整理
Moco of Mock tools use tutorial
MySQL最大建议行数2000w, 靠谱吗?
LVM与磁盘配额原理及配置
TensorFlow学习记录(一):基本介绍
js基础知识整理之 —— 五种输出方式
scala 集合通用方法