網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、RIP、生成樹)課設(shè)_第1頁
網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、RIP、生成樹)課設(shè)_第2頁
網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、RIP、生成樹)課設(shè)_第3頁
網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、RIP、生成樹)課設(shè)_第4頁
網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、RIP、生成樹)課設(shè)_第5頁
已閱讀5頁,還剩25頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、沈陽航空航天大學課課 程程 設(shè)設(shè) 計計 報報 告告課程設(shè)計名稱:計算機網(wǎng)絡(luò)課程設(shè)計計算機網(wǎng)絡(luò)課程設(shè)計課程設(shè)計題目:網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWWWWW ServerServer、幀中繼、幀中繼、RIPRIP、生成樹)、生成樹)院(系):計算機學院專 業(yè):計算機科學與技術(shù)(物聯(lián)網(wǎng)技術(shù)方向)班 級: xxx班學 號:xxxx姓 名: xxx指導教師: 拱長青完成日期: 2016年7月12日沈陽航空航天大學課程設(shè)計報告 沈陽航空航天大學沈陽航空航天大學課課程程設(shè)設(shè)計計任任務(wù)務(wù)書書課程設(shè)計名稱計計算算機機網(wǎng)網(wǎng)絡(luò)絡(luò)課課程程設(shè)設(shè)計計專業(yè)計計算算機機科科學學與與技技術(shù)術(shù)學生姓名xxx班級xx

2、x學號xxx題目名稱網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、網(wǎng)絡(luò)規(guī)劃(交換機環(huán)、WWW Server、幀中繼、幀中繼、RIP、生成樹)、生成樹)起止日期2016年6月27日起至2016年7月8日止課設(shè)內(nèi)容和要求:內(nèi)容:內(nèi)容:實現(xiàn)如下圖所示的企業(yè)網(wǎng)絡(luò)規(guī)劃:S1、S2、S3、R1 為局域網(wǎng)內(nèi)設(shè)備,R1 為網(wǎng)關(guān); R2、S4 為廣域網(wǎng)上設(shè)備。PC1、PC2 連接到 S2,WWW Server 連到 R1,PC4 連到S4。主要功能包括:1根據(jù)網(wǎng)絡(luò)結(jié)構(gòu)合理規(guī)劃 IP 地址;2R1 和 R2 間配置為幀中繼協(xié)議。3路由設(shè)備之間使用 RIP 協(xié)議,并設(shè)置一些靜態(tài)路由;4在 S2 上劃分 VLAN,通過 S1 互通;5在 R1

3、 上應用 NAT,實現(xiàn)局域網(wǎng)訪問PC4,PC4 可訪問局域網(wǎng) FTP Server;6配置 ACL,實現(xiàn) PC2 能 Ping通 R2 接口 IP,但不能 Ping 通 PC4。7S1、 S2、 S3 上配置 STP。參考資料:1 計算機網(wǎng)絡(luò)教程(第二版)M.北京:人民郵電出版社,20062 網(wǎng)絡(luò)設(shè)備互連學習指南M. 北京: 科學出版社,2009教教研研室室審審核核意意見見:同同意意立立題題 教教研研室室主主任任簽簽字字:指導教師(簽名)指導教師(簽名)年月日沈陽航空航天大學課程設(shè)計報告 I 學學 生(簽名)生(簽名)年月日目目 錄錄沈陽航空航天大學沈陽航空航天大學.I1 系統(tǒng)分析系統(tǒng)分析.1

4、1.1 需求分析.11.2 網(wǎng)絡(luò)協(xié)議分析.11.3 組網(wǎng)技術(shù)簡介.22 網(wǎng)絡(luò)系統(tǒng)規(guī)劃網(wǎng)絡(luò)系統(tǒng)規(guī)劃.32.1 網(wǎng)絡(luò)層次模型與網(wǎng)絡(luò)拓撲設(shè)計.32.2 VLAN 劃分.32.3 IP 地址規(guī)劃與路由設(shè)計 .42.4 安全策略.42.5 網(wǎng)絡(luò)設(shè)備選型.53 網(wǎng)絡(luò)設(shè)備配置網(wǎng)絡(luò)設(shè)備配置.63.1 交換機的配置.63.2 路由器的配置.73.3 RIP 的配置:.83.4 幀中繼的配置.93.5 NAT 的配置.123.6 靜態(tài)路由的配置.133.7 ACL 的配置.133.8 生成樹的配置.134 測試及運行結(jié)果測試及運行結(jié)果.14參考文獻參考文獻.17附附 錄錄.18沈陽航空航天大學課程設(shè)計報告 0 1

