Try   HackMD

CCNA - Project 3 公開版

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
注意事項
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • 請在 User Profile 的 Name 欄位填入你的學號,否則成績以0分計算。
  • 寫作業的過程中建議定時存檔,以免 Packet Tracer 突然 crash
    • 特別是在 Simulation 模式下如果紀錄太多封包可能會因為記憶體用量過大而 crash,請多加注意
    • 定時存檔包括保存 pka 以及 switch 的設定
  • 在 Packet Tracer 底下測試網路時,時常有「前幾次測試沒通,後來就通了」的情況
    • 如果網路不通時可以多測1、2次以確保不是 Packet Tracer 在雷你
  • 請勿增加任何不必要的設定以免影響自動評分腳本

Project 3 內容

此次作業共有兩個小題,其一是設定題,其二是除蟲題。

Configuration Requirements

  • OSPF Process ID 請皆使用 10。
  • 由於自動評分腳本,OSPF 宣告網段請都使用 network 指令宣告,不要使用 per-interface 設定。
  • 各個 router 需要宣告的網段都已經在拓樸圖上,請依照拓樸圖上的方式來設定各個網段。
  • 設定 router-id 請使用 router-id 指令。
  • 關於設定 DR/BDR interface priority,請在有標明要修改 priority 的 interface 上設定能符合要求的最大值。例如:假設設定 255 以及 254 皆可達成要求,那標準答案為 255。
  • 請在所有有接線、處於啟動狀態且不需要接受路由資訊的 interface 上做 passive-interface 的設定,例:不需考慮 vlan interface。除了 CSCC 以外請皆使用
passive-interface ...

而 CSCC 請使用

passive-interface default
no passive-interface ...

設定題 (project3_config.pka)

需要修改的機器

  • NYCU
  • GuangFu-Core
  • YangMing-Core
  • BoAi-Core
  • CSCC
  • 1F-Aggr
  • 2F-Aggr
  • 3F-Aggr
  • BA-R1
  • BA-R2
  • YM-R1
  • YM-R2
  • YM-R3
  • RIP-Router
  • All PC except Remote

IP info

  • 請將所有 PC (除了 Remote)的 IP、Subnet Mask、Gateway 按照拓樸圖上的資訊設定好。

Router-ID & Area

Device Router-ID Area
NYCU 1.1.1.1 0
GuangFu-Core 2.2.2.2 0, 1
BoAi-Core 3.3.3.3 0, 2
YangMing-Core 4.4.4.4 0, 3
CSCC 5.5.5.5 1
1F-Aggr 6.6.6.6 1
2F-Aggr 7.7.7.7 1
3F-Aggr 8.8.8.8 1
BA-R1 9.9.9.9 2
BA-R2 10.10.10.10 2
YM-R1 11.11.11.11 3
YM-R2 12.12.12.12 3
YM-R3 13.13.13.13 3

Backbone Area (Area 0)

  • NYCU
    • Area 0 的 ASBR。
    • 為了連接 remote network,請設定 default static route 指向對接 Remote 的 interface,並且將 dafault static route propagate 給 OSPF 內其他 router。
    • 8.0.0.1/8 也要在 OSPF 內宣告。
    • 對外連接 remote 的 interface 也需要 passive-interface。

Guang-Fu Campus (Area 1)

  • 所有機器都要可以連到 Remote 和其他校區的機器
    • 除了 CSCC Private network (192.168.1.0/24) 內的機器除外。
  • GuangFu-Core
    • Area 1 的 ABR。
    • 在 hostname 為 "switch" 的 multi-access network 要是 DR。(需修改 ospf priority)
  • 2F-Aggr
    • 在 hostname 為 "switch" 的 multi-access network 要是 BDR。(需修改 ospf priority)
  • 3F-Aggr
    • 在 hostname 為 "switch" 的 multi-access network 不可參選 DR/BDR。(需修改 ospf priority)
  • CSCC
    • 只能讓 140.113.100.0/24 的網段連到 CSCC Private network (192.168.1.0/24),且不可使用 ACL。

Bo-Ai Campus (Area 2)

  • 所有機器都要可以連到 Remote 和其他校區的機器
  • BoAi-Core
    • Area 2 的 ABR。
  • BA-R1
    • 在 hostname 為 "switch0" 的 multi-access network 要是 BDR。(需修改 ospf priority)
  • BA-R2
    • 在 hostname 為 "switch0" 的 multi-access network 要是 DR。(需修改 ospf priority)

Yang-Ming Campus (Area 3)

  • 所有機器都要可以連到 Remote 和其他校區的機器
  • YangMing-Core
    • Area 3 的 ABR。
  • YM-R1
    • Area 3 的 ASBR。
    • 請在 RIP 宣告 192.168.69.0/24 的網段。
    • 請透過設定 OSPF cost 讓離開這台這台 router 的封包由下圖中紅色箭頭的路徑離開。而回來的封包請以藍色的箭頭回來。
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • 此條設定沒有標準答案,自動評分腳本不會計算分數,在 demo 時會用 packet tracer 測試,若有符合要求且是透過設定 OSPF cost 皆會給分。
    • 請把 YM-R1 上所有的 passive interface 都清掉。
  • RIP-Router 請設定 RIP 並宣告網段。

Area Mode Setting

  • 由於 CSCC 在 Area 1 其中,有時系計中需要知道外部網路的路由的種種細節,要能夠正常取得 summary LSA。請為 area 1 設定最為合適的 area mode。
  • 由於 OSPF 的網路對於 Area 2 來說太過龐大,有許多不必要的 LSA,希望能擋掉 summary LSA。請為 area 2 設定最為合適的 area mode。
  • 由於 OSPF 的網路對於 Area 3 來說太過龐大,有許多不必要的 LSA,希望能擋掉 summary LSA。請為 area 3 設定最為合適的 area mode。

Think about them by yourselves!

  1. DR election 如何比較各個 interface?
  2. 是什麼原因可以/不行連上 private network?
  3. 各種 area mode 的使用情境?

除蟲題 (project3_debug.pkt)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

現在 QQ 那台 PC 無法連上 R1 以及 R3,請身為 OSPF master 的你用上課所學到的知識幫他解決問題吧!但為了增加問題的難度,你必須在每台 router 上修改/新增恰一條指令請明確注意 Configuration Requirements 內所寫的條例,來確實完成這項任務

作業繳交

  • 如果有任何對 Spec 有不清楚的地方需要請助教解釋或是需要助教幫忙,請以下方式擇一:
  • 如果你寄信到助教的私人信箱,那麼有可能會被忽略!
  • 將 pkt、pka 檔上傳至 NewE3 作業繳交區(檔名請命名為 HW3_<學號>_config.pka、HW3_<學號>_debug.pkt)
    • ex. HW3_0612213_config.pka、HW3_0612213_debug.pkt
  • Deadline: 2022/05/16 23:59
    • 允許在 Demo 前補交,分數將打九折
  • Demo: 2022/05/17
    • Demo 時將會問一些問題