拓扑

实验 01- 04 - 图1

实验01 DR && BDR

  1. 配置各接口IP,开启OSPF
  2. 观察DR 和 BDR
  3. 调整非DR Router的接口的Priority,使其称为DR
    1. ip ospf priority XX

实验02 Default Route

  1. 方式1 静态路由 + default-information originate
  2. 方式2 default-information originate always

实验03 Passive Interface

  1. 在R2 进入OSPF进程 Passive-interface gi1/0
  2. 到R6 上观察路由变化

实验04 Authentication

  • Interface : 在R6 和 R7 之间开启
  • Area : 需要结合Interface 配置
  1. interface GigabitEthernet2/0
  2. ip address 67.67.67.1 255.255.255.0
  3. ip ospf authentication message-digest
  4. ip ospf message-digest-key 1 md5 CISCO
  5. router ospf 1
  6. log-adjacency-changes
  7. area 0 authentication
  8. area 1 authentication message-digest
  9. interface FastEthernet0/0
  10. ip address 1.1.1.2 255.255.255.0
  11. ip ospf authentication-key CISCO
  12. interface GigabitEthernet1/0
  13. ip address 26.26.26.1 255.255.255.0
  14. ip ospf message-digest-key 1 md5 CISCO

实验04 Network Type

  • Loopback Type : 在R6 上配1个 6.6.6.6/24 的环回地址,到R7上观察路由
  • Broadcast Type :
    • 在R6上 show ip ospf interface G2/0
    • 观察R6 和 R7 的 DR/BDR 关系
  • Point-to-Point
    • 在接口上 ip ospf network TYPE
    • R6的G2/0是P2P,另1端R7的G2/0是Broadcast,在R7也还是能看到R6 是BDR —— 这是正常的么