怎麼設定網件全網管路由交換機動態路由單區域OSPF
網件netgear長期致力於為企業使用者與SOHO使用者提供簡便易用並具有強大功能的網路綜合解決方案,那麼你知道怎麼去設定網件全網管路由交換機動態路由單區域OSPF嗎?下面是小編整理的一些關於的的相關資料,供你參考。
設定網件全網管路由交換機動態路由單區域OSPF的方法:
Netgear的全網管交換機中M6100、M7300、M5300均支援OSPFM7300和部分型號的M5300需要通過對應的license升級啟用OSPF功能
本文件以一臺M6100和兩臺M5300一臺M5300-28G3,一臺M530028GF3為例說明如何配置單區域的OSPF。
拓撲
配置
M6100
配置埠IP
M6100-3S Config#interface loopback 0
M6100-3S Interface loopback 0#ip address 10.1.1.1 255.255.255.255
M6100-3S Interface loopback 0#interface loopback 1
M6100-3S Interface loopback 1#ip address 10.1.2.1 255.255.255.255
M6100-3S Interface loopback 1#interface 1/0/1
M6100-3S Interface 1/0/1#ip address 192.168.1.1 255.255.255.0
M6100-3S Interface 1/0/1#routing
M6100-3S Interface 1/0/1#interface 2/0/1
M6100-3S Interface 2/0/1#ip address 192.168.2.1 255.255.255.0
M6100-3S Interface 2/0/1#exit
M6100-3S Config#
配置OSPF
M6100-3S Config#router ospf
M6100-3S Config-router#enable
M6100-3S Config-router#router-id 1.1.1.1
!配置router id,Netgear的裝置啟用OSPF必須手動配置router id
M6100-3S Config-router#network 192.168.1.0 0.0.0.255 area 0
!在OSPF檢視下宣告網段到area 0
M6100-3S Config-router#network 192.168.2.0 0.0.0.255 area 0
M6100-3S Config-router#network 10.1.1.1 0.0.0.0 area 0
M6100-3S Config-router#network 10.1.2.1 0.0.0.0 area 0
M6100-3S Config-router#exit
M6100-3S Config#
M5300-28G3
配置埠IP
M5300-28G3 Config#interface loopback 0
M5300-28G3 Interface loopback 0#ip address 172.16.1.1 255.255.255.255
M5300-28G3 Interface loopback 0#interface loopback 1
M5300-28G3 Interface loopback 1#ip address 172.16.2.1 255.255.255.255
M5300-28G3 Interface loopback 1#interface 1/0/1
M5300-28G3 Interface 1/0/1#routing
M5300-28G3 Interface 1/0/1#ip address 192.168.1.2 255.255.255.0
M5300-28G3 Interface 1/0/1#exit
M5300-28G3 Config#
配置OSPF
M5300-28G3 Config#router ospf
M5300-28G3 Config-router#enable
M5300-28G3 Config-router#router-id 2.2.2.2
M5300-28G3 Config-router#network 192.168.1.0 0.0.0.255 area 0
M5300-28G3 Config-router#network 172.16.1.1 0.0.0.0 area 0
M5300-28G3 Config-router#network 172.16.2.1 0.0.0.0 area 0
M5300-28G3 Config-router#exit
M5300-28G3 Config#
M5300-28GF3
配置埠IP
M5300-28GF3 Config#interface loopback 0
M5300-28GF3 Interface loopback 0#ip address 172.16.3.1 255.255.255.255
M5300-28GF3 Interface loopback 0#interface loopback 1
M5300-28GF3 Interface loopback 1#ip address 172.1.1 255.255.255.255
M5300-28GF3 Interface loopback 1#interface 1/0/1
M5300-28GF3 Interface 1/0/1#routing
M5300-28GF3 Interface 1/0/1#ip address 192.168.2.2 255.255.255.0
M5300-28GF3 Interface 1/0/1#exit
M5300-28GF3 Config#
配置OSPF
M5300-28GF3 Config#router ospf
M5300-28GF3 Config-router#enable
M5300-28GF3 Config-router#router-id 3.3.3.3
M5300-28GF3 Config-router#network 192.168.2.0 0.0.0.255 area 0
M5300-28GF3 Config-router#network 172.16.3.1 0.0.0.0 area 0
M5300-28GF3 Config-router#network 172.1.1 0.0.0.0 area 0
M5300-28GF3 Config-router#exit
M5300-28GF3 Config#
檢視狀態
M6100上檢視OSPF鄰居和全域性路由表
M6100-3S #show ip ospf neighborRouter IDPriorityIP AddressNeighborStateDead
InterfaceTime
-----------------------------------------------------------------------
2.2.2.21192.168.1.21/0/1Full/DR34
3.3.3.31192.168.2.22/0/1Full/DR39
M6100-3S #show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
C 10.1.1.1/32 [0/1] directly connected, loopback 0
C 10.1.2.1/32 [0/1] directly connected, loopback 1
O 172.16.1.1/32 [110/2] via 192.168.1.2, 00h:01m:42s, 1/0/1
O 172.16.2.1/32 [110/2] via 192.168.1.2, 00h:01m:42s, 1/0/1
O 172.16.3.1/32 [110/2] via 192.168.2.2, 00h:00m:31s, 2/0/1
O 172.1.1/32 [110/2] via 192.168.2.2, 00h:00m:21s, 2/0/1
C 192.168.1.0/24 [0/1] directly connected, 1/0/1
C 192.168.2.0/24 [0/1] directly connected, 2/0/1
M5300-28G3上檢視OSPF鄰居和全域性路由表
M5300-28G3 #show ip ospf neighborRouter IDPriorityIP AddressNeighborStateDead
InterfaceTime
-----------------------------------------------------------------------
1.1.1.11192.168.1.11/0/1Full/BACKUP-DR32
M5300-28G3 #show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
O 10.1.1.1/32 [110/2] via 192.168.1.1, 01h:53m:53s, 1/0/1
O 10.1.2.1/32 [110/2] via 192.168.1.1, 01h:53m:53s, 1/0/1
C 172.16.1.1/32 [0/1] directly connected, loopback 0
C 172.16.2.1/32 [0/1] directly connected, loopback 1
O 172.16.3.1/32 [110/3] via 192.168.1.1, 01h:52m:43s, 1/0/1
O 172.1.1/32 [110/3] via 192.168.1.1, 01h:52m:43s, 1/0/1
C 192.168.1.0/24 [0/1] directly connected, 1/0/1
O 192.168.2.0/24 [110/2] via 192.168.1.1, 01h:53m:04s, 1/0/1
M5300-28GF3上檢視OSPF鄰居和全域性路由表
M5300-28GF3 #show ip ospf neighborRouter IDPriorityIP AddressNeighborStateDead
InterfaceTime
-----------------------------------------------------------------------
1.1.1.11192.168.2.11/0/1Full/BACKUP-DR35
M5300-28GF3 #show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
O 10.1.1.1/32 [110/2] via 192.168.2.1, 01h:52m:44s, 1/0/1
O 10.1.2.1/32 [110/2] via 192.168.2.1, 01h:52m:44s, 1/0/1
O 172.16.1.1/32 [110/3] via 192.168.2.1, 01h:52m:44s, 1/0/1
O 172.16.2.1/32 [110/3] via 192.168.2.1, 01h:52m:44s, 1/0/1
C 172.16.3.1/32 [0/1] directly connected, loopback 0
C 172.1.1/32 [0/1] directly connected, loopback 1
O 192.168.1.0/24 [110/2] via 192.168.2.1, 01h:52m:44s, 1/0/1
C 192.168.2.0/24 [0/1] directly connected, 1/0/1
看過文章“"的人還:
1.網件路由器WPS加密步驟之PIN
2.網件JWNR2000T WPS加密步驟
3.網件WAC720和WAC730如何升級韌體
4.網件netgear無線路由器設定方法
5.NETGEAR美國網件路由器軟復位
6.網件路由器設定網址
7.網件R6220初體驗及中繼設定
8.友訊無線路由器如何升級韌體
- 怎麼設定網件全網管路由交換機動態路由單區域OSPF
- 龍貓電影的所有臺詞
- 工程專案管理崗位的主要職責
- 北京算稅後工資有什麼方法
- 漂亮的玫瑰花簡筆畫要怎麼畫
- 薄荷腦有哪些用法用量及功效作用
- 關於迎賓員辭職報告範文
- 我的讀書生活徵文
- 司馬光破甕救友閱讀練習及答案
- 註冊海外瑞士公司
- 禁毒戒毒優秀標語口號
- 有關於石家莊的個人求職信
- 一面讀書筆記800字
- 非主流帶符號的句子
- 端午風水禁忌你知道多少
- 辣媽向前衝大結局是什麼
- 樸實無華的意思是什麼
- 關於笑看人生的好句子
- 精選的學校化學教師工作總結
- 學期末初中學生教師評語
- 康熙字典五行屬金的字
- 康熙字典五行屬木的字
- 康熙字典五行屬水的字
- 康熙字典五行屬火的字
- 康熙字典五行屬土的字