Routing Table and Routing Protocols === * routing & forwarding * 目的地 mac 會不一樣,要傳到某個地方一定要有 mac address * 目的地 ip 一直都一樣 * 學習演算法 * 交換互相的 routing table 資訊 * 找到最好的一條路(ex. 頻寬) * 不同的演算法會得出不同的 routing table * Routing Information Base(RIB) * RIB 是讓效率更高 * Forwarding Information Base(FIB) * FIB 是將多個表整理、簡化後,找到更有效率的方法 * CEF(Cisco Express Forwarding) * 在硬體就處理好了,所以速度更快 * RT Entry 種類 * Next-hop routing * Next-Specific Routing * Default Routing * Host-Specific Routing * Route Aggregation * 內網裡面可能有各種不同的網段,例如 140.113.24.0/26、140.113.24.128/26 * 在外面的 router 就可以只要學 140.113.24.0/24 往哪走 * Longest prefix matching * 用對到的 bit 越長的 * Link state Dijkstra algorithm * Routing Protocols * Autonomous system(AS) * 一個 admin 所管理的 networks * intra-domain * 在 AS 內傳送封包 * Interior Gateway Protocol(IGP) * inter-domain * AS 彼此間傳送封包 * Exterior Gateway Protocol(EGP) * 到達 remote network * 手動設定 * 要換路也得重新設定 * 動態學習
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up