5、 系統(tǒng)分析1.1 需求分析需求分析本次課程設(shè)計要求根據(jù)給定的網(wǎng)絡(luò)拓撲圖,在合理規(guī)劃 IP 地址的基礎(chǔ)上配置各種網(wǎng)絡(luò)協(xié)議實現(xiàn)題目所要求的功能。主要要求如下:(1)在 IP 地址分配方面,企業(yè)內(nèi)部網(wǎng)段設(shè)為 ,公網(wǎng)網(wǎng)段設(shè)定為 ;(2)路由器之間數(shù)據(jù)封裝采用幀中繼協(xié)議;(3)各個路由設(shè)備之間采用 RIP 協(xié)議,并在路由器上設(shè)置靜態(tài)路由;(4)在自制系統(tǒng)邊緣路由 R1 上配置 NAT 實現(xiàn)把內(nèi)部私有地址轉(zhuǎn)化為相應的在公網(wǎng)中的 IP 地址;(5)在廣域網(wǎng)一端的路由器上配置 ACL,控制允許與拒絕某一指定網(wǎng)址,實現(xiàn) PC2 能夠 Ping 通 R2 接口 IP,但不能

6、Ping 通 PC4;(6)在局域網(wǎng)交換機 S1、S2、S3 上配置 STP,實現(xiàn) PC1、PC2 和 PC3 之間互相都能 Ping 通。1.2 網(wǎng)絡(luò)協(xié)議分析網(wǎng)絡(luò)協(xié)議分析本課設(shè)所涉及的主要協(xié)議有 RIP、幀中繼等。對其協(xié)議工作原理,相應網(wǎng)絡(luò)運行機制等的分析如下RIP(routing information protocol,路由信息協(xié)議),是屬于內(nèi)部網(wǎng)關(guān)路由協(xié)議,用于小型網(wǎng)絡(luò)。其作為距離矢量路由協(xié)議,RIP 使用距離矢量來決定最優(yōu)路徑,具體來講,就是提供跳數(shù)作為尺度來衡量路由距離,最多支持跳數(shù)為 15,跳數(shù)16 表示不可達,跳數(shù)最小即為最優(yōu)路由。RIP 協(xié)議僅和相鄰路由器交換數(shù)據(jù),交換的信息

7、是當前路由器所知道的全部信息。路由器剛開始工作時,只知道直接連接的網(wǎng)絡(luò)距離,以后每一個路由器也只和數(shù)目有限的相鄰路由交換并更新路由信息。經(jīng)過如干次更新后,所有路由最終知道到達自制系統(tǒng)中任何一個網(wǎng)絡(luò)的最短沈陽航空航天大學課程設(shè)計報告 1 距離和下一跳地址。RIP 協(xié)議的收斂過程較快,即在自制系統(tǒng)中所有的節(jié)點都能得到正確的路由信息。幀中繼(Frame Relay),是一種封包交換通信網(wǎng)絡(luò),一般用在開放系統(tǒng)互連參考模型中的數(shù)據(jù)鏈路層,用于連接計算機系統(tǒng)的面向分組的通信方法。用戶信息以幀(frame)為單位進行傳送,網(wǎng)絡(luò)在傳送過程中對幀結(jié)構(gòu)、傳送差錯等情況進行檢查,對出錯幀直接予以丟棄,同時,通過對幀

