1、,配置三层交换机实现不同区域网连通,第一小组成员:,江 瀅 3号 邱飞燕 5号熊玉莲 22号吴碧云 33号黄 敏 36号苏玉华 39号张燕玲 40号,项目分工:,苏玉华:连线 江瀅:PC机互ping 黄敏:PC机互ping 邱飞燕:更改PC3的IP和网关 张燕玲:更改PC4的IP和网关 熊玉莲、吴碧云:对路由器的配置 熊玉莲:PPT制作,S3750,R1700,F 0/2:172.16.2.1,F 0/1:172.16.1.1,F 1/0:172.16.1.2,F 1/1:172.16.3.1,PC3:172.16.2.2/24 网关:172.16.2.1,PC4:172.16.3.2/24
2、网关:172.16.3.1,实验拓扑图,PC3更改IP、网关,PC4更改IP、网关,配置S3750:,S3750#configure terminal Enter configuration commands, one per line. End with CNTL/Z. S3750(config)#interface f 0/1 2011-03-14 12:50:58 5-CONFIG:Configured from outband S3750(config-if)#no switchport 2011-03-14 12:51:02 5-CONFIG:Configured from outb
3、and S3750(config-if)#ip address 172.16.1.1 255.255.255.0 2011-03-14 12:51:23 5-CONFIG:Configured from outband S3750(config-if)#no shutdown 2011-03-14 12:51:30 5-CONFIG:Configured from outband S3750(config-if)#exit 2011-03-14 12:51:34 5-CONFIG:Configured from outband S3750(config)#interface f 0/2 201
4、1-03-14 12:54:18 5-CONFIG:Configured from outband S3750(config-if)#no switchport 2011-03-14 12:54:24 5-CONFIG:Configured from outband S3750(config-if)#ip address 172.16.2.1 255.255.255.0 2011-03-14 12:54:55 5-CONFIG:Configured from outband,S3750(config-if)#no shutdown 2011-03-14 12:55:04 5-CONFIG:Co
5、nfigured from outband S3750(config-if)#end 2011-03-14 12:55:07 5-CONFIG:Configured from outband S3750#configure terminal Enter configuration commands, one per line. End with CNTL/Z. S3750(config)#router rip 2011-03-14 12:52:00 5-CONFIG:Configured from outband S3750(config-router)#version 2 2011-03-1
6、4 12:52:10 5-CONFIG:Configured from outband S3750(config-router)#network 172.16.1.0 2011-03-14 12:52:26 5-CONFIG:Configured from outband S3750(config-router)#network 172.16.2.0 2011-03-14 12:52:37 5-CONFIG:Configured from outband S3750(config-router)#end 2011-03-14 12:52:40 5-CONFIG:Configured from
7、outband,S3750#show ip routeType: C - connected, S - static, R - RIP, O - 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 Status:Half-active - active,but failed to insert into Hardware Forward Table that is F
8、ULL,or need not insert into Hardware Forward TableBackup - active,and there is at least one better route whose distance is smaller. 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
9、/24 0.0.0.0 Fa0/1 0 0 Active C 172.16.2.0/24 0.0.0.0 Fa0/2 0 0 Active C 192.168.1.0/24 0.0.0.0 VL1 0 0 Inactive,配置R1700:,1762#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 1762(config)#interface f 1/0 1762(config-if)#ip address 172.16.1.2 255.255.255.0 1762(config-i
10、f)#no shutdown 1762(config-if)#exit 1762(config)#interface f 1/1 1762(config-if)#ip address 172.16.3.1 255.255.255.0 1762(config-if)#no shutdown 1762(config-if)#EXIT 1762(config)#router rip 1762(config-router)#version 2 1762(config-router)#network 172.16.1.0 1762(config-router)#network 172.16.3.0 17
11、62(config-router)#end,1762#show 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 C 172.16.1.0/24 is di
12、rectly connected, FastEthernet 1/0 C 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/0 C 172.16.3.0/24 is directly connected, FastEthernet 1/1 C 172.16.3.1/32 is local host.,PC3 ping PC4,C:Documents and SettingsUSERping 172.16.3.2 Pinging 172.16.3.2 with 3
13、2 bytes of data:Reply from 172.16.3.2: bytes=32 time1ms TTL=126 Reply from 172.16.3.2: bytes=32 time1ms TTL=126 Reply from 172.16.3.2: bytes=32 time1ms TTL=126 Reply from 172.16.3.2: bytes=32 time1ms TTL=126Ping statistics for 172.16.3.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approxima
14、te round trip times in milli-seconds:Minimum = 0ms, Maximum = 0ms, Average = 0ms,PC4 ping PC3,C:Documents and SettingsUSERping 172.16.2.2Pinging 172.16.2.2 with 32 bytes of data:Reply from 172.16.2.2: bytes=32 time1ms TTL=126 Reply from 172.16.2.2: bytes=32 time1ms TTL=126 Reply from 172.16.2.2: byt
15、es=32 time1ms TTL=126 Reply 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动态路由技术和三层交换机技术,可以实现不通区域网络之间的互相连通。,实验小结:,通过本次试验,我们发现在实验的每一个过程中都需要非常认真对待,不然出错的可能很大,试验期间合理的分工是快速完成实验的秘诀。,