计算机网络课程设计报告.docx

上传人:b****8 文档编号:9682007 上传时间:2023-02-05 格式:DOCX 页数:40 大小:188.04KB
下载 相关 举报
计算机网络课程设计报告.docx_第1页
第1页 / 共40页
计算机网络课程设计报告.docx_第2页
第2页 / 共40页
计算机网络课程设计报告.docx_第3页
第3页 / 共40页
计算机网络课程设计报告.docx_第4页
第4页 / 共40页
计算机网络课程设计报告.docx_第5页
第5页 / 共40页
点击查看更多>>
下载资源
资源描述

计算机网络课程设计报告.docx

《计算机网络课程设计报告.docx》由会员分享,可在线阅读,更多相关《计算机网络课程设计报告.docx(40页珍藏版)》请在冰豆网上搜索。

计算机网络课程设计报告.docx

计算机网络课程设计报告

计算机网络课程设计

计算机科学与技术学院

专业:

信息安全

班级:

0440801

学号:

08130108

姓名:

王泽军

2010/12/21

目录

1.实验题目:

3

2.实验目的:

3

3.实验要求:

3

4.实验内容:

4

4.1TOP图4

4.2子网划分:

4

4.3配置静态路由5

4.4VLAN的配置(具体配置见代码)6

4.5HDLC及RIP路由方式(R1到R4)6

4.6ISDN方式(R1到R5)7

4.7Frame-Relay——基本帧中继配置8

5.系统设计文档:

10

5.1R1:

10

5.2R2:

13

5.3R3:

14

5.4R4:

15

5.5R5:

17

5.6S1:

18

5.7S2:

20

5.8PC1:

21

5.9PC2:

22

5.10PC3:

23

5.11PC4:

24

5.12PC5:

24

5.13PC6:

25

5.14PC7:

26

5.15PC8:

27

6.心得体会:

28

1.实验题目:

完成拓扑图的网络规划与设计。

2.实验目的:

通过这次课程设计,要求了解和掌握网络规划、配置、安全控制、路由配置等的步骤、方法和组合应用。

3.实验要求:

(一)、环境要求:

windows、bonson网络模拟软件

(二)、任务要求:

1、完成如下拓扑图的网络规划与设计。

在bonson画出拓扑图,给出各设备端口的连接表、各设备端口的ip地址和掩码、ISDN、Frame-Relay的联结号等,均用表格形式列出;

4、在静态路由的基础上,应用Access-List功能。

要求pc7和pc8不与VLAN2通(pc2和pc4),其它的都双向互通;

7、对Lan1的出网地址进行NAT地址转换。

(三)、说明:

1、配置路由器和交换机时,可用writememory命令把当前配置保存在boson安装目录的相应xxx.txt文件中,这样下次进入boson时打开routersim软件上次保存的配置会自动调入,可继续上次未完成的工作;

2、Router1选择CISCORouter2621,1#槽选用2个s口的卡,2#槽选用1个bri口的卡。

其余的Router均选择2501型号。

3、Switch1和Switch2选择用CISCOSwitch2950,其它的均用1912型号。

4.实验内容:

4.1TOP图

4.2子网划分:

设备

端口1地址

端口2地址

端口3地址

端口4地址

R1

S0.1(dce):

192.168.10.1/24

S0.2(dce):

192.168.40.1/24

S1(dce):

192.168.20.1/24

B0:

192.168.30.1/24

F0/0.1:

172.18.4.1/22

F0/0.2:

172.18.8.1/22

R2

S0:

192.168.10.2/24

E0:

172.18.12.1/22

R3

S0:

192.168.40.2/24

E0:

172.18.16.1/22

R4

S0:

192.168.20.2/24

E0:

172.18.20.1/22

R5

B0:

192.168.30.2/24

E0:

172.18.24.1/22

P1

E0:

172.18.4.2/22

属于Vlan1

P2

E0:

172.18.8.2/22

属于Vlan2

P3

E0:

172.18.4.3/22

属于Vlan1

P4

E0:

172.18.8.3/22

属于Vlan2

P5

E0:

172.18.12.2/22

P6

E0:

172.18.16.2/22

P7

E0:

172.18.20.3/22

P8

E0:

172.18.24.2/22

4.3配置静态路由

用到的命令:

任务

命令

建立静态路由