8、中地址段 DLCI 的識別,實現(xiàn)用戶信息的統(tǒng)計復用。幀中繼是一種寬帶分組交換,使用復用技術(shù)時,其傳輸速率可高達 44.6Mbps。1.3 組網(wǎng)技術(shù)簡介組網(wǎng)技術(shù)簡介本課設(shè)所用到的相關(guān)網(wǎng)絡(luò)通信技術(shù)作簡單介紹如下:接入層是指網(wǎng)絡(luò)中直接面向用戶連接或訪問的部分,本規(guī)劃采用交換機實現(xiàn)對中斷工作設(shè)備的接入,交換機之間采用劃分虛擬局域網(wǎng)(VLAN)的方式實現(xiàn)不同 VLAN 之間的主機通信。匯聚層是樓群或小區(qū)的信息匯聚點,是連接接入層和核心層的網(wǎng)絡(luò)設(shè)備,為接入層提供數(shù)據(jù)的匯聚、傳輸、管理、分發(fā)處理、匯聚層為接入層提供基于策略的連接,如地址合并、協(xié)議過濾、路由服務(wù)、認證管理等。通過網(wǎng)段劃分(如 VLAN)與網(wǎng)絡(luò)

9、隔離,可以防止某些網(wǎng)段的問題蔓延和影響核心層。匯聚層同時也可以提供接入層虛擬網(wǎng)絡(luò)之間的互連,控制和限制接入層對核心層的訪問,保證核心層的安全和穩(wěn)定,本規(guī)劃采用路由和三層交換機實現(xiàn)匯聚層的工作,可實現(xiàn)不同 VLAN 間的通信,使局域網(wǎng)內(nèi) PC 機與服務(wù)器相互訪問,并保證傳輸質(zhì)量,而且確保核心層的數(shù)據(jù)工作效率不受影響。沈陽航空航天大學課程設(shè)計報告 2 2 網(wǎng)絡(luò)系統(tǒng)規(guī)劃2.1 網(wǎng)絡(luò)層次模型與網(wǎng)絡(luò)拓撲設(shè)計網(wǎng)絡(luò)層次模型與網(wǎng)絡(luò)拓撲設(shè)計接入層采用 CISCO WS-C2960-24TT 二層交換機,實現(xiàn)對互聯(lián)網(wǎng)主機和其他終端的接入。如圖 2 中 S2 和 S3。 匯聚層采用 CISCO WS-C3560-2

10、4PS 三層交換機,實現(xiàn)局域網(wǎng)內(nèi)部信息的交換和匯聚、認證與管理。也實現(xiàn)交換機不同 VLAN 之間的通信。如圖 2.1 中 S1。 核心層采用 CISCO 2620XM 路由器,實現(xiàn)局域網(wǎng)和骨干網(wǎng)絡(luò)之間的優(yōu)化傳輸,是所有流量的最終承受者和匯聚者。如圖 2.1 中 R1 和 R22.2VLAN 劃分劃分局域網(wǎng)中主要有兩個 VLAN,分別是:VLAN10:在 S1、S2 和 S3 上都有,是 PC1 和 PC3 的所屬 vlan,虛擬端口IP 地址為:/24。沈陽航空航天大學課程設(shè)計報告 3 VLAN20:在 S1 和 S2 上有,是 PC2 的所屬的 vlan,虛擬端口 I

11、P 地址為:/24。2.3IP 地址規(guī)劃與路由設(shè)計地址規(guī)劃與路由設(shè)計局域網(wǎng)網(wǎng)段為: 廣域網(wǎng)網(wǎng)段為: NAT 網(wǎng)絡(luò)地址轉(zhuǎn)換:(1) 局域網(wǎng) PC1 的 IP 地址 轉(zhuǎn)換為公網(wǎng) IP 地址1;(2) 局域網(wǎng) PC2 的 IP 地址 轉(zhuǎn)換公網(wǎng) IP 地址 2;(3) 局域網(wǎng) PC3 的 IP 地址 轉(zhuǎn)換公網(wǎng) IP 地址 3;(4) 局域網(wǎng) WWW 服務(wù)器的 IP 地址 192.168.14.

