昆明理工大学计算机网络实验.docx
《昆明理工大学计算机网络实验.docx》由会员分享,可在线阅读,更多相关《昆明理工大学计算机网络实验.docx(15页珍藏版)》请在冰豆网上搜索。
![昆明理工大学计算机网络实验.docx](https://file1.bdocx.com/fileroot1/2023-6/24/e7896c84-97a7-43ea-851d-a8a3266ac4e7/e7896c84-97a7-43ea-851d-a8a3266ac4e71.gif)
昆明理工大学计算机网络实验
昆明理工大学信息工程与自动化学院学生实验报告
(2012—2013学年第二学期)
课程名称:
计算机网络技术开课实验室:
自动化系2013年5月16日
年级、专业、班
学号
姓名
成绩
实验项目名称
实验三路由配置
指导教师
教师评语
教师签名:
年月日
一、实验目的:
●掌握路由的基本配置方法;
●掌握在CCNA下对路由进行配置的基本步骤;
●熟悉和掌握在CCNA下对路由进行配置的常用命令;
二、实验报告内容:
二、实验报告内容:
RouterA
RouterACon0isnowavailable
PressRETURNtogetstarted.
RouterC>enable
RouterA>enable
RouterA#showstartup-config
Using781outof32762bytes
!
version12.0
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
!
hostnameRouterA
!
!
!
!
interfaceEthernet0
ipaddress11.11.11.1255.255.255.0
!
interfaceSerial0
ipaddress40.40.40.2255.255.255.0
!
!
interfaceSerial1
noipaddress
!
shutdown
!
interfaceTokenRing0
noipaddress
!
shutdown
noipclassless
iproute20.20.20.0255.255.255.040.40.40.1
!
!
linecon0
lineaux0
linevty04
end
RouterA#showinterface
Serial0isup,lineprotocolisup
HardwareisHD64570
Internetaddressis40.40.40.2/24
MTU1500bytes,BW1544Kbit,DLY20000usec,rely255/255,load1/255
EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)
Lastinput00:
00:
09,output00:
00:
12,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:
0/75/0(size/max/drops);Totaloutputdrops:
0
Queueingstrategy:
weightedfair
Outputqueue:
0/1000/64/0(size/maxtotal/threshold/drops)
Conversations0/1/256(active/maxactive/maxtotal)
ReservedConversations0/0(allocated/maxallocated)
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
1721packetsinput,106287bytes,0nobuffer
Received1301broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored,0abort
2195packetsoutput,100497bytes,0underruns
0outputerrors,0collisions,221interfaceresets
0outputbufferfailures,0outputbuffersswappedout
280carriertransitions
DCD=upDSR=upDTR=upRTS=upCTS=up
Ethernet0isup,lineprotocolisup
HardwareisLance,addressis0000.0c8d.5c9d(bia0000.0c8d.5c9d)
Internetaddressis11.11.11.1/24
MTU1500bytes,BW10000Kbit,DLY1000usec,rely255/255,load1/255
EncapsulationARPA,loopbacknotset,keepaliveset(10sec)
ARPtype:
ARPA,ARPTimeout04:
00:
00
Lastinputnever,output00:
00:
07,outputhangnever
Lastclearingof"showinterface"countersnever
Queueingstrategy:
fifo
Outputqueue0/40,0drops;inputqueue0/75,0drops
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
0packetsinput,0bytes,0nobuffer
Received0broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored,0abort
0inputpacketswithdribbleconditiondetected
472packetsoutput,47379bytes,0underruns
0outputerrors,0collisions,2interfaceresets
0babbles,0latecollision,0deferred
0lostcarrier,0nocarrier
0outputbufferfailures,0outputbuffersswappedout
TokenRing0isdown,lineprotocolisdown
HardwareisTMS380,addressis0007.7842.3575(bia0007.7842.3575)
MTU4464bytes,BW16000Kbit,DLY630usec,rely255/255,load1/255
EncapsulationSNAP,loopbacknotset,keepaliveset(10sec)
ARPtype:
SNAP,ARPTimeout04:
00:
00
Ringspeed:
16Mbps
Singleringnode,SourceRouteTransparentBridgecapable
GroupAddress:
0x00000000,FunctionalAddress:
0x08800000
EthernetTransitOUI:
0x000000
Lastinput00:
00:
02,output00:
00:
05,outputhangnever
Lastclearingof"showinterface"countersnever
Queueingstrategy:
fifo
Outputqueue0/40,0drops;inputqueue0/75,0drops
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
576packetsinput,30393bytes,0nobuffer
Received453broadcasts,0runts,0giants
0inputerrors,0CRC,0frame,0overrun,0ignored,0abort
318packetsoutput,36935bytes,0underruns
0outputerrors,0collisions,1interfaceresets
0outputbufferfailures,0outputbuffersswappedout
4transitions
RouterA#configt
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
RouterA(config)#interfaces0
RouterA(config-if)#ipaddress40.40.40.2255.255.255.0
RouterA(config-if)#noshut
RouterA(config-if)#end
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
RouterA#copyrunning-configstartup-config
Buildingconfiguration...
[OK]
RouterA#showinterfaces0
Serial0isup,lineprotocolisup
HardwareisHD64570
Internetaddressis40.40.40.2/24
MTU1500bytes,BW1544Kbit,DLY20000usec,rely255/255,load1/255
EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)
Lastinput00:
00:
09,output00:
00:
12,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:
0/75/0(size/max/drops);Totaloutputdrops:
0
Queueingstrategy:
weightedfair
Outputqueue:
0/1000/64/0(size/maxtotal/threshold/drops)
Conversations0/1/256(active/maxactive/maxtotal)
ReservedConversations0/0(allocated/maxallocated)
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
1721packetsinput,106287bytes,0nobuffer
Received1301broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored,0abort
2195packetsoutput,100497bytes,0underruns
0outputerrors,0collisions,221interfaceresets
0outputbufferfailures,0outputbuffersswappedout
280carriertransitions
DCD=upDSR=upDTR=upRTS=upCTS=up
RouterA#configt
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
RouterA(config)#iproute20.20.20.0255.255.255.040.40.40.1
RouterA(config)#exit
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
RouterA#showrunning-config
Buildingconfiguration...
Currentconfiguration:
!
version12.0
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepassword-encryption
!
hostnameRouterA
!
!
!
!
interfaceEthernet0
ipaddress11.11.11.1255.255.255.0
!
interfaceSerial0
ipaddress40.40.40.2255.255.255.0
!
!
interfaceSerial1
noipaddress
!
shutdown
!
interfaceTokenRing0
noipaddress
!
shutdown
noipclassless
iproute20.20.20.0255.255.255.040.40.40.1
!
!
linecon0
lineaux0
linevty04
end
RouterA#copyrunning-configstartup-config
Buildingconfiguration...
[OK]
RouterA#ping20.20.20.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto20.20.20.2,timeoutis2seconds:
.....
Successrateis0percent(0/5)
RouterA#ping40.40.40.2
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto40.40.40.2,timeoutis2seconds:
.....
Successrateis0percent(0/5)
RouterA#configt
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
RouterA(config)#interfaces0
RouterA(config-if)#ipaddress40.40.40.1255.255.255.0
RouterA(config-if)#noshut
RouterA(config-if)#end
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
RouterA#copyrunning-configstartup-config
Buildingconfiguration...
[OK]
RouterA#ping40.40.40.1
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto40.40.40.1,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=4/4/4ms
RouterA#
RouterC
RouterBCon0isnowavailable
PressRETURNtogetstarted.
Router>
RouterB>enble
Translating'enble'...domainserver(255.255.255.255)
%Unknowncommandorcomputername,orunabletofindcomputeraddress
RouterB>enable
RouterB#configt
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
RouterB(config)#interfaces0
RouterB(config-if)#ipaddress40.40.40.3255.255.255.0
RouterB(config-if)#noshut
RouterB(config-if)#end
%SYS-5-CONFIG_I:
Configuredfromconsolebyconsole
RouterB#copyrunning-configstartup-config
Buildingconfiguration...
[OK]
RouterB#