路由技术实训报告
配置接口IP:
(config)# interface fastethernet0/0
(config-if)# ip add 192.168.3.1 255.255.255.0
启用接口:(config-if)# no shutdown
(config)# interface serial0/0/0
(config-if)# ip add 192.168.2.2 255.255.255.0 (config-if)# clock rate 64000
启用接口:(config-if)# no shutdown
(config)# interface serial0/0/1
(config-if)# ip add 192.168.4.2 255.255.255.0 (config-if)# clock rate 64000
启用接口:(config-if)# no shutdown 配置RIP:(config)# router rip
(config-router)# network 192.168.2.0 (config-router)# network 192.168.3.0 (config-router)# network 192.168.4.0
配置路由器主机名:(config)#hostname R3 配置接口IP:
(config)# interface fastethernet0/0
(config-if)# ip add 192.168.1.1 255.255.255.0
启用接口:(config-if)# no shutdown
(config)# interface serial0/0/1
(config-if)# ip add 192.168.4.1 255.255.255.0 (config-if)# clock rate 64000
启用接口:(config-if)# no shutdown 配置RIP:(config)# router rip
(config-router)# network 192.168.4.0 (config-router)# network 192.168.5.0
2) 禁用DNS查找:(config)# no ip domain-lookup 3) 配置控制台连接的口令:(config)#line console 0
(config-line)#password cisco (config-line)#login
4) 配置 VTY 连接口令:(config)# line vty 0 2
(config-line)#password cisco (config-line)#login
四、实训结果
R1#show run
Building configuration...
Current configuration : 682 bytes !
5
路由技术实训报告
version 12.4
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname R1 ! !
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0 duplex auto speed auto !
interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !
interface Serial0/0/0
ip address 192.168.2.1 255.255.255.0 clock rate 64000 !
interface Serial0/0/1 no ip address shutdown !
interface Vlan1 no ip address shutdown !
router rip
network 192.168.1.0 network 192.168.2.0 !
ip classless !
line con 0
password cisco login
line vty 0 4 password cisco login ! ! end
R2#show run
Building configuration...
Current configuration : 716 bytes
6
路由技术实训报告
!
version 12.4
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname R2 ! !
interface FastEthernet0/0
ip address 192.168.3.1 255.255.255.0 duplex auto speed auto !
interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.0 !
interface Serial0/0/1
ip address 192.168.4.2 255.255.255.0 clock rate 64000 !
interface Vlan1 no ip address shutdown !
router rip
network 192.168.2.0 network 192.168.3.0 network 192.168.4.0 !
ip classless ! !
line con 0
password cisco login
line vty 0 4 password cisco login ! ! ! end
7
路由技术实训报告
R3#show run
Building configuration...
Current configuration : 664 bytes !
version 12.4
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname R3 ! !
interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0 duplex auto speed auto !
interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !
interface Serial0/0/0 no ip address shutdown !
interface Serial0/0/1
ip address 192.168.4.1 255.255.255.0 !
interface Vlan1 no ip address shutdown !
router rip
network 192.168.4.0 network 192.168.5.0 !
ip classless ! !
line con 0
password cisco login
line vty 0 4 password cisco login ! !! end
8
路由技术实训报告
五、实训结果分析
本次的的实训相较于上一个实训,多了一个内容,就是需要在路由器上配置RIP 路由,总的说来,在本次的实训中没有遇到什么太大的困难,在本次实训中主要遇到的困难就是对一些口令的单词记得不是很熟,有的时候会打错单词。
实训项目三:RIPv2配置
一、实训目的
通过本次的实训,学会在路由器上配置RIPv2 路由协议。
二、实训任务
根据以下说明对 BRANCH、HQ 和 ISP 路由器进行基本配置:
? 配置路由器主机名 ? 禁用 DNS 查找
? 配置路由器IP 地址及RIPv2路由协议 ? 配置当日消息标语 ? 配置控制台连接的口令 ? 配置 VTY 连接的口令
9