1、实验地点7-219批改意见成绩教师签字: (一) 实验目的: 掌握利用超级终端配置路由器时的连接和参数设置;掌握路由器的常见模式及其转换命令;掌握用配置向导配置路由器的步骤和方法;掌握检查路由器配置和状态的路由器命令。掌握路由器配置文件管理方法,掌握静态路由和动态路由的配置方法。(二)实验环境:软件环境:Windows 2000XP 硬件环境:IBMPC或兼容机局域网、PC机连入Internet(三)实验学时:2学时,必做.(四)实验要求:利用超级终端进行路由器的配置,记录配置过程,在实验报告中注明各种命令的功能。进行网络地址规划,配置路由器;检查路由器配置。掌握路由协议的种类和特点。掌握静态
2、路由、默认路由的配置方法。掌握查看路由条目的方法,并验证路由的作用。(6)实验步骤: 1.设计并连接网络。2.连接主机与路由器。3.配置各个接口。4.最后配置路由表。配置RIP:#rip 1 version 2 network 0.0.0.0路由表:r1display ip routing-tableRouting Tables: Public Destinations : 10 Routes : 10Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 Direct 0 0 20.0.1.1 Eth0/020.0.1.1/3
3、2 Direct 0 0 127.0.0.1 InLoop020.0.2.0/24 Direct 0 0 20.0.2.1 S2/020.0.2.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.2/32 Direct 0 0 20.0.2.2 S2/020.0.3.0/24 RIP 100 1 20.0.2.2 S2/020.0.4.0/24 RIP 100 1 20.0.2.2 S2/020.0.5.0/24 RIP 100 2 20.0.2.2 S2/0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32
4、Direct 0 0 127.0.0.1 InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.1.1 Ethernet0.Eth0/1 down down unassigned Ethernet0.S1/0 down
5、 down unassigned Serial1/0.S2/0 up up 20.0.2.1 Serial2/0.测试连通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times
6、 in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置 IP:interface Ethernet0/0 port link-mode route ip address 20.0.1.1 255.255.255.0interface Ethernet0/1interface Serial1/0 link-protocol pppinterface Serial2/0 ip address 20.0.2.1 255.255.255.0配置 OSPF:ospf 1 area 0.0.0.0 network 0.0.0.0
7、 255.255.255.25520.0.3.0/24 OSPF 10 1572 20.0.2.2 S2/020.0.4.0/24 OSPF 10 3124 20.0.2.2 S2/020.0.5.0/24 OSPF 10 3125 20.0.2.2 S2/0配置静态路由:R1ip rout R1ip route-static 20.0.3.0 255.255.255.0 20.0.2.2R1ip route-static 20.0.4.0 255.255.255.0 20.0.2.2R1ip route-static 20.0.5.0 255.255.255 .0 20.0.2.2R1pin
8、g 20.0.5.2 PING 20.0.1.1: 56 data bytes, press CTRL_C to break Reply from 20.0.1.1: bytes=56 Sequence=1 ttl=255 time=25 ms bytes=56 Sequence=2 ttl=255 time=24 ms bytes=56 Sequence=3 ttl=255 time=25 ms bytes=56 Sequence=4 ttl=255 time=25 ms bytes=56 Sequence=5 ttl=255 time=24 ms - 20.0.1.1 ping stati
9、stics - 5 packet(s) transmitted 5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24/25 msR2:rip 1H3C-rip-1display ip routing-table 12 Routes : 1220.0.1.0/24 RIP 100 1 20.0.2.1 S2/020.0.2.0/24 Direct 0 0 20.0.2.2 S2/020.0.2.1/32 Direct 0 0 20.0.2.1 S2/020.0.2.2/32 Direct 0 0 127.0.0.1
10、 InLoop020.0.3.0/24 Direct 0 0 20.0.3.1 Eth0/020.0.3.1/32 Direct 0 0 127.0.0.1 InLoop020.0.4.0/24 Direct 0 0 20.0.4.1 S1/020.0.4.1/32 Direct 0 0 127.0.0.1 InLoop020.0.4.2/32 Direct 0 0 20.0.4.2 S1/020.0.5.0/24 RIP 100 1 20.0.4.2 S1/0H3C-rip-1display ip int bEth0/0 up up 20.0.3.1 Ethernet0.S1/0 up up
11、 20.0.4.1 Serial1/0.S2/0 up up 20.0.2.2 Serial2/0.配置IP: ip address 20.0.3.1 255.255.255.0 ip address 20.0.4.1 255.255.255.0 ip address 20.0.2.2 255.255.255.0配置OSPF:H3Cdisplay ip routing-table20.0.1.0/24 OSPF 10 1563 20.0.2.1 S2/020.0.5.0/24 OSPF 10 1563 20.0.4.2 S1/0H3Cdisplay ip int bR2ip rout R2ip
12、 route-static 20.0.1.0 255.255.255.0 20.0.2.2R2ip route-static 20.0.5.0 255.255.255 .0 20.0.2.2R2ping 20.0.5.2 PING 20.0.5.2: bytes=56 Sequence=1 ttl=127 time=25 ms Reply from 20.0.5.2: bytes=56 Sequence=2 ttl=127 time=25 ms bytes=56 Sequence=3 ttl=127 time=24 ms bytes=56 Sequence=4 ttl=127 time=25
13、ms bytes=56 Sequence=5 ttl=127 time=25 ms - 20.0.5.2 ping statistics - 0.00% packet lossR3:Destinations :20.0.1.0/24 OSPF 10 3125 20.0.4.1 S1/020.0.2.0/24 OSPF 10 3124 20.0.4.1 S1/020.0.3.0/24 OSPF 10 1572 20.0.4.1 S1/020.0.4.0/24 Direct 0 0 20.0.4.2 S1/020.0.4.1/32 Direct 0 0 20.0.4.1 S1/020.0.4.2/
14、32 Direct 0 0 127.0.0.1 InLoop020.0.5.0/24 Direct 0 0 20.0.5.1 Eth0/020.0.5.1/32 Direct 0 0 127.0.0.1 InLoop0Eth0/0 up up 20.0.5.1 Ethernet0.Eth0/1 down down 10.0.0.9 Ethernet0.S1/0 up up 20.0.4.2 Serial1/0.S2/0 down down 2.0.0.1 Serial2/0.ping 20.0.3.2Pinging 20.0.3.2 with 32 bytes of data:Reply from 20.0.3.2:Ping statistics for 20.0.3.2: ip address 20
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2