iprouteprefixmask{address|interface}[distance][tagtag][permanent]

Prefix               :

所要到达的目的网络

mask                 :

子网掩码

address              :

下一个跳的IP地址,即相邻路由器的端口地址。

interface            :

本地网络接口

distance             :

管理距离(可选)

tagtag              :

tag值(可选)

permanent         :

指定此路由即使该端口关掉也不被移掉。

路由器R1路由配置演示

4.4VLAN的配置(具体配置见代码)

PC1pingPC2,PC3

4.5HDLC及RIP路由方式(R1到R4)

用到的命令:

任务

命令

指定使用RIP协议

routerrip

指定RIP版本

version{1|2}

指定与该路由器相连的网络

networknetwork

任务

命令

设置HDLC封装

encapsulationhdlc

设置DCE端线路速度

clockratespeed

复位一个硬件接口

clearinterfaceserialunit

显示接口状态

showinterfacesserial[unit]1

Ping命令测试:

(PC7与PC1PC2)

4.6ISDN方式(R1到R5)

设置的拨号电话:

用到的命令:

任务

命令

设置ISDN交换类型

isdnswitch-typeswitch-type1

接口设置

interfacebri0

设置PPP封装

encapsulationppp

设置协议地址与电话号码的映射

dialermapprotocolnext-hop-address[namehostname][broadcast][dial-string]

启动PPP多连接

pppmultilink

设置启动另一个B通道的阈值

dialerload-thresholdload

显示ISDN有关信息

showisdn{active|history|memory|services|status[dsl|interface-typenumber]|timers}

结果演示:

4.7Frame-Relay——基本帧中继配置

用到的命令:

任务

命令

设置FrameRelay封装

encapsulationframe-relay[ietf]1

设置FrameRelayLMI类型

frame-relaylmi-type{ansi|cisco|q933a}2

设置子接口

interfaceinterface-typeinterface-number.subinterface-number[multipoint|point-to-point]

映射协议地址与DLCI

frame-relaymapprotocolprotocol-addressdlci[broadcast]3

设置FRDLCI编号

frame-relayinterface-dlcidlci[broadcast]

结果测试:

Ping测试

PC6到PC1,PC2

PC5到PC1,PC2

5.系统设计文档:

5.1R1:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameR1

enablesecretwzj1

!

usernameR5passwordwzj

usernameR5passwordwzj

!

!

!

ipsubnet-zero

!

!

!

!

interfaceSerial0

noipaddress

clockrate64000

encapsulationframe-relay

frame-relaylmi-typeansi

!

interfaceSerial0.1point-to-point

ipaddress192.168.10.1255.255.255.0

frame-relayinterface-dlci102

noframe-relayinverse-arp

!

interfaceSerial0.2point-to-point

ipaddress192.168.40.1255.255.255.0

frame-relayinterface-dlci103

noframe-relayinverse-arp

!

interfaceSerial1

ipaddress192.168.20.1255.255.255.0

noipdirected-broadcast

clockrate64000

!

interfaceFastEthernet0/0

noipaddress

noipdirected-broadcast

!

interfaceFastEthernet0/0.1multipoint

encapsulationdot1q1

ipaddress172.18.4.1255.255.252.0

!

interfaceFastEthernet0/0.2multipoint

encapsulationdot1q2

ipaddress172.18.8.1255.255.252.0

!

interfaceFastEthernet0/1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceBri0

ipaddress192.168.30.1255.255.255.0

noipdirected-broadcast

dialer-group1

isdnspid132177820010100

dialermapip192.168.30.2broadcastnamer57782001

encapsulationppp

pppauthenticationchap

!

!

routerrip

version2

network192.168.30.0

network172.18.0.0

network192.168.10.0

network192.168.20.0

network192.168.40.0

!

ipclassless

noiphttpserver

iproute172.18.20.0255.255.252.0192.168.20.2

!

dialer-list1protocolippermit

dialer-list1protocolippermit

!

isdnswitch-typebasic-ni

linecon0

transportinputnone

lineaux0

linevty04

passwordwzj2

!

noschedulerallocate

end

5.2R2:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameR2

enablesecretwzj1

!

!

!

ipsubnet-zero

!

!

!

!

interfaceSerial0

ipaddress192.168.10.2255.255.255.0

encapsulationframe-relay

