网络路由 Router
a router is a device ,
that has at least two Internet interfaces
since it can at least connect to two networks to do its job

基础的路由流程

路由的例子:
这个 router 处理两个网络,
他在每一个网络上,都有一个 interface,
他在每一个网络上,都有一个 ip
IP addresses belong to Networks
IP addresses are not individual nodes on the network

路由器,不看 Ethernet 信息,
看 IP header,
修改 TTL, 重新计算出 check sum,
处理好 IP header, 再把 Ethernet 信息, 重新放回去

信息传递,先检查自己的网络

Router table, 路由表
destinations
entry
next hop
total hop
Interface
本文介绍了网络路由的基本概念,包括路由器的功能及工作方式。路由器通过至少两个网络接口连接不同网络,并基于IP地址进行数据包转发。文章还详细解释了路由流程、路由表的作用以及如何通过检查目的地址来决定数据包的下一跳。
1300

被折叠的 条评论
为什么被折叠?



