Corp(config)#rout rip
Corp(config-router)#network 10.0.0.0

10.0.0.0/24 is subnetted, 5 subnets

C 10.1.1.0 is directly connected, Vlan1

C 10.1.2.0 is directly connected, Serial1/0

C 10.1.3.0 is directly connected, Serial1/1

C 10.1.4.0 is directly connected, Serial1/2

C 10.1.5.0 is directly connected, FastEthernet0/0

R 172.16.0.0/16 [120/1] via 10.1.5.2, 00:00:19, FastEthernet0/0

R 192.168.10.0/24 [120/1] via 10.1.2.2, 00:00:14, Serial1/0

[120/1] via 10.1.3.2, 00:00:14, Serial1/1

R 192.168.20.0/24 [120/1] via 10.1.2.2, 00:00:14, Serial1/0

[120/1] via 10.1.3.2, 00:00:14, Serial1/1

R 192.168.30.0/24 [120/1] via 10.1.4.2, 00:00:11, Serial1/2

R 192.168.40.0/24 [120/1] via 10.1.4.2, 00:00:11, Serial1/2

R1(config-router)#network 10.0.0.0

R1(config-router)#network 192.168.10.0
R1(config-router)#PASSive-interface S0/0/0               /*抑制RIP向外传播rip更新/

R1(config-router)#network 192.168.20.0

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 5 subnets

R 10.1.1.0 [120/1] via 10.1.2.1, 00:00:23, Serial0/0/0

[120/1] via 10.1.3.1, 00:00:23, Serial0/0/1

C 10.1.2.0 is directly connected, Serial0/0/0

C 10.1.3.0 is directly connected, Serial0/0/1

R 10.1.4.0 [120/1] via 10.1.2.1, 00:00:23, Serial0/0/0

[120/1] via 10.1.3.1, 00:00:23, Serial0/0/1

R 10.1.5.0 [120/1] via 10.1.2.1, 00:00:23, Serial0/0/0

[120/1] via 10.1.3.1, 00:00:23, Serial0/0/1

C 192.168.10.0/24 is directly connected, FastEthernet0/0

C 192.168.20.0/24 is directly connected, FastEthernet0/1

R2(config)#

R2(config)#rout rip

R2(config-router)#netw 10.0.0.0

R2(config-router)#network 192.168.30.0

R2(config-router)#network 192.168.40.0

R2(config-router)#network 192.168.30.0

R2(config-router)#version 2    /*注:RIPv2/

10.0.0.0/24 is subnetted, 5 subnets

R 10.1.1.0 [120/1] via 10.1.4.1, 00:00:22, Serial0/0/0

R 10.1.2.0 [120/1] via 10.1.4.1, 00:00:22, Serial0/0/0

R 10.1.3.0 [120/1] via 10.1.4.1, 00:00:22, Serial0/0/0

C 10.1.4.0 is directly connected, Serial0/0/0

R 10.1.5.0 [120/1] via 10.1.4.1, 00:00:22, Serial0/0/0

R 192.168.10.0/24 [120/2] via 10.1.4.1, 00:00:22, Serial0/0/0

R 192.168.20.0/24 [120/2] via 10.1.4.1, 00:00:22, Serial0/0/0

C 192.168.30.0/24 is directly connected, FastEthernet0/0

C 192.168.40.0/24 is directly connected, FastEthernet0/1

R3(config)#

R3(config)#rout rip

R3(config-router)#net 10.0.0.0

R3(config-router)#net 172.16.0.0

10.0.0.0/24 is subnetted, 5 subnets

R 10.1.1.0 [120/1] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 10.1.2.0 [120/1] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 10.1.3.0 [120/1] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 10.1.4.0 [120/1] via 10.1.5.1, 00:00:12, FastEthernet0/0

C 10.1.5.0 is directly connected, FastEthernet0/0

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.10.0 is directly connected, Dot11Radio0/3/0

R 192.168.10.0/24 [120/2] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 192.168.20.0/24 [120/2] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 192.168.30.0/24 [120/2] via 10.1.5.1, 00:00:12, FastEthernet0/0

R 192.168.40.0/24 [120/2] via 10.1.5.1, 00:00:12, FastEthernet0/0

S* 0.0.0.0/0 [1/0] via 10.1.5.1