frame-relaylmi-typeansi

!

interfaceSerial1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet0

ipaddress172.18.12.1255.255.252.0

noipdirected-broadcast

!

interfaceBri0

noipaddress

noipdirected-broadcast

shutdown

!

!

routerrip

version2

network192.168.10.0

network192.168.20.0

network192.168.30.0

network192.168.40.0

network192.168.50.0

network192.168.60.0

network172.18.0.0

!

ipclassless

noiphttpserver

!

!

linecon0

transportinputnone

lineaux0

linevty04

passwordwzj2

!

noschedulerallocate

end

5.3R3:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameR3

enablesecretwzj1

!

!

!

ipsubnet-zero

!

!

!

!

interfaceSerial0

ipaddress192.168.40.2255.255.255.0

encapsulationframe-relay

frame-relaylmi-typeansi

!

interfaceSerial1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet0

ipaddress172.18.16.1255.255.252.0

noipdirected-broadcast

!

interfaceBri0

noipaddress

noipdirected-broadcast

shutdown

!

!

routerrip

version2

network172.18.0.0

network192.168.40.0

network192.168.10.0

network192.168.20.0

network192.168.30.0

!

ipclassless

noiphttpserver

!

!

linecon0

transportinputnone

lineaux0

linevty04

passwordwzj2

!

noschedulerallocate

end

5.4R4:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameR4

!

!

!

ipsubnet-zero

!

!

!

!

interfaceSerial0

ipaddress192.168.20.2255.255.255.0

noipdirected-broadcast

!

interfaceSerial1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet0

ipaddress172.18.20.1255.255.252.0

noipdirected-broadcast

!

interfaceBri0

noipaddress

noipdirected-broadcast

shutdown

!

!

ipclassless

noiphttpserver

iproute172.18.8.0255.255.252.0192.168.20.1

iproute172.18.4.0255.255.252.0192.168.20.1

!

!

linecon0

transportinputnone

lineaux0

linevty04

!

noschedulerallocate

end

5.5R5:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameR5

!

usernameR1passwordwzj

!

!

!

ipsubnet-zero

!

!

!

!

interfaceSerial0

ipaddress111.111.111.1255.255.255.255

noipdirected-broadcast

!

interfaceSerial1

noipaddress

noipdirected-broadcast

shutdown

!

interfaceEthernet0

ipaddress172.18.24.1255.255.252.0

noipdirected-broadcast

!

interfaceBri0

ipaddress192.168.30.2255.255.255.0

noipdirected-broadcast

dialer-group1

isdnswitch-typebasic-ni

isdnspid132177820020100

dialermapip192.168.30.1broadcastnamer17782002

encapsulationppp

pppauthenticationchap

!

!

routerrip

version2

network192.168.30.0

network172.18.0.0

!

ipclassless

noiphttpserver

!

dialer-list1protocolippermit

!

isdnswitch-typebasic-ni

linecon0

transportinputnone

lineaux0

linevty04

!

noschedulerallocate

end

5.6S1:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameS1

ipname-server0.0.0.0

!

!

!

ipsubnet-zero

spanning-treeextendsystem-id

!

!

!

!

interfaceFastEthernet0/1

switchportmodetrunk

!

interfaceFastEthernet0/2

switchportmodetrunk

!

interfaceFastEthernet0/3

!

interfaceFastEthernet0/4

switchportmodeaccess

switchportaccessvlan2

!

interfaceFastEthernet0/5

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

vtpdomainbigdomain

interfaceVlan1

ipaddress172.18.4.10255.255.252.0

noiproute-cache

noshutdown

vlan2name2

!

ipclassless

noiphttpserver

!

!

linecon0

transportinputnone

lineaux0

linevty015

!

noschedulerallocate

end

5.7S2:

!

Version12.1

servicetimestampsdebuguptime

servicetimestampsloguptime

noservicepassword-encryption

!

hostnameS2

ipname-server0.0.0.0

!

!

!

ipsubnet-zero

spanning-treeextendsystem-id

!

!

!

!

interfaceFastEthernet0/1

switchportmodetrunk

!

interfaceFastEthernet0/2

!

interfaceFastEthernet0/3

switchportmodeaccess

switchportaccessvlan2

!

interfaceFastEthernet0/4

!

interfaceFastEthernet0/5

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 互联网

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1