当前位置:网站首页>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?
边栏推荐
- mPEG-Cholesterol,mPEG-CLS,甲氧基-聚乙二醇-胆固醇可用于脂质体制备
- I have been in the software testing industry for nearly 20 years, let me talk to you about today's software testing
- CKAN教程之在 AWS 上部署 CKAN 应用程序
- airflow db init 报错
- js基础知识整理之 —— 字符串
- 最近公共祖先(LCA)学习笔记 | P3379 【模板】最近公共祖先(LCA)题解
- 6、Powershell命令配置Citrix PVS云桌面桌面注销不关机
- 九零后程序员心声:互联网的同行们,别卷了,再卷人都卷没了
- 【mysql知识点整理】--- order by 、group by 出现Using filesort原因详解
- 嵌入式分享合集26
猜你喜欢
简单聊聊MySQL中的六种日志
I have been in the software testing industry for nearly 20 years, let me talk to you about today's software testing
程序员如何优雅地解决线上问题?
聚乙二醇衍生物4-Arm PEG-DSPE,四臂-聚乙二醇-磷脂
智能电视竞争白热化,利用小程序共建生态突围
思源笔记 本地存储无使用第三方同步盘,突然打不开文件。
可编程逻辑控制器(PLC) : 基础、类型和应用
Visual Studio中vim模拟器
Speech Synthesis Model Cheat Sheet (1)
CKAN教程之将 Snowflake 连接到 CKAN 以发布到开放数据门户
随机推荐
可编程逻辑控制器(PLC) : 基础、类型和应用
flutter 时间戳转日期
2022 Shandong International Youth Eye Health Industry Exhibition, Vision Health Exhibition, Optometry Exhibition
机器学习-特征映射方法
FreeRTOS任务管理
Nuxt 所有页面都设置上SEO相关标签
记一次sql优化Using temporary; Using filesort
# DWD层及DIM层构建## ,220801 ,
厌倦了安装数据库?改用 Docker
智能合约安全-可重入攻击(SW107-Reentrancy)
停止使用 Storyboards 和 Interface Builder
vant-swipe adaptive picture height + picture preview
嵌入式分享合集26
程序员的七夕浪漫时刻
UE5 官方案例Lyra 全特性详解 8.如何用配置表初始化角色数据
4、Citrix MCS云桌面无法安装todesk等软件
九零后程序员心声:互联网的同行们,别卷了,再卷人都卷没了
微信小程序实现lot开发09 接入微信登录
高数---二重积分
电压传感器: 工作原理、类型及电路图