Download presentation
Presentation is loading. Please wait.
1
新北市核心機房網路實作 網路防火牆 無線Thin AP架構設定實務
教育研究發展科 李 煒
2
新北市高國中小學校園網路架構
3
學校IP網段說明
4
新北市教育網路未來架構
6
校園網路無線認證實務 核心機房動態路由 防火牆設定實務
李煒
7
課程三個LAB 1.校園L3,兩所學校至少五個vlan Lab 2.dsa3600認證路由實作 Lab 3.OSPF Lab
Dsa-wan、wan、lan、intra-1 、 wlan 2.dsa3600認證路由實作 Lab 3.OSPF Lab
8
新北市高國中小學校園網路架構
11
Why 動態路由 Static Route 每校至少10個 Vlan,10筆路由 10x300=3000筆路由 管理不易 不易設計備援
Hsrp VRRP
12
課程內容 建立校園骨幹Dlink 3627 Lab,含出口Wan ntpc Auth
建立forti3950 學校vlan and 10筆靜態路由指到Dlink 3627. 確認dlink3627與forti 可以跨學校vlan ip互通. 建立N7K 與 3950 單一學校ospf路由交換 透過N7K 與 3950 間路由交換,跨校互通 啟動ospf Check nei Check topology table
13
校園L3 core switch Lab 做出 兩所學校wan Lan Intra-1 wlan
設定一筆static route 到 forti3950 firewall L3 wan /29 Firewall interface /29 Lan /24 Intra /24 DSA /24 Wlan /24
14
指令集 en Config t exit Interface vlan XX
Ip add x No sh Ip route t.t.t.t m.m.m.m d.d.d.d Ip routing
15
Trouble shoot Sh ip inter bri Sh run inter xx Sh ip route Sh Ip arp
Sh mac address
16
無線認證路由設定
17
Fortigate 3950 route設定 Router(config)#ip route Router(config)#ip route Router(config)#ip route Router(config)#ip route Router(config)#ip route Router(config)#ip route Router(config)#ip route
18
OSPF的開始 PC>ping Pinging with 32 bytes of data: Reply from : bytes=32 time=31ms TTL=254 Reply from : bytes=32 time=16ms TTL=254 Reply from : bytes=32 time=15ms TTL=254 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 15ms, Maximum = 31ms, Average = 19ms PC>ping Pinging with 32 bytes of data: Request timed out. ??????? Why? N7k 尚未設定回來路由 Ospf課程的開
19
啟動OSPF路由協定 Router ospf router-id
該指令的關鍵字是router ospf,後面接上的數字,指的是Process ID。此數字必須是單一獨特,可以是任意選擇的數字。 這個Process ID數字不需要與其他使用OSPF路由協定的路由器設備上的Process ID相同。
20
設定OSPF路由協定連接的網路 設定路由器設備所連接的網路區段資訊 Network x.x.x.x y.y.y.y area Z
第一個接上的位址可以是網路位址(Network Address)、子網路位址(Sub-network Address)或是單一電腦的IP位址。 接下來要指定的是遮罩(Wildcard Mask),這個遮罩用來指定所要符合(match)的IP位址。其中,0代表必須符合,而1則代表不比對,就是Don’t Care。
21
Loopback介面與路由器ID值 Loopback介面是一種特殊的虛擬介面,藉由指定IP到這個Loopback介面上,可以改變路由器的路由器ID值,因為能夠在Loopback介面上指定更大的IP值,以便更改這台路由器的IP值,也因此可以變更DR路由器和BDR路由器的選取。
22
Ospf名詞解釋 Neighbor Adjacent DR BDR DROTHER LSA type Type 5 OE2 Type 7 ON2
23
Ospf常用指令 Sh ip ospf nei Sh ip ospf database Clear ip ospf pro
Sh run Sh ip ospf inter
24
ABR ASBR STUB NSSA
25
Forti 3950 ospf設定指令 router ospf 1 log-adjacency-changes
area 1256 nssa area 1256 stub area 1256 network area 1256 Redistribute static subnets (static route) Redistribute connect subnets Clear ip ospf process Sh ip ospf data
26
OSPF command Review 1. router ospf process-id
2.ios only enable interface match network cmd 3. network widecard 4. area X 5.sh ip ospf nei 6. sh ip ospf protocol 7.sh ip ospf database
27
N7k ospf Router(config)#router ospf 1 Router(config-router)#net
Router(config-router)#network area 1256 Router(config-router)#do sh ip ospf nei Neighbor ID Pri State Dead Time Address Interface FULL/DR :00: Vlan200 FULL/DR :00: Vlan969 FULL/DROTHER 00:00: Vlan30 Router(config-router)# 00:47:33: %OSPF-5-ADJCHG: Process 1, Nbr on Vlan200 from LOADING to FULL, Loading Done
28
3950 redistribute Router(config-router)#redistribute connected su
Router(config-router)#redistribute connected subnets Router(config-router)#redistribute st Router(config-router)#redistribute static ? metric Metric for redistributed routes metric-type OSPF/IS-IS exterior metric type for redistributed routes subnets Consider subnets for redistribution into OSPF tag Set tag for routes redistributed into OSPF <cr> Router(config-router)#redistribute sta Router(config-router)#redistribute static su Router(config-router)#redistribute static subnets Router(config-router)#
29
OSPF NSSA
30
N7k Sh ip route Gateway of last resort is to network /24 is subnetted, 7 subnets O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 O N /24 [110/20] via , 00:00:02, Vlan200 /16 is variably subnetted, 7 subnets, 3 masks O N /24 [110/20] via , 00:57:59, Vlan969 O N /24 [110/20] via , 00:00:02, Vlan200 O N /29 [110/20] via , 00:00:57, Vlan200 C /29 is directly connected, Vlan969 L /32 is directly connected, Vlan969 C /29 is directly connected, Vlan200 L /32 is directly connected, Vlan200 /16 is variably subnetted, 2 subnets, 2 masks C /24 is directly connected, Vlan30 L /32 is directly connected, Vlan30 /24 is variably subnetted, 2 subnets, 2 masks C /24 is directly connected, Vlan11 L /32 is directly connected, Vlan11 O N /24 [110/20] via , 00:57:59, Vlan969 S* /0 [1/0] via Router#ping Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5),
31
Fortigate Firewall 模擬學校L3 Router設定 模擬fortigate 3950 一個Vdom設定 Policy設定
模擬三個vlan 及 一個wan 模擬fortigate 3950 一個Vdom設定 向下與dlink 3627 Static Route 向上與cisco nexus 7K ospf 交換路由 Policy設定 實作Thin Ap controller 對照CISCO LAB
32
interface 設定 port Create Vlan 將vlan加到port 給Ip address 給dhcp派ip
設定interface vlan ip 派dhcp
33
Routing 設定static route 設定ospf
34
policy 設定policy nat 設定radius By網段管理
35
Thin AP 三個步驟參閱 Fortigate ppt
36
報告完畢 謝謝指教 新北市政府教育局 教育研究發展科 李煒
Similar presentations