12、2 轉(zhuǎn)換公網(wǎng) IP 地址4; 網(wǎng)絡(luò)協(xié)議使用 RIP 協(xié)議,采用幀中繼封裝。2.4安全策略安全策略為安全考慮使用的技術(shù)主要有 NAT 和 ACL 兩種,分別介紹如下:網(wǎng)絡(luò)地址轉(zhuǎn)換(NAT,Network Address Translation)屬接入廣域網(wǎng)(WAN)技術(shù),是一種將私有(保留)地址轉(zhuǎn)化為合法 IP 地址的轉(zhuǎn)換技術(shù),它被廣泛應用于各種類型 Internet 接入方式和各種類型的網(wǎng)絡(luò)中。NAT 不僅完美地解決了 lP 地址不足的問題,而且還能夠有效地避免來自網(wǎng)絡(luò)外部的攻擊,隱藏并保護網(wǎng)絡(luò)內(nèi)部的計算機。NAT 的實現(xiàn)方式有三種,即靜態(tài)轉(zhuǎn)換 Static Nat、動

13、態(tài)轉(zhuǎn)換 Dynamic Nat 和 端口多路復用 OverLoad,本次設(shè)計采用的是靜態(tài)地址轉(zhuǎn)換。訪問控制列表(Access Control List,ACL) 是路由器和交換機接口的指令列表,用來控制端口進出的數(shù)據(jù)包。ACL 適用于所有的被路由協(xié)議,如IP、IPX、AppleTalk 等。這張表中包含了匹配關(guān)系、條件和查詢語句,表只是一個框架結(jié)構(gòu),其目的是為了對某種訪問進行控制。在廣域網(wǎng)路由器 R1 上配置ACL,實現(xiàn)控制局域網(wǎng)主機 PC2 能 Ping 通 R2 端口 IP,但不能與 PC4 進行通信。通過訪問控制鏈表限制了某些用戶或設(shè)備對網(wǎng)絡(luò)的使用,使得廣域網(wǎng)上的主機得沈陽航空航天大學課

14、程設(shè)計報告 4 到了有效的保護,提高了網(wǎng)絡(luò)性能。2.5網(wǎng)絡(luò)設(shè)備選型網(wǎng)絡(luò)設(shè)備選型 CISCO 2620XM:模塊化路由,支持多種網(wǎng)絡(luò)協(xié)議,可應用于局域網(wǎng)到局域網(wǎng)路由、遠程訪問服務(wù)器、廣域網(wǎng)訪問。 CISCO WS-C2960-24TT:智能交換機,為網(wǎng)絡(luò)邊緣提供智能服務(wù),提供桌面快速以太網(wǎng)和 10/100/1000 千兆以太網(wǎng)連接,有助于提供增強 LAN 服務(wù)。CISCO WS-C3560-24PS:三層交換機,實現(xiàn)局域網(wǎng)內(nèi)部信息的交換和匯聚、認證與管理。實現(xiàn)不同 VLAN 之間的通信。本次課設(shè)所選擇的設(shè)備參數(shù)及功能詳見下表。表表 2.12.1 設(shè)備選型設(shè)備選型設(shè)備名稱設(shè)備型號、參數(shù)功能描述路由

15、器Generic實現(xiàn)不同網(wǎng)絡(luò)之間的通信兩層交換機Generic擴展局域網(wǎng)三層交換機3560-24PS兼有路由器和二層交換機的功能服務(wù)器Server-pt提供 FTP 服務(wù)計算機PC-pt終端設(shè)備雙絞線連接作用V35 電纜連接作用云端Cloud-PT模擬廣域網(wǎng)沈陽航空航天大學課程設(shè)計報告 5 3 網(wǎng)絡(luò)設(shè)備配置3.1 交換機的配置交換機的配置1. 交換機 S1 的配置:SwitchenSwitch#conf tSwitch(config)#hostname switch1switch1(config)#vlan 10switch1(config-vlan)#exitswitch1(config)#

16、vlan 20switch1(config-vlan)#exitswitch1(config)#int vlan 10switch1(config-if)#ip address switch1(config-if)#exitswitch1(config)#int vlan 20switch1(config-if)#ip address switch1(config-if)#exitswitch1(config)#int f0/2switch1(config-if)#no switchport

