计算机网络课程设计报告Word下载.docx
《计算机网络课程设计报告Word下载.docx》由会员分享,可在线阅读,更多相关《计算机网络课程设计报告Word下载.docx(40页珍藏版)》请在冰豆网上搜索。
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:
5.13PC6:
25
5.14PC7:
26
5.15PC8:
27
6.心得体会:
28
完成拓扑图的网络规划与设计。
通过这次课程设计,要求了解和掌握网络规划、配置、安全控制、路由配置等的步骤、方法和组合应用。
(一)、环境要求:
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.1TOP图
设备
端口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
192.168.40.2/24
172.18.16.1/22
R4
192.168.20.2/24
172.18.20.1/22
R5
192.168.30.2/24
172.18.24.1/22
P1
172.18.4.2/22
属于Vlan1
P2
172.18.8.2/22
属于Vlan2
P3
172.18.4.3/22
P4
172.18.8.3/22
P5
172.18.12.2/22
P6
172.18.16.2/22
P7
172.18.20.3/22
P8
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
!
Version12.1
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
hostnameR1
enablesecretwzj1
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
interfaceSerial1
ipaddress192.168.20.1255.255.255.0
noipdirected-broadcast
interfaceFastEthernet0/0
interfaceFastEthernet0/0.1multipoint
encapsulationdot1q1
ipaddress172.18.4.1255.255.252.0
interfaceFastEthernet0/0.2multipoint
encapsulationdot1q2
ipaddress172.18.8.1255.255.252.0
interfaceFastEthernet0/1
shutdown
interfaceBri0
ipaddress192.168.30.1255.255.255.0
dialer-group1
isdnspid132177820010100
dialermapip192.168.30.2broadcastnamer57782001
encapsulationppp
pppauthenticationchap
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
isdnswitch-typebasic-ni
linecon0
transportinputnone
lineaux0
linevty04
passwordwzj2
noschedulerallocate
end
hostnameR2
ipaddress192.168.10.2255.255.255.0
interfaceEthernet0
ipaddress172.18.12.1255.255.252.0
network192.168.50.0
network192.168.60.0
hostnameR3
ipaddress192.168.40.2255.255.255.0
ipaddress172.18.16.1255.255.252.0
hostnameR4
ipaddress192.168.20.2255.255.255.0
ipaddress172.18.20.1255.255.252.0
iproute172.18.8.0255.255.252.0192.168.20.1
iproute172.18.4.0255.255.252.0192.168.20.1
hostnameR5
usernameR1passwordwzj
ipaddress111.111.111.1255.255.255.255
ipaddress172.18.24.1255.255.252.0
ipaddress192.168.30.2255.255.255.0
isdnswitch-typebasic-ni
isdnspid132177820020100
dialermapip192.168.30.1broadcastnamer17782002
hostnameS1
ipname-server0.0.0.0
spanning-treeextendsystem-id
switchportmodetrunk
interfaceFastEthernet0/2
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
linevty015
hostnameS2