通过RIPv2动态路由技术和三层交换机技术,可以实现不通区域网络之间的互相连通.ppt
配置三层交换机实现不同区配置三层交换机实现不同区域网连通域网连通第一小组成员:第一小组成员:江江 瀅瀅 3号号 邱飞燕邱飞燕 5号号 熊玉莲熊玉莲 22号号 吴碧云吴碧云 33号号 黄黄 敏敏 36号号 苏玉华苏玉华 39号号 张燕玲张燕玲 40号号项目分工:项目分工:苏玉华:连线苏玉华:连线江瀅:江瀅:PC机互机互ping黄敏:黄敏:PC机互机互ping邱飞燕:更改邱飞燕:更改PC3的的IP和网关和网关张燕玲:更改张燕玲:更改PC4的的IP和网关和网关熊玉莲、吴碧云:对路由器的配置熊玉莲、吴碧云:对路由器的配置熊玉莲:熊玉莲:PPT制作制作S3750R1700F 0/2:172.16.2.1F 0/1:172.16.1.1F 1/0:172.16.1.2F 1/1:172.16.3.1PC3:172.16.2.2/24网关:网关:172.16.2.1PC4:172.16.3.2/24网关:网关:172.16.3.1实验拓扑图实验拓扑图PC3PC3更改更改IPIP、网关、网关PC4PC4更改更改IPIP、网关、网关配置配置S3750:S3750#configure terminalEnter configuration commands,one per line.End with CNTL/Z.S3750(config)#interface f 0/12011-03-14 12:50:58 5-CONFIG:Configured from outbandS3750(config-if)#no switchport2011-03-14 12:51:02 5-CONFIG:Configured from outbandS3750(config-if)#ip address 172.16.1.1 255.255.255.02011-03-14 12:51:23 5-CONFIG:Configured from outbandS3750(config-if)#no shutdown2011-03-14 12:51:30 5-CONFIG:Configured from outbandS3750(config-if)#exit2011-03-14 12:51:34 5-CONFIG:Configured from outbandS3750(config)#interface f 0/22011-03-14 12:54:18 5-CONFIG:Configured from outbandS3750(config-if)#no switchport2011-03-14 12:54:24 5-CONFIG:Configured from outbandS3750(config-if)#ip address 172.16.2.1 255.255.255.02011-03-14 12:54:55 5-CONFIG:Configured from outbandS3750(config-if)#no shutdown2011-03-14 12:55:04 5-CONFIG:Configured from outbandS3750(config-if)#end2011-03-14 12:55:07 5-CONFIG:Configured from outbandS3750#configure terminalEnter configuration commands,one per line.End with CNTL/Z.S3750(config)#router rip2011-03-14 12:52:00 5-CONFIG:Configured from outbandS3750(config-router)#version 22011-03-14 12:52:10 5-CONFIG:Configured from outbandS3750(config-router)#network 172.16.1.02011-03-14 12:52:26 5-CONFIG:Configured from outbandS3750(config-router)#network 172.16.2.02011-03-14 12:52:37 5-CONFIG:Configured from outbandS3750(config-router)#end2011-03-14 12:52:40 5-CONFIG:Configured from outbandS3750#show ip routeType:C-connected,S-static,R-RIP,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 2Status:Half-active-active,but failed to insert into Hardware Forward Table that isFULL,or need not insert into Hardware Forward Table Backup -active,and there is at least one better route whose distance issmaller.ng linklayer address of nexthopoute,another possible reason is that it is learniType Destination IP Next hop Interface Distance Metric Status-C 172.16.1.0/24 0.0.0.0 Fa0/1 0 0 ActiveC 172.16.2.0/24 0.0.0.0 Fa0/2 0 0 ActiveC 192.168.1.0/24 0.0.0.0 VL1 0 0 Inactive配置配置R1700:1762#configure terminalEnter configuration commands,one per line.End with CNTL/Z.1762(config)#interface f 1/01762(config-if)#ip address 172.16.1.2 255.255.255.01762(config-if)#no shutdown1762(config-if)#exit1762(config)#interface f 1/11762(config-if)#ip address 172.16.3.1 255.255.255.01762(config-if)#no shutdown1762(config-if)#EXIT1762(config)#router rip1762(config-router)#version 21762(config-router)#network 172.16.1.01762(config-router)#network 172.16.3.01762(config-router)#end1762#show ip routeCodes:C-connected,S-static,R-RIP 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 2 *-candidate defaultGateway of last resort is no setC 172.16.1.0/24 is directly connected,FastEthernet 1/0C 172.16.1.2/32 is local host.R 172.16.2.0/24 120/1 via 172.16.1.1,00:00:13,FastEthernet 1/0C 172.16.3.0/24 is directly connected,FastEthernet 1/1C 172.16.3.1/32 is local host.PC3 ping PC4C:Documents and SettingsUSERping 172.16.3.2Pinging 172.16.3.2 with 32 bytes of data:Reply from 172.16.3.2:bytes=32 time1ms TTL=126Reply from 172.16.3.2:bytes=32 time1ms TTL=126Reply from 172.16.3.2:bytes=32 time1ms TTL=126Reply from 172.16.3.2:bytes=32 timeping 172.16.2.2Pinging 172.16.2.2 with 32 bytes of data:Reply from 172.16.2.2:bytes=32 time1ms TTL=126Reply from 172.16.2.2:bytes=32 time1ms TTL=126Reply from 172.16.2.2:bytes=32 time1ms TTL=126Reply from 172.16.2.2:bytes=32 time1ms TTL=126Ping statistics for 172.16.2.2:Packets:Sent=4,Received=4,Lost=0(0%loss),Approximate round trip times in milli-seconds:Minimum=0ms,Maximum=0ms,Average=0ms实验结论:实验结论:通过通过RIPv2动态路由技术和三层交动态路由技术和三层交换机技术,可以实现不通区域网络之间换机技术,可以实现不通区域网络之间的互相连通。的互相连通。实验小结:实验小结:通过本次试验,我们发现在实验的每一个过程通过本次试验,我们发现在实验的每一个过程中都需要非常认真对待,不然出错的可能很大,中都需要非常认真对待,不然出错的可能很大,试验期间合理的分工是快速完成实验的秘诀。试验期间合理的分工是快速完成实验的秘诀。