17、switch1(config-if)#ip address switch1(config-if)#no shutdownswitch1(config-if)#exit2. 交換機 S2 的配置SwitchenSwitch#conf tSwitch(config)#hostname switch2switch2(config)#vlan 10沈陽航空航天大學課程設(shè)計報告 6 switch2(config-vlan)#exitswitch2(config)#vlan 20switch2(config-vlan)#exitswitch2(confi

18、g)#int f0/10switch2(config-if)#switchport access vlan 10switch2(config-if)#exitswitch2(config)#int f0/11switch2(config-if)#switchport access vlan 20switch2(config-if)#exitswitch2(config)#int f0/1switch2(config-if)#switchport mode trunkswitch2(config-if)#exitswitch2(config)#int f0/2 switch2(config-if

19、)#switchport mode trunk3.交換機 S3 的配置SwitchenSwitch#conf tSwitch(config)#hostname switch3switch3(config)#vlan 10switch3(config-vlan)#exitswitch3(config)#int f0/1switch3(config-if)#switchport access vlan 10switch3(config-if)#exitswitch3(config)#int f0/3switch3(config-if)#switchport mode trunk3.2 路由器的配置

20、路由器的配置1. 路由器 R1 的配置:router1沈陽航空航天大學課程設(shè)計報告 7 RouterenRouter#conf tRouter(config)#hostname router1router1(config)#int f0/0router1(config-if)#ip address router1(config-if)#no shutdownrouter1(config-if)#exitrouter1(config)#int f1/0router1(config-if)#ip address 255.

21、255.255.0router1(config-if)#no shutdownrouter1(config-if)#int ser 2/0router1(config-if)#ip address router1(config-if)#clock rate 64000router1(config-if)#no shutdown2. 路由器 R2 的配置:RouterenRouter#conf tRouter(config)#hostname router2router2(config)#int ser 2/0router2(config-if)#ip add

22、ress router2(config-if)#no shutdownrouter2(config-if)#exitrouter2(config)#int f0/0router2(config-if)#ip address router2(config-if)#no shutdown3.3 RIP 的配置:的配置:/對 switch1 設(shè)置 RIPswitch1(config)#route rip沈陽航空航天大學課程設(shè)計報告 8 switch1(config-router)#network 192.168.

23、10.0switch1(config-router)#network switch1(config-router)#network switch1(config-router)#version 2switch1(config-router)#no auto-summary/對 router1 設(shè)置 RIProuter1(config)#route riprouter1(config-router)#network router1(config-router)#network router1(conf

24、ig-router)#network router1(config-router)#version 2router1(config-router)#no auto-summary/對 router2 設(shè)置 RIProuter2(config)#route riprouter2(config-router)#network router2(config-router)#network router2(config-router)#version 2router2(config-router)#no auto-summary3.4 幀中繼的配

25、置幀中繼的配置/對 router1 設(shè)置幀中繼router1(config)#in ser 2/0 router1(config-if)#encap frame-relay /封裝幀中繼協(xié)議router1(config-if)# router1(config-if)#bandwidth 64 /設(shè)置帶寬,必須設(shè)置router1(config-if)#frame-relay map ip 102 broadcast router1(config-if)#frame-relay lmi-type ciscorouter1(config-if)#exit/對 router2 設(shè)置幀

26、中繼沈陽航空航天大學課程設(shè)計報告 9 router2(config)#int ser 2/0router2(config-if)#encap frame-relayrouter2(config-if)#bandwidth 64router2(config-if)#frame-relay map ip 201broadcastrouter2(config-if)#frame-relay lmi-type ansi/對云端的設(shè)置打開圖形界面配置,選擇 Serial 0(Serial 1 類似) ,DLCI 編號:輸入102,Name :輸入 1-2,點擊添加。如圖 3.1 和 3

27、.2 所示圖圖 3.1沈陽航空航天大學課程設(shè)計報告 10 圖圖 3.2選擇 frame-relay(幀中繼)選項,將剛添加的兩個接口配置添入frame-relay,點擊添加。如圖 3.3 所示。沈陽航空航天大學課程設(shè)計報告 11 圖圖 3.33.5 NAT 的配置的配置/對 router1 設(shè)置 NATrouter1(config)#ip nat inside source static 1router1(config)#ip nat inside source static 2router1(