cisco RIP(传闻协议)Routing information protocol的更多相关文章

  1. 浏览器扩展系列————异步可插入协议(pluggable protocol)的实现

    原文:浏览器扩展系列----异步可插入协议(pluggable protocol)的实现 IE中有很多我们比较熟悉的协议,如http,https,mailto,ftp等.当然你也可以实现自己定义的协议 ...

  2. 编程范式 --- 面向协议编程(Protocol Oriented Programming,简称POP)

    面向协议编程(Protocol Oriented Programming,简称POP) 是Swift的一种编程范式,Apple于2015年WWDC踢出 在Swift的标准库中,能见到大量POP的影子 ...

  3. Cisco VTP中继协议配置

    VTP协议: VLAN中继协议,VTP,VLAN TRUNKING PROTOCOL,是CISCO专用协议,大多数交换机都支持该协议.VTP负责在VTP域内同步VLAN信息, 这样就不必在每个交换上配 ...

  4. 网络协议之:redis protocol 详解

    目录 简介 redis的高级用法 Redis中的pipline Redis中的Pub/Sub RESP protocol Simple Strings Bulk Strings RESP Intege ...

  5. 互联网协议(Internet Protocol Suite)

    互联网实现分层:有的7层有的4层:阮一峰认为分五层(个人喜欢): 最底下的一层叫做"实体层"(Physical Layer),最上面的一层叫做"应用层"(App ...

  6. Unity3D使用TCP/IP协议,传递protocol buffer消息protobuf-net

    原文:http://my.oschina.net/faint/blog/296785 第一部分 dll 1 下面大多数内容,都是使用c#编译的dll来实现的. 2 编译为dll后,要拖放到unity3 ...

  7. Cisco安全防护读书笔记之一Cisco系统设备协议漏洞

    650) this.width=650;" onclick='window.open("http://blog.51cto.com/viewpic.php?refimg=" ...

  8. RIP 路由协议

    RIP动态路由选择协议 routing information protocol     IGP   小范围   路由器限制为15台  超过可能无法收敛   收敛概念  在一个域内  各个路由器知道各 ...

  9. OSI七层模型详解 TCP/IP协议

      总结 OSI中的层 功能 TCP/IP协议族 应用层 文件传输,电子邮件,文件服务,虚拟终端 TFTP,HTTP,SNMP,FTP,SMTP,DNS,Telnet 等等 表示层 数据格式化,代码转 ...

随机推荐

  1. hive的事物性 transaction manager

    create table lk3 (id string,nname string,grade int,goldUser int); insert into lk3 values (,, ), (,, ...

  2. linux命令集锦 基于centos7---优化linux的命令

    sed -i ‘s###g’ /etc/selinux/config  3个# 用于更改selinux配置文件:sed -i 's#SELINUX=enforcing#SELINUX=disabled ...

  3. js中toFixed()函数出现小数点后的多位数的原因

    不演示示例了. 强调一点就是:toFixed()返回的str类型,所以如果想写成百分之多少的情况下,建议直接在分子上乘100后,在除以总和,再使用toFixed()函数保留几位小数.不然会出现如下:7 ...

  4. hdu 6076 Security Check

    题 OvO http://acm.hdu.edu.cn/showproblem.php?pid=6076 2017 Multi-University Training Contest - Team 4 ...

  5. net core 简单读取json配置文件

    //添加 json 文件路径 var builder = new ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()) ...

  6. composer (一)

    composer参考文档: composer中文网 安装composer:  Windows安装:使用安装程序:https://docs.phpcomposer.com/00-intro.html#U ...

  7. Eclips的JDK更换为1.8

    1.Window—Preferences—Java—Compiler—右侧面板设置为1.6 2.Window—Preferences—Java—Installed JREs—右侧面板“Add”本地的1 ...

  8. matlab中setdiff

    源自:http://www.w2bc.com/Article/16709 matlab中setdiff()函数作用:判断2个数组中不同元素 c = setdiff(A, B) 返回在A中有,而B中没有 ...

  9. websocket 连接测试端口服务是否正常代码

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  10. MySQL_(Java)使用preparestatement解决SQL注入的问题

    MySQL_(Java)使用JDBC向数据库发起查询请求 传送门 MySQL_(Java)使用JDBC创建用户名和密码校验查询方法 传送门 MySQL数据库中的数据,数据库名garysql,表名gar ...