网件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.友讯无线路由器如何升级韧体
网件路由器设置方法如下:1、打开电脑,在浏览器的地址栏输入netgear路由器的IP地址在路由器的背后可以看到默认的地址和密码。
2、进入路由器管理界面后点击因特网。
3、点击是因特网服务提供商选PPPOE再输入账号密码点击应用。
4、路由器重启后点击路由器状态即可看到路由器已经和外网连好。
5、点无线设置,进行WPA_PSK或WPA2-PSK加密,可以防止别人蹭网。
网件无线路由器是美国产品,一般是对路由有特殊的要求的玩家去选购的,我们多数选择路由器的时候会选择TP-Link、腾达以及D-Link,因此很多人对于网件无线路由器不是很了解。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)