28、config)#ip nat inside source static 3router1(config)#ip nat inside source static 4router1(config)#int f0/0router1(config-if)#ip nat insiderouter1(config)#int f1/0router1(config-if)#ip nat insiderouter1(config)#int ser 2/0router1(config-if)#ip nat out

29、side沈陽航空航天大學課程設(shè)計報告 12 3.6 靜態(tài)路由的配置靜態(tài)路由的配置/對 router1 的靜態(tài)路由配置router1(config)#ip route /對 router2 的靜態(tài)路由配置router2(config)#ip route router2(config)#exit3.7 ACL 的配置的配置/對 router2 設(shè)置 ACLrouter2(config)#ip access-list standard p1d2router2(c

30、onfig-std-nacl)#deny 3 router2(config-std-nacl)#permit anyrouter2(config-std-nacl)#exitrouter2(config)#int f0/0router2(config-if)#ip access-group p1d2 out3.8 生成樹的配置生成樹的配置/對 switch1 設(shè)置生成樹switch1(config)#spanning-tree vlan 10 priority 4096 /對 switch2 設(shè)置生成樹switch2(config)#spanning-tr

31、ee vlan 10 priority 8192/對 switch3 設(shè)置生成樹switch3(config)#spanning-tree vlan 10 沈陽航空航天大學課程設(shè)計報告 13 4 測試及運行結(jié)果4.1 幀中繼協(xié)議配置結(jié)果:幀中繼協(xié)議配置結(jié)果:在 router1 上輸入 show int ser 2/0 顯示如圖 4.1.圖圖 4.14.2 RIP 配置和靜態(tài)路由配置結(jié)果配置和靜態(tài)路由配置結(jié)果在 router1 上輸入 show ip rou 顯示如圖 4.2沈陽航空航天大學課程設(shè)計報告 14 圖圖 4.24.3 ACL 配置結(jié)果配置結(jié)果在 router2 上輸入 show ac

32、cess-lists 顯示如圖 4.3圖圖 4.34.4 NAT 配置結(jié)果配置結(jié)果在 router1 上輸入 show ip nat tran 顯示如圖 4.4沈陽航空航天大學課程設(shè)計報告 15 圖圖 4.44.5 測試運行結(jié)果測試運行結(jié)果當配置完成 ACL 訪問控制鏈表后,deny PC2 主機經(jīng)過 NAT 轉(zhuǎn)換過后的地址2 訪問 PC4() ,使得 PC2 不能 Ping 通 PC4,但能 Ping 通 R2端口的 IP 地址() 。如圖 4.5 所示。圖圖 4.5 PC2 主機主機 Ping 命令測試結(jié)果命令測試結(jié)果沈陽航空航天大學

33、課程設(shè)計報告 16 參考文獻1 計算機網(wǎng)絡(luò)教程(第二版)M.北京:人民郵電出版社,20062 網(wǎng)絡(luò)設(shè)備互連學習指南M. 北京: 科學出版社,2009 3 Cisco 網(wǎng)絡(luò)設(shè)備互聯(lián)(ICND2) (第二版) M.北京:人民郵電出版社,2008 4 思科網(wǎng)絡(luò)互連術(shù)語和縮略詞詞典M.北京:人民郵電出版社,2002 5 網(wǎng)絡(luò)互聯(lián)組網(wǎng)配置技術(shù)M.北京:電子工業(yè)出版社,2001沈陽航空航天大學課程設(shè)計報告 17 附 錄主要配置文件清單:1、switch1SwitchenSwitch#conf tEnter configuration commands, one per line. End with CNT

34、L/Z.Switch(config)#hostname switch1switch1(config)#vlan 10switch1(config-vlan)#exitswitch1(config)#vlan 20switch1(config-vlan)#exitswitch1(config)#int vlan 10%LINK-5-CHANGED: Interface Vlan10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to upswitch1(confi

