当前位置:文档之家› 静态路由配置实验报告

静态路由配置实验报告

静态路由配置实验报告篇一:计算机网络实验报告静态路由配置实验报告八班级:姓名:学号:实验时间:机房:组号:机号:PC_B一、实验题目静态路由配置二、实验设备CISCO路由器,专用电缆,网线,CONSOLE线,PC机三、实验内容? 了解路由的功能? 在CISCO路由器上配置和验证静态路由? 配置缺省路由四、原理静态路由是指由网络管理员手工配置的路由信息。

当网络的拓扑结构或链路的状态发生变化时,需要手工去修改路由表中相关的静态路由信息。

静态路由信息在缺省情况下是私有的,不会传递给其他的路由器。

静态路由一般适用于比较简单的网络环境,在这样的环境中,易于清楚地了解网络的拓扑结构,便于设置正确的路由信息。

五、实际步骤1.设置PC_B的IP地址,连接路由器,打开超级终端。

2.路由器B的配置User Access VerificationPassword:5_R2>enPassword:5_R2#conf tEnter configuration commands, one per line. End with CNTL/Z. 5_R2(config)#int s0/1/05_R2(config-if)#no shut5_R2(config-if)#interface s0/1/05_R2(config-if)#ip addr% Incomplete command.3.配置routerB的s0/1/0端口的IP地址5_R2(config-if)#ip address 172.17.200.6 255.255.255.2525_R2(config-if)#^Z4.配置路由器routerB的f0/1端口的IP地址5_R2#conf tEnter configuration commands, one per line. End with CNTL/Z. 5_R2(config)#int f0/15_R2(config-if)#ip address 10.5.2.1 255.255.255.0 5_R2(config-if)#^Z5.配置路由器routerB的f0/0端口的IP地址5_R2#conf tEnter configuration commands, one per line. End with CNTL/Z. 5_R2(config)#int f0/05_R2(config-if)#ip addr 10.5.4.1 255.255.255.05_R2(config-if)#no shutdown5_R2(config-if)#6.PC_B能与PC2ping 通,不能ping PC17.在PC_B上配置缺省路由5_R2(config)#ip route 10.5.1.0 255.255.255.0 172.17.200.55_R2(config)#exit5_R2#show ip routCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route, + - replicated routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 5 subnets, 2 masksS 10.5.1.0/24 [1/0] via 172.17.200.5C 10.5.2.0/24 is directly connected, FastEthernet0/1L 10.5.2.1/32 is directly connected, FastEthernet0/1C 10.5.4.0/24 is directly connected, FastEthernet0/0L 10.5.4.1/32 is directly connected, FastEthernet0/0172.17.0.0/16 is variably subnetted, 2 subnets, 2 masksC 172.17.200.0/24 is directly connected, Serial0/1/0L 172.17.200.6/32 is directly connected, Serial0/1/05_R2#ping 10.5.1.123 (PCA)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.5.1.123, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms 5_R2#5_R2(config)#ip route 10.5.3.0 255.255.255.0 172.17.200.55_R2(config)#exit5_R2#show ip routCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user staticrouteo - ODR, P - periodic downloaded static route, + - replicated routeGateway of last resort is not set10.0.0.0/8 is variably subnetted, 6 subnets, 2masksS 10.5.1.0/24 [1/0] via 172.17.200.5C 10.5.2.0/24 is directly connected, FastEthernet0/1L 10.5.2.1/32 is directly connected, FastEthernet0/1S 10.5.3.0/24 [1/0] via 172.17.200.5C 10.5.4.0/24 is directly connected, FastEthernet0/0L 10.5.4.1/32 is directly connected, FastEthernet0/0172.17.0.0/16 is variably subnetted, 2 subnets, 2 masksC 172.17.200.0/24 is directly connected, Serial0/1/0L 172.17.200.6/32 is directly connected, Serial0/1/05_R2#PCB ping PCAPCB ping PC1篇二:静态路由配置实验报告深圳大学实验报告课程名称:学院:信息工程学院学号:XX131114班级:3实验时间:实验报告提交时间:教务处制注:1、报告内的项目或内容设置,可根据实际情况加以调整和补充。

2、教师批改学生实验报告时间应在学生提交实验报告时间后10日内。

篇三:计算机网络实验报告---静态路由配置同济大学计算机网络实验课程实验报告题目:静态路由器的配置组员:专业:电气工程及其自动化学生邮箱:一、实验要求掌握静态路由方式实现网络的连通性。

二、技术原理路由器属于网络层设备,能够根据IP包头的信息,选择一条最佳路径,将数据包装发出去。

实现不同网段的主机之间的互相访问。

路由器是根据路由表进行选路好转发的。

而路由表里就是由一条条的路由信息组成。

路由表的产生方式一般有3种:? 直接路由-----给路由器接口配置一个IP地址,路由器自动产生本接口IP所在网段的路由信息。

? 静态路由-----在拓扑结构简单的网络中,网管员通过手工的方式配置本路由器未知网段的路由信息,从而实现不同网段之间的链接。

? 动态路由协议学习产生的路由-----在大规模的网络中,或网络拓扑结构相对复杂的情况下,通过在路由器上运行动态路由协议,路由器之间互相自动学习产生路由信息。

三、实现功能实现网络的互连互通,从而实现信息的共享和传递。

四、实验设备R1762(两台)、V35线缆(1条)、PC(两台)、直连线或者交叉线(2条)五、实验拓扑图中各端口的IP地址为: R1200-1:F1/0:172.16.1.1/24S1/2:172.16.2.1/24 R1200-2: F1/0:172.16.3.2/24S1/2:172.16.2.2/24六、实验步骤与实验内容1、查看路由器的相关配置情况。

R1700-1#sh ip routeCodes: C - connected, S - static, R - RIPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2* - candidate defaultGateway of last resort is no set R1700-1#sh int fa 1/0FastEthernet 1/0 is DOWN , line protocol is DOWN Hardware is PQ2 FCC FAST ETHERNET CONTROLLER FastEthernet, address is 00d0.f86 87c5 (bia 00d0.f86b.87c5)Interface address is: no ip addressARP type: ARPA,ARP Timeout: 3600 secondsMTU 1500 bytes, BW 100000 KbitEncapsulation protocol is Ethernet-II, loopback not setKeepalive interval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1Queueing strategy: FIFO Output queue 0/40, 0 drops; Input queue 0/75, 0 drops5 minutes input rate 0 bits/sec, 0 packets/sec5minutes output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 res lack, 0 no buffer,0 dropped Received 0 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort 0 packets output, 0 bytes, 0 underruns,0 dropped 0 output errors, 0 collisions, 7 interface resets R1700-1#sh int s1/2serial 1/2 is UP , line protocol is UPHardware is PQ2 SCC HDLC CONTROLLER serial Interface address is: no ip addressMTU 1500 bytes, BW XX KbitEncapsulation protocol is HDLC, loopback not setKeepalive interval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1Queueing strategy: WFQ5 minutes input rate 17 bits/sec, 0 packets/sec5 minutes output rate 17 bits/sec, 0 packets/sec 430 packets input, 9460 bytes, 0 res lack, 0 no buffer,0 dropped Received 430 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort430 packets output, 9460 bytes, 0 underruns,0 dropped 0 output errors, 0 collisions, 3 interfaceresets 1 carrier transitions V35 DCE cableDCD=up DSR=up DTR=up RTS=up CTS=up R1700-1#sh ip int brInterfaceIP-Address(Pri)OK?Statusserial 1/2 no address YES DOWN serial 1/3 no address YES DOWN FastEthernet 1/0 no address YES DOWN FastEthernet 1/1 no address YES DOWN Null 0no address YES UP2、在路由器1上配置接口的IP地址和串口上的时钟频率。

相关主题