OSPF的簡易模擬配置第三篇

拓撲圖:dom

此次的OSPF 是廣播多路訪問鏈路上的OSPF的配置spa

先配置好各設備ID地址router

 R1配置blog

  enip

  conf t路由

  no ip domain-lookup配置

  int l0route

  ip addr 1.1.1.1 255.255.255.0network

  no shutim

  int f0/0

  ip addr 192.168.0.1 255.255.255.0

  no shut

 

R2配置

  en

  conf t

  no ip domain-lookup

  int l0

  ip addr 2.2.2.2 255.255.255.0

  no shut

  int f0/0

  ip addr 192.168.0.2 255.255.255.0

  no shut

R3配置

  en

  conf t

  no ip domain-lookup

  int l0

  ip addr 3.3.3.3 255.255.255.0

  no shut

  int f0/0

  ip addr 192.168.0.3 255.255.255.0

  no shut

R4配置

  

  en

  conf t

  no ip domain-lookup

  int l0

  ip addr 4.4.4.4 255.255.255.0

  no shut

  int f0/0

  ip addr 192.168.0.4 255.255.255.0

  no shut

路由配置

R1

  en

  conf t

  router ospf 1

  router-id 1.1.1.1

  network 192.168.0.0 0.0.0.255 area 0

  network 1.1.1.0 0.0.0.255 area 0

  auto-cost reference-bandwidth 1000

R2

  

  en

  conf t

  router ospf 1

  router-id 2.2.2.2

  network 192.168.0.0 0.0.0.255 area 0

  network 2.2.2.0 0.0.0.255 area 0

  auto-cost reference-bandwidth 1000

R3

  

  en

  conf t

  router ospf 1

  router-id 3.3.3.3

  network 192.168.0.0 0.0.0.255 area 0

  network 3.3.3.3 0.0.0.255 area 0

  auto-cost reference-bandwidth 1000

R4

  en

  conf t

  router ospf 1

  router-id 4.4.4.4

  network 192.168.0.0 0.0.0.255 area 0

  network 4.4.4.0 0.0.0.255 area 0

  auto-cost reference-bandwidth 1000

相關文章
相關標籤/搜索