多语言展示
当前在线:583今日阅读:155今日分享:35

RIP路由器配置

路由信息协议(RIP) 是内部网关协议IGP中最先得到广泛使用的协议【1058[1]  】。RIP是一种分布式的基于距离矢量的路由选择协议,是因特网的标准协议,其最大优点就是实现简单,开销较小。
工具/原料
1

路由器

2

电脑

方法/步骤
2

1、  根据拓扑结构的要求,正确配置路由器R1的以太网接口和RIP路由;Router>Router>enableRouter#config terEnter configuration commands, one per line.  End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 10.10.10.1 255.255.255.0Router(config-if)#no shut Router(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter#config terEnter configuration commands, one per line.  End with CNTL/Z.Router(config)#int s0/0/0Router(config-if)#ip address 172.16.0.1 255.255.255.0Router(config-if)#clock rate 64000This command applies only to DCE interfacesRouter(config-if)#no shutRouter(config-if)#exitRouter(config)#router ripRouter(config-router)#network 10.10.10.0Router(config-router)#network 172.16.0.0Router(config-router)#end

3

2、  配置路由器R2的以太网接口和RIP路由;Router>enableRouter#config terEnter configuration commands, one per line.  End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 10.10.20.1 255.255.255.0Router(config-if)#no shut Router(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Router(config-if)#int s0/0/0Router(config-if)#endRouter#%SYS-5-CONFIG_I: Configured from console by console Router#config terEnter configuration commands, one per line.  End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 20.20.20.1 255.255.255.0Router(config-if)#no shutRouter(config-if)#int s0/0/0Router(config-if)#ip address 172.16.0.2 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shut Router(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up Router(config-if)#ro%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up                   ^% Invalid input detected at '^' marker.Router(config-if)#router ripRouter(config-router)#network 20.20.20.0Router(config-router)#network 172.16.0.0Router(config-router)#endRouter#%SYS-5-CONFIG_I: Configured from console by console

推荐信息