思科认证辅导:路由器RIP动态路由配置阿
【www.xinr41319.cn--路由器资讯】
为了方便广大考生更好的复习,小编编辑整理提供了思科认证辅导:路由器RIP动态路由配置阿,以供各位考生考试复习参考,希望对考生复习有所帮助。
路由器RIP动态路由配置
//实现:通过动态路由协议RIP学习产生路由。
//环境:
CISCO 3560
Router01
Router02
VLAN2-PC01
PC02
//拓扑:如图(110422-路由器RIP动态路由配置)
//配置CISCO 3560
CISCO 3560》enable
CISCO 3560#configure terminal
CISCO 3560(config)#vlan 2
CISCO 3560(config-vlan)#exit
CISCO 3560(config)#vlan 3
CISCO 3560(config-vlan)#exit
CISCO 3560(config)#interface fastEthernet 0/1
CISCO 3560(config-if)#switchport access vlan 2
CISCO 3560(config-if)#exit
CISCO 3560(config)#inter fastEthernet 0/24
CISCO 3560(config-if)#switchport access vlan 3
CISCO 3560(config-if)#exit
CISCO 3560(config)#interface vlan 2
CISCO 3560(config-if)#ip address 192.168.1.1 255.255.255.0
CISCO 3560(config-if)#no shutdown
CISCO 3560(config-if)#exit
CISCO 3560(config)#interface vlan 3
CISCO 3560(config-if)#ip address 192.168.3.1 255.255.255.0
CISCO 3560(config-if)#no shutdown
CISCO 3560(config-if)#exit
CISCO 3560(config)#router rip //进入RIP
CISCO 3560(config-router)#network 192.168.1.0 //发布直连路由
CISCO 3560(config-router)#network 192.168.3.0
CISCO 3560(config-router)#version 2 //更改版本
CISCO 3560#write
CISCO 3560#show vlan
CISCO 3560#show ip router
//配置Router01
Router01》enable
Router01#configure terminal
Router01(config)#interface fastEthernet 1/0
Router01(config-if)#no shutdown
Router01(config-if)#ip address 192.168.3.2 255.255.255.0
Router01(config-if)#exit
Router01(config)#interface serial 2/0
Router01(config-if)#ip address 192.168.4.1 255.255.255.0
Router01(config-if)#clock rate 64000 //配置时钟频率
Router01(config-if)#no shutdown
Router01(config-if)#exit
Router01(config)#router rip
Router01(config-router)#network 192.168.3.0
Router01(config-router)#network 192.168.4.0
Router01(config-router)#version 2
Router01#write
//配置Router02
Router02》enable
Router02#configure terminal
Router02(config)#interface fastEthernet 1/0
Router02(config-if)#no shutdown
Router02(config-if)#ip address 192.168.2.1 255.255.255.0
Router02(config-if)#exit
Router02(config)#interface serial 2/0
Router02(config-if)#ip address 192.168.4.2 255.255.255.0
Router02(config-if)#no shutdown
Router02(config-if)#exit
Router02(config)#router rip
Router02(config-router)#network 192.168.2.0
Router02(config-router)#network 192.168.4.0
Router02(config-router)#version 2
Router02#write
Router02#show ip route
//测试:(终端计算机)
VLAN2-PC01》ping 192.168.2.101
Pinging 192.168.2.101 with 32 bytes of data:
Reply from 192.168.2.101: bytes=32 time=35ms TTL=126
Ping statistics for 192.168.2.101:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 35ms, Maximum = 35ms, Average = 35ms
Control-C
思科动态路由rip配置 思科rip配置实例
下一篇:水星路由器的使用方法