【正文】
datetime msec no service passwordencryption!hostname Switch!ip dhcp excludedaddress ip dhcp excludedaddress !ip dhcp pool VlanStudent network defaultrouter dnsserver ip dhcp pool VlanTeacher network defaultrouter dnsserver ip routing!no ip domainlookup!interface FastEthernet0/1 no switchport no ip address duplex auto speed auto!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22 no switchport ip address duplex auto speed auto!interface FastEthernet0/23 switchport access vlan 3 switchport mode access!interface FastEthernet0/24 switchport access vlan 2 switchport mode access!interface GigabitEthernet0/1!interface GigabitEthernet0/2!interface Vlan1 no ip address shutdown!interface Vlan2 ip address !interface Vlan3 ip address !router ospf 100 logadjacencychanges network area 0 network area 0 network area 0!ip classless!line con 0 line vty 0 4 login!end(3)核心層路由器的配置 Building configuration...Current configuration : 825 bytes!version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption!hostname Router!no ip domainlookup!interface FastEthernet0/0 ip address duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial0/0/0 ip address clock rate 4000000!interface Serial0/0/1 ip address !interface Vlan1 no ip address shutdown!router ospf 100 logadjacencychanges network area 0 network area 0 network area 0!ip classless!line con 0 exectimeout 0 0 logging synchronous line vty 0 4 login!end Building configuration...Current configuration : 825 bytes!version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption!hostname Router!no ip domainlookup!interface FastEthernet0/0 ip address duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial0/0/0 ip address !interface Serial0/0/1 ip address clock rate 4000000!interface Vlan1 no ip address shutdown!router ospf 100 logadjacencychanges network area 0 network area 0 network area 0!ip classless!line con 0 exectimeout 0 0 logging synchronous line vty 0 4 login!end Building configuration...Current configuration : 806 bytes!version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption!hostname Router!no ip domainlookup!interface FastEthernet0/0 ip address duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial0/0/0 ip address !interface Serial0/0/1 ip address !interface Vlan1 no ip address shutdown!router ospf 100 logadjacencychanges network area 0 network area 0 network area 0!ip classless!line con 0 exectimeout 0 0 logging synchronous line vty 0 4 login!end Building configuration...Current configuration : 1836 bytes!version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption!hostname Router!no ip domainlookup!interface FastEthernet0/0 ip address ip nat inside duplex auto speed auto!interface FastEthernet0/1 ip address ip nat inside duplex auto speed auto!interface Serial0/0/0 ip address ip nat inside clock rate 4000000!interface Serial0/0/1 ip address ip nat inside clock rate 4000000!interface Serial0/2/0 ip address ip nat outside clock rate 4000000!interface Serial0/2/1 no ip address!interface Vlan1 no ip address shutdown!router ospf 100 logadjacencychanges network area 0 network area 0 network area 0 network area 0 network area 0 defaultinformation originate!ip nat pool Campus netmask ip nat pool Campus1 netmask ip nat inside source list 1 pool Campus overload ip nat inside source static ip nat inside source static ip nat inside source static ip classless ip route !accesslist 1 permit accesslist 1 permit accesslist 1 permit any accesslist 1 permit accesslist 1 permit accesslist 1 permit accesslist 1 permit !line con 0 exectimeout 0 0 logging synchronous line vty 0 4 login!end Building configuration...Current configuration : 635 bytes!version no service timestamps log datetime msec no service timestamps debug datetime msec no service passwordencryption!hostname Router!no ip domainlookup!interface FastEthernet0/0 ip address duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial0/0/0 ip address !interface Serial0/0/1 no ip address shutdown!interface Vlan1 no ip address shutdown!ip classless!line con 0 exectimeout 0 0 logging synchronous line vty 0 4 login!end(4)服務(wù)器的配置::: Web服務(wù)器 Ftp服務(wù)器六.調(diào)試過程中出現(xiàn)的問題及相應(yīng)解決辦法:在網(wǎng)絡(luò)規(guī)劃中要使用DHCP服務(wù)來自動給主機(jī)分配ip地址,但是主機(jī)請求DHCP服 務(wù)的數(shù)據(jù)包是廣播包,無法跨越路由器。(4)任務(wù)要求每個分校區(qū)的學(xué)生公寓子網(wǎng)和教師子網(wǎng)不在同一個廣播域,那么使用VLAN技術(shù)來滿足這一要求,創(chuàng)建兩個VLAN,分別是VlanStudent和VlanTeacher。:(1)根據(jù)具體情況,完成需求分析(2)列出實(shí)驗(yàn)所需設(shè)備,完成網(wǎng)絡(luò)拓?fù)浣Y(jié)構(gòu)圖(3)完成各項(xiàng)設(shè)備的具體配置(4)調(diào)試運(yùn)行二.基本思路及相關(guān)理論:(1)由于每個校區(qū)入網(wǎng)信息點(diǎn)有2000多個,C類網(wǎng)絡(luò)無法滿足該數(shù)量級的主機(jī)地址需求。第一篇:計(jì)算機(jī)網(wǎng)絡(luò)課程設(shè)計(jì)報(bào)告校園網(wǎng)構(gòu)建方案的設(shè)計(jì)和實(shí)現(xiàn)XX大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院計(jì)算機(jī)網(wǎng)絡(luò)課程設(shè)計(jì)報(bào)告——校園網(wǎng)構(gòu)建方案的設(shè)計(jì)和實(shí)現(xiàn)專業(yè)班級:學(xué)生姓名:學(xué)號:指導(dǎo)教師:日期:一.設(shè)計(jì)任務(wù)及要求:某高校現(xiàn)有三個地理位置分離的分校區(qū),每個校區(qū)入網(wǎng)信息點(diǎn)有2000多個,現(xiàn)準(zhǔn)備通過教科網(wǎng)接入因特網(wǎng)。設(shè)計(jì)網(wǎng)絡(luò)構(gòu)建方案并實(shí)施該校園網(wǎng)絡(luò)。為了解決這一問題,并且便于網(wǎng)絡(luò)管理,需要配置DHCP服務(wù)。:(1)ip的層次結(jié)構(gòu)、尋址方案以及每種類別的ip地址所能提供的最大主機(jī)數(shù)(2)子網(wǎng)劃分的原理及步驟(3)可變長子網(wǎng)掩碼(VLSM)對ip地址利用率的最大化(4)vlan技術(shù)分隔廣播域(5)三層交換機(jī)實(shí)現(xiàn)VLAN間路由(6)動態(tài)路由協(xié)議OSPF實(shí)現(xiàn)路由匯聚,提供不同校區(qū)間的路由(7)使用命令defaultinformation originate來向OSPF域中注入默認(rèn)路由(8)主機(jī)跨網(wǎng)段請求DNS服務(wù)的實(shí)現(xiàn)三.方案設(shè)計(jì)(網(wǎng)絡(luò)設(shè)備和拓?fù)浣Y(jié)構(gòu))四.網(wǎng)絡(luò)的具體配置(1)三個校區(qū)以及服務(wù)