35、g-if)#ip address switch1(config-if)#exitswitch1(config)#int vlan 20%LINK-5-CHANGED: Interface Vlan20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to upswitch1(config-if)#ip address 沈陽航空航天大學課程設(shè)計報告 18 swit

36、ch1(config-if)#exitswitch1(config)#int f0/2switch1(config-if)#no switchportswitch1(config-if)#ip address switch1(config-if)#no shutdownswitch1(config-if)#exitswitch1(config)#spanning-tree vlan 10 priority 4096 /設(shè)置生成樹switch1(config)#exit/設(shè)置 RIPswitch1(config)#route ripswitch

37、1(config-router)#network switch1(config-router)#network switch1(config-router)#network switch1(config-router)#version 2switch1(config-router)#no auto-summary2、Switch2:SwitchenSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#h

38、ostname switch2switch2(config)#vlan 10switch2(config-vlan)#exitswitch2(config)#vlan 20switch2(config-vlan)#exitswitch2(config)#int f0/10switch2(config-if)#switchport access vlan 10switch2(config-if)#exitswitch2(config)#int f0/11沈陽航空航天大學課程設(shè)計報告 19 switch2(config-if)#switchport access vlan 20switch2(co

39、nfig-if)#exitswitch2(config)#int f0/1switch2(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upswitch2(config-if)#exitswitch2(config)#int f0/2 switc

40、h2(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upswitch2(config-if)#exitswitch2(config)#spanning-tree vlan 10 priority 8192 /設(shè)置生成樹3、switch3: Swi

41、tchenSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname switch3沈陽航空航天大學課程設(shè)計報告 20 switch3(config)#vlan 10switch3(config-vlan)#exitswitch3(config)#int f0/1switch3(config-if)#switchport access vlan 10switch3(config)#int f0/3switch3(config-if)#switchport mod

42、e trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to upswitch3(config-if)#exitswitch3(config)#spanning-tree vlan 10 /設(shè)置生成樹4、router1RouterenRouter#conf tEnter configuration comman

43、ds, one per line. End with CNTL/Z.Router(config)#hostname router1router1(config)#int f0/0router1(config-if)#ip address router1(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/

44、0, changed state to up沈陽航空航天大學課程設(shè)計報告 21 router1(config-if)#exitrouter1(config)#int f1/0router1(config-if)#ip address router1(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0,

45、 changed state to uprouter1(config-if)#int ser 2/0router1(config-if)#ip address router1(config-if)#clock rate 64000router1(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial2/0, changed state to uprouter1(config-if)#exitrouter1(config)#route rip /設(shè)置 RIProuter1(config-router)#n

46、etwork router1(config-router)#network router1(config-router)#network router1(config-router)#version 2router1(config-router)#no auto-summaryrouter1(config-router)#exitrouter1(config)#in ser 2/0 /設(shè)置幀中繼router1(config-if)#encap frame-relay /*封裝幀中繼協(xié)議*/ router1(config-if)#

47、沈陽航空航天大學課程設(shè)計報告 22 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up router1(config-if)#bandwidth 64 router1(config-if)#frame-relay map ip 102 broadcast router1(config-if)#frame-relay lmi-type ciscorouter1(config-if)#exit%LINEPROTO-5-UPDOWN: Line protocol on Inte

48、rface Serial2/0, changed state to dowrouter1(config)#ip route /對 router1 的靜態(tài)路由配置/對 router1 設(shè)置 NATrouter1(config)#ip nat inside source static 1router1(config)#ip nat inside source static 2router1(config)#ip nat insid

49、e source static 3router1(config)#ip nat inside source static 4router1(config)#int f0/0router1(config-if)#ip nat insiderouter1(config)#int f1/0router1(config-if)#ip nat insiderouter1(config)#int ser 2/0router1(config-if)#ip nat outside5、router2Routere

50、nRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router2router2(config)#int ser 2/0router2(config-if)#ip address 沈陽航空航天大學課程設(shè)計報告 23 router2(config-if)#clock rate 64000router2(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial2/0, changed state to uprouter2(config-if)#exitrouter2(config)#int f0/0router2(config-if)#ip address rou

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論