国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)管 > 路由交換 > 正文

思科Sisco GNS3配置RIP與OSPF路由重發(fā)布

2020-06-22 13:14:37
字體:
供稿:網(wǎng)友
GNS3是一款優(yōu)秀的具有圖形化界面可以運(yùn)行在多平臺,那么怎么用GNS3配置RIP與OSPF路由重發(fā)布?下面VEVB武林網(wǎng)的小編帶大家一起學(xué)習(xí)一下,用GNS3配置RIP與OSPF路由重發(fā)布的步驟
 
 

  路由重分發(fā)是在大型的企業(yè)中,可能在同一網(wǎng)內(nèi)使用到多種路由協(xié)議,為了實(shí)現(xiàn)多種路由協(xié)議的協(xié)同工作,路由器可以使用路由重分發(fā)(route redistribution)將其學(xué)習(xí)到的一種路由協(xié)議的路由通過另一種路由協(xié)議廣播出去,這樣網(wǎng)絡(luò)的所有部分都可以連通了。 為了實(shí)現(xiàn)重分發(fā),路由器必須同時運(yùn)行多種路由協(xié)議,這樣,每種路由協(xié)議才可以取路由表中的所有或部分其他協(xié)議的路由來進(jìn)行廣播。那么思科Sisco路由器如何配置RIP與OSPF路由重發(fā)布?下面是具體步驟。

  配置RIP與OSPF路由重發(fā)布的步驟:

  1::給R1 0/1 R2 0/1 0/0 look 0 R3 0/0 配置OSPF 放入aren1

  2:給R3 0/0 look 0  R4 0/1 配置OSPF 放入aren0

  3: 給R4 0/0 look 0 R5 0/0 look 0 放入 aren 2

  4:給R1 0/0 look 0 R6 0/0 look 0 放入version 3

  5:給R6 R1 配rip

  6:給R1 R2 R3 R4 R5 配OSPF

  7:實(shí)現(xiàn)互通

 

復(fù)制代碼
代碼如下:
  R1
  conf t
  int f0/1
  ip add 11.0.0.1 255.255.255.0
  no sh
  int f0/0
  ip add 16.0.0.1 255.255.255.0
  no sh
  exit
  int l0
  ip add 1.1.1.1 255.255.255.255
  no sh
  exit
  router ospf 1
  router-id 1.1.1.1
  network 11.0.0.0 0.0.0.255 area 1 放入area1network 1.1.1.0 0.0.0.0 area 1end
  write
  R2
  conf t
  int f0/1
  ip add 11.0.0.2 255.255.255.0
  no sh
  int f0/0
  ip add 12.0.0.1 255.255.255.0
  no sh
  exit
  int l0
  ip add 2.2.2.2 255.255.255.255
  no sh
  exit
  router ospf 1
  router-id 2.2.2.2
  network 0.0.0.0 255.255.255.255 area 1
  end
  write
  R3
  conf t
  int f0/0
  ip add 12.0.0.2 255.255.255.0
  no sh
  int f0/1
  ip add 13.0.0.1 255.255.255.0
  no sh
  exit
  int L0
  ip add 3.3.3.3 255.255.255.255
  no sh
  exit
  router ospf 1
  router-id 3.3.3.3
  network 12.0.0.0 0.0.0.255 area 1
  network 13.0.0.0 0.0.0.255 area 0
  network 3.3.3.3 0.0.0.0 area 0
  end
  write
  R4
  conf t
  int f0/1
  ip add 13.0.0.2 255.255.255.0
  no sh
  int f0/0
  ip add 14.0.0.1 255.255.255.0
  no sh
  exit
  int l0
  ip add 4.4.4.4 255.255.255.255
  no sh
  exit
  router ospf 1
  router-id 4.4.4.4
  network 13.0.0.0 0.0.0.255 area 0
  network 14.0.0.0 0.0.0.255 area 2
  network 4.4.4.4 0.0.0.0 area 2
  end
  write
  R5
  conf t
  int f0/0
  ip add 14.0.0.2 255.255.255.0
  no sh
  exit
  int l0
  ip add 5.5.5.5 255.255.255.255
  no sh
  exit
  router ospf 1
  router-id 5.5.5.5
  network 0.0.0.0 255.255.255.255 area 2
  end
  write
  R1
  conf t
  int f0/0
  ip add 16.0.0.1 255.255.255.0
  no sh
  exit
  router rip
  version 2 進(jìn)V2版本
  no auto-summary
  network 1.1.1.0
  network 16.0.0.0
  end
  write
  R6
  conf t
  int f0/0
  ip add 16.0.0.2 255.255.255.0
  no sh
  int l0
  ip add 6.6.6.6 255.255.255.255
  no sh
  exit
  router rip
  version 2
  no auto-summary
  network 6.6.6.0
  network 16.0.0.0
  end
  write
  show ip ospf database router
  R1
  router ospf 1
  redistribute rip subnets metric 25 metric-type 1exitrouter ripredistribute ospf 1 metric 2

 

  做優(yōu)化

 

復(fù)制代碼
代碼如下:
  R5#conf t
  R5(config)#router ospf 1
  R5(config-router)#area 2 stub no-summary

 

  把3類 4類 5類 都去了以上就是思科 GNS3 配置 rip OSPF 路由重發(fā)布,在此感謝本文的原創(chuàng)分享“網(wǎng)絡(luò)技術(shù)” 博客,請務(wù)必保留此出處http://funinghua.blog.51cto.com/9125449/1548456,謝謝閱讀,希望能幫到大家,請繼續(xù)關(guān)注VEVB武林網(wǎng),我們會努力分享更多優(yōu)秀的文章。



發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 克什克腾旗| 文成县| 琼海市| 贵阳市| 莱州市| 泾阳县| 斗六市| 沅江市| 平乡县| 西青区| 萍乡市| 尉犁县| 布尔津县| 桂平市| 阳山县| 宜丰县| 遵义县| 陆良县| 峡江县| 屯留县| 景德镇市| 南康市| 巴林右旗| 长岭县| 奉化市| 马边| 平山县| 金塔县| 宿州市| 文水县| 报价| 淅川县| 吉木乃县| 化州市| 鄂托克旗| 新龙县| 巴东县| 区。| 松潘县| 长岭县| 奇台县|