【正文】
是路由協(xié)議 路由協(xié)議用于路由器之間交換信息,這些信息用來(lái)決定最佳路徑,維護(hù)路由表 Network Protocol Destination Network Connected RIP IGRP Exit Interface E0 S0 S1 Routed Protocol: IP Routing protocol: RIP, IGRP E0 S0 Autonomous System 100 Autonomous System 200 IGPs: RIP, OSPF,IGRP EGPs: BGP 內(nèi)部 /外部網(wǎng)關(guān)路由協(xié)議 ( IGP/EGP) – An autonomous system is a collection of works under a mon administrative domain – IGPs operate within an autonomous system – EGPs connect different autonomous systems 距離向量 /鏈路狀態(tài)路由協(xié)議 Distance Vector Hybrid Routing Link State C B A D C D B A 距離向量路由協(xié)議 ?Pass periodic copies of routing table to neighbor routers and accumulate distance vectors C D B A C B A D Routing Table Routing Table Routing Table Routing Table Distance— How far Vector— In which direction ?Routers discover the best path to destinations from each neighbor A B C E0 S0 S0 S1 S0 E0 Routing Table 0 0 S0 S1 Routing Table S0 0 E0 0 Routing Table E0 S0 0 0 距離向量 — 路由發(fā)現(xiàn)過(guò)程 ?Routers discover the best path to destinations from each neighbor A B C E0 S0 S0 S1 S0 E0 Routing Table Routing Table 0 0 1 1 S0 S1 S1 S0 Routing Table S0 0 E0 0 S0 1 E0 S0 S0 1 0 0 距離向量 — 路由發(fā)現(xiàn)過(guò)程 距離向量 — 路由發(fā)現(xiàn)過(guò)程 ?Routers discover the best path to destinations from each neighbor A B C E0 S0 S0 S1 S0 E0 Routing Table Routing Table 0 0 1 1 S0 S1 S1 S0 Routing Table S0 0 E0 0 S0 S0 1 2 E0 S0 S0 S0 1 2 0 0 kbps T1 T1 T1 – 距離向量路由協(xié)議 – 用跳數(shù)( Hop)計(jì)算路徑的尺度( metric) – 每 30秒廣播一次路由表 RIP 簡(jiǎn)介 – Starts the RIP routing process Router(config)router rip Router(configrouter)work worknumber ? Selects participating attached works ? The work number must be a major classful work number RIP 配置命令 router rip work work RIP 配置實(shí)例 router rip work router rip work work S2 E0 S3 S2 S3