浙江理工大学计算机网络课程设计文档格式.docx
《浙江理工大学计算机网络课程设计文档格式.docx》由会员分享,可在线阅读,更多相关《浙江理工大学计算机网络课程设计文档格式.docx(35页珍藏版)》请在冰豆网上搜索。
路由器、交换机、主机,学习利用不同网络设备搭建网络系统。
3.网络路由器不同端口的配置
学习如何对网络路由器的以太网接口、快速以太网接口、串行接口以及相关参数的配置,以及环回接口、令牌环接口的配置。
并且能够对配置结构进行验证。
配置路由器的各种网络接口
配置Ethernet接口
配置路由器A与路由器2621的Ethernet接口,并通过ping来测试!
4.静态路由的配置
复习路由的概念,学习静态路由的设置,默认路由的设置,以及已有路由的删除。
5动态路由的配置
复习动态路由协议,深入掌握RIP协议的原理,能够进行动态RIP路由设置,并对设
置的结果进行验证,查看。
实验1使用RouterSimCCN>配置路由器的各种网络接口(同
时也使用了静态路由配置,使两端主机ping通)
1.Switch1900
RouterConOisnowavailable
PressRETURN。
getstarted.
PCANumber:
73-3122-04
PCASerialNumber:
FAB0337240K
ModelNumber:
WS-C1912-A
SystemSerialNumber:
PowerSupplyS/N:
PCBSerialNumber:
FAB0339U01U
PHI031803JK
FAB0337240K,73-3122-04
1user(s)nowactiveonManagementConsole.
UserInterface
Menu
[M]Menus
[K]CommandLine
[I]IPConfiguration
EnterSelection:
PHI031803JK
FAB0337240K,73-3122-04
UserInterfaceMenu
Router#configt
Enterconfiguration
commands,oneperline.EndwithCNTL/Z.
Router(config)#hostname
switch1900A
1900A(config)#hostnameswitch1900A(config)#ipswitch1900A(config)#ip
switch1900A
address172.16.10.3255.255.255.0
defalut-gateway172.16.10.1
Router>
en
%Invalidinputdetectedat'
A'
marker.
switch1900A(config)#ipdefault-gateway172.16.10.1
switch1900A(config)#end
switch1900A#
1.Router2621(由于第一次做的时候前面命名忘记了,在后面补的命名)
RouterCon0isnowavailable
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#interfacefO/1
Router(config-if)#ipaddress172.16.10.4255.255.255.0
Router(config-if)#noshut
%LINK-3-UPDOWNInterfaceFastEthernet0/1,changedstatetoup
%LINEPROTO-5-UPDOWNineprotocolonInterfaceFastEthernet0/1,changedstate
toup
Router(config-if)#exit
Router(config)#interfacef0/0
Router(config-if)#ipaddress172.16.11.4255.255.255.0
%LINK-3-UPDOWN:
nterfaceFastEthernet0/0,changedstatetoup
%LINEPROTO-5-UPDOWNineprotocolonInterfaceFastEthernet0/0,changedstate
Router(config-if)#end%SYS-5-CONFIG_l:
Configuredfromconsolebyconsole
Router(config)#ip
route
172.16.50.0
255.255.255.0
172.16.11.5(静态)
172.16.40.0
172.16.11.5
172.16.20.0
Router(config)#end
Router#copyrunstart
Buildingconfiguration...
[OK]
Router#showiproute
Codes:
C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP
i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultU-per-userstaticroute,o-ODR
Gatewayoflastresortisnotset
172.16.0.0/24issubnetted,5subnets
S
[1/0]
via
C
172.16.10.0
isdirectly
connected,
FastEthernet0/1
172.16.11.0
FastEthernet0/0
Router(config)#hostnameroute2621
route2621(config)#end
route2621#
1.RouterA(同样补了命名)
Router(config)#interfaceeO
Router(config-if)#ipaddress172.16.11.5255.255.255.0
%LINEPROTO-5-UPDOWNneprotocolonInterfaceEthernetO,changedstatetoup
%LINK-3-UPDOWNInterfaceEthernetO,changedstatetoup
Router(config)#interface
sO
Router(config-if)#ip
Router(config-if)#no
address172.16.2O.5255.255.255.O
shut
%LINEPROTO-5-UPDOWLineprotocolonInterfaceSerialO,changedstatetoup
%LINK-3-UPDOWN:
nterfaceSerialO,changedstatetoup
Router(config-if)#end
%SYS-5-CONFIG_l:
Router(config)#interfacesO
Router(config-if)#eneapppp
%SYS-5-CONFIG_I:
default
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidate
U-per-userstaticroute,o-ODR
Gatewayoflastresort
isnotset
172.16.0.0/24
issubnetted,2subnets
C172.16.20.0isdirectly
C172.16.11.0isdirectly
connected,Serial0
connected,Ethernet0
172.16.11.4(静态)
172.16.20.6
Router#copyrunstartBuildingconfiguration...
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
issubnettec
j,4subnets
172.16.11.4
Serial0
Ethernet0
commands,oneperline.
EndwithCNTL/Z.
Router(config)#hostnamerouteA
routeA(config)#end
ConfiguredfromconsolebyconsolerouteA#
1.RouterB
Router(config-if)#ipaddress172.16.20.6255.255.255.0
%LINEPROTO-5-UPDOWNneprotocolonInterfaceSerialO,changedstatetoup
%LINK-3-UPDOWNInterfaceSerialO,changedstatetoup
Router(config-if)#clockrate64000
Router(config)#interfacesi
Router(config-if)#ipaddress172.16.40.6255.255.255.0
%LINEPROTO-5-UPDOWLineprotocolonInterfaceSerial1,changedstatetoup
nterfaceSerial1,changedstatetoup
Router#copyrunning-config
Router(config)#hostnamerouteB
routeB(config)#end
routeB#
I.RouterC
Router(config-if)#ipaddress172.16.40.7255.255.255.0
%LINEPROTO-5-UPDOWLineprotocol
onInterface
Serial0,changedstatetoup
nterface
Serial0,
changedstate
Router(config-if)#eneap
ppp
e0
Router(config-if)#ipaddress172.16.50.7255.255.255.0
%LINEPROTO-5-UPDOWNneprotocolonInterfaceEthernet0,changedstatetoup
%LINK-3-UPDOWNInterfaceEthernet0,changedstatetoup
172.16.40.6(静态)
172.16.40.6
Router(config)#end%SYS-5-CONFIG_I:
Router#copyrunning-configstartup-config
E1-OSPF