思科五台路由rip配置_如何为Cisco IOS配置RIP路由?

思科五台路由rip配置

思科五台路由rip配置

Hi, today we will look for some networking stuff. Up to now, I have not written any routing-related technical post. In this article, I am gonna show you some simple dynamic routing with RIP protocol. Routing is divided into two part which one is static. In static routing, routes are configured in the router by typing every detail of the route and all things configured are used in routing. But in dynamic routing, we configure the general rules and then let the network generate specific rules according to the config.

嗨,今天我们将寻找一些联网的东西。 到目前为止,我还没有写任何与路由相关的技术文章。 在本文中,我将向您展示一些使用RIP协议的简单动态路由。 路由分为两个部分,其中一个是静态的。 在静态路由中,通过键入路由的每个详细信息在路由器中配置路由,并且在路由中使用所有已配置的内容。 但是在动态路由中,我们配置通用规则,然后让网络根据配置生成特定规则。

For example, if you need to statically route A, B, C  networks through D network you should write separate route all of the three networks in each router. But in dynamic routing, you should only write three route in one router. Other routers get theses routes with dynamic routing protocols. Now let start typing commands.

例如,如果需要通过D网络静态路由A,B,C网络,则应在每个路由器中为所有三个网络编写单独的路由。 但是在动态路由中,您只应在一台路由器中写入三个路由。 其他路由器通过动态路由协议获得这些路由。 现在开始输入命令。

设置接口的静态IP地址 (Set Static IP Addresses For Interfaces)

First, we need to configure the IP address of the interfaces that play in routing.

首先,我们需要配置路由中使用的接口的IP地址。

R1#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface ethernet 0/0
R1(config-if)#ip address 10.1.0.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit

R2#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface ethernet 0/1
R2(config-if)#ip address 10.2.0.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit

R3#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#interface ethernet 0/0
R3(config-if)#ip add 10.1.0.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit

R3#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one p
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值