Week10 Open Shortest Path First(OSPF) === * RIP VS OSPF  * router id * 用處 * 辨別 router * 選舉 DR * 使用順位 1. admin 設定的 id  2. 最高的 configured loopback interface ip  3. 最高的 physical interface ip * 設定完後記得 reload  * 開始交朋友(advertise) * Global setting * 使用 wirecard  * Per interface setting  * 確認朋友  * 選舉 DR(Designated Router) * 順位 1. priority 最高的 * 設定 0~255 * 如果是 0 就不能當 DR * 預設 1 2. router id 最高的 * 要重新選舉,要重啟所有 router 的 OSPF * 設定 priority  * BDR(Backup Designated Router) * 選舉方法跟 DR 差不多,就是第二順位的 router * 當 DR 死掉時換它 * Default Static Route * 如果有 OSPF 的 network 跟沒有 OSPF 的要連接,就可以透過 Default Static Route * 設定  * Passive Interfaces * 不想讓某 router 走特定的 interface * 為了省 bandwidth * 或是資安考量 * 設定  * Reference Bandwidth * OSPF 預設 100 Mbps * 不會真的影響到 Bandwidth,只是用來影響選哪條路走(?) :::warning 不確定這邊這樣對不對,話說不能真的影響的話設定這也太雞肋了吧 A: 用來影響 cost,進而影響 router 要走哪條 ::: * 需要每台 router 都設定 * 設定  * interface bandwidth  :::danger 紅字跟第二行敘述是不是衝突了? A: 紅字是說設定的 bandwidth 不會影響到實際速度;黑字是說設定的 bandwidth 要反映實際速度 ::: * OSPF Cost * 影響 router 要選哪條路走 * cost 太大就不會走 * 設定 Bandwidth 也可以達到相同效果,只是比較推薦用這個 * 設定  * 算出總 Cost 
×
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