Please enable JavaScript.
Coggle requires JavaScript to display documents.
08.路由基礎,Routing Basics 011127001蔡家蓁 - Coggle Diagram
08.路由基礎,Routing Basics
011127001蔡家蓁
路由的作用
The role of routing
三層查詢 目的的IP地址
Three-tier query
指引數據的轉發
Directed data forwarding
路由查詢
Routing query
不用關心網路地址和廣播地址不能用
Don't care about the network address and broadcast address cannot be used
每經過一台三層設備都會進行查詢路由表Every time a Layer 3 device passes through, the routing table will be queried.
數據傳輸
data transmission
變,MAC地址(來源和目的) 每經過一個三層轉發
不變,IP地址(來源和目的) 特殊情況 NAT
來源
source address
目的
destination address
dis ip routing
sh ip route
路由的組成
Route composition
出口exit
接口interface
下一跳的IP地址
next IP address
更新源 直連 設備上配置的接口路由
Update source / Direct connection /
Interface routing configured on the device
網段
network segment
網路地址
web address
遮罩mask
分類Classification
動態路由
Dynamic Routing
內部網路協議
(IGP,Interior Gateway Protocol)
說明directions
企業內部使用
For enterpris einternal use
比較容易使用的
easier to use
原理比較難
The principle is more difficult
分類Classification
加強型閘道間選徑協定
(EIGRP,Enhanced Interior Gateway Routing Protocol)
路由資訊協定
(RIP,Routing Information Protocol)
開放式最短路徑優先
(OSPF,Open Shortest Path First)
中間系統到中間系統
(IS-IS,Intermediate system to intermediate system)
外部閘道協定
(EGP,Exterior Gateway Protocol)
說明directions
不容易使用
not easy to use
原理難
The principle is difficult
分類Classification
邊界閘道器協定
(BGP,Border Gateway Protocol)
EGP 淘汰
靜態路由
Static Routing
網路管理員手動指定的
Manually specified by the network administrator
網路變化不會跟著變化 / 跟著變化
Network changes do not follow/follow
CISCO
IP服務等級協定
(IP SLA,IP Service Level Agreement )
雙向轉發檢測
(BFD,Bidirectional Forwarding Detection)
路由選路原則
Routing principle
2.管理距離路由優先級(Administrative Distance,AD)
例子
Example
路由Router
192.168.1.0/24 20 F0/1
192.168.2.0/24 10 F0/2
192.168.1.0/24 10 F0/0
最佳路徑 10<20 F0/0
目的IP:192.168.1.1
CISCO
路由協定編號(AD值)
EIGRP 90
OSPF 110
靜態 1
RIP 120
直連 0
越小越優
Smaller is better
前提 遮罩長度一樣
The premise is that the mask length is the same
1.最長遮罩匹配
longest mask match
例子
Example
路由Router
192.168.1.0/25 F0/1
192.168.2.0/26 F0/2
192.168.1.0/24 F0/0
25>24
目的IP:192.168.1.1
最佳路徑 192.168.1.0/25 F0/1
遮罩越長越優
The longer the mask, the better
前提Premise
多條路徑
multiple paths
多條路由都能匹配
Multiple routes can be matched
3.度量值開銷 Metric Cost
越小越優
Smaller is better
例子
Example
路由Router
192.168.1.0/24 AD=10 COST=20 F0/1
192.168.1.0/26 AD=10 COST=5 F0/2
192.168.1.0/24 AD=10 COST=10 F0/0
最佳路徑 COST10<COST20 F0/0
目的IP:192.168.1.1
等價路由
(ECMP,Equal-cost multi-path routing)
例子
Example
路由Router
192.168.1.0/24 AD=10 COST=20 F0/1
192.168.1.0/26 AD=10 COST=5 F0/2
192.168.1.0/24 AD=10 COST=10 F0/0
最佳路徑
best path
F0/0
F0/1
目的IP:192.168.1.1
數據的負載方式
How does the data payload
包覆載 交換機綑綁線路
Wrapped load switch bundled wire
流負載
flow payload
等價路由
(ECMP,Equal-cost multi-path routing)
五因素
five factors
來源端口
source port
目的端口
destination port
目的地址
destination address
協議protocol
來源地址
source address
路由更新方式
routing update method
級別路由更新
Classful Routing
RIPv1
IGRP
無級別路由更新
Classless Routing
RIPv2
EIGRP
OSPF
CCNA相關題目