CCNA实验(3) -- RIP
RIP协议分为版本1和版本2,均具备以下特征:
1.是距离向量路由协议
2.使用跳数(Hop Count)作为度量值
3.默认路由更新周期为30秒
4.管理距离(AD)为120
5.支持触发更新
6.最大跳数为15跳
7.支持等价路径,默认4跳,最大6条
8.使用UDP520端口进行路由更新
RIPv1:
1.在路由更新过程中不携带子网信息
2.不提供认证
3.不支持VLSM和CIDR
4.采用广播更新
5.有类(Classful)路由协议
RIPv2:
1.在路由更新过程中携带子网信息
2.提供明文和MD5认证
3.支持VLSM和CIDR
4.采用组播(224.0.0.9)更新
5.无类(Classless)路由协议
1.RIPv1
2.RIPv2
3.RIPv1与RIPv2兼容
4.在接口上禁止运行RIP
5.RIPv2单播更新
6.RIPv2自动汇总
7.RIPv2手动汇总
8.RIPv2产生默认路由
9.RIPv2明文认证
10.RIPv2 MD5认证
11.RIP过滤路由
enable
conf t
no ip do lo
enable pass cisco
line con 0
logg sync
exec-t 0 0
line vty 0 4
pass cisco
logg sync
exit
host 1.RIP版本1
-------------------------------------------------------------
R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit
router rip
version 1
network 11.0.0.0
network 12.0.0.0
R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit
router rip
version 1
network 12.0.0.0
network 23.0.0.0
network 22.0.0.0
R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit
router rip
version 1
network 33.0.0.0
network 23.0.0.0
R1:
show ip route
2.RIP版本2
----------------------------------------------
R1:
router rip
version 2
no auto-summary
R2:
router rip
version 2
no auto-summary
R3:
router rip
version 2
no auto-summary
R1:
clear ip route *
show ip route
3.RIP版本1与版本2兼容
-------------------------------------------------
R3:
router rip
version 1
show ip route
R2:
show ip route
int f1/0
ip rip send version 1
ip rip receive version 1
4.在接口禁止运行RIP
-----------------------------------------------
R2:
int f1/0
no ip rip send version 1
no ip rip receive version 1
R3:
router rip
version 2
exit
R1:
router rip
passive-interface f0/0
R2/R1:
clear ip route *
show ip route
5.RIPv2单播更新
-------------------------------------------------------
R2:
router rip
passive-interface f0/0
exit
R1:
router rip
neighbor 12.1.1.2
exit
R2:
router rip
neighbor 12.1.1.1
exit
R1:
show ip route
6.RIPv2自动汇总
-----------------------------------------------------------
R1:
router rip
no passive-interface f0/0
no neighbor 12.1.1.2
auto-summary
exit
R2:
router rip
no passive-interface f0/0
no neighbor 12.1.1.1
auto-summary
exit
R3:
router rip
auto-summary
exit
7.RIPv2手动汇总
-----------------------------------------------------
R1:
router rip
no auto-summary
exit
R2:
router rip
no auto-summary
exit
R3:
router rip
no auto-summary
exit
R2:
int f0/0
ip summary-add rip 1.1.0.0 255.255.0.0
exit
8.RIPv2产生默认路由
-----------------------------------------------------
R3:
router rip
default-information originate
exit
router rip
no default-information originate
exit
int l1
ip add 10.1.1.1 255.0.0.0
exit
ip default-network 10.0.0.0
no ip default-network 10.0.0.0
int l1
shutdown
exit
ip route 0.0.0.0 0.0.0.0 null 0
router rip
network 0.0.0.0
exit
router rip
no network 0.0.0.0
exit
router rip
redistribute static
exit
R1:
clear ip route *
show ip route rip
9.RIPv2明文认证
----------------------------------------------------------
R1:
key chain yeslab
key 1
key-string cisco
exit
exit
int f0/0
ip rip authentication mode text
ip rip authentication key-chain yeslab
exit
R2:
key chain yeslab
key 1
key-string cisco
exit
exit
int f0/0
ip rip authentication mode text
ip rip authentication key-chain yeslab
exit
10.RIPv2 MD5认证
-----------------------------------------------------------
R2:
key chain yeslab2
key 1
key-string yeslab
exit
exit
int f1/0
ip rip authentication mode md5
ip rip authentication key-chain yeslab2
exit
R3:
key chain yeslab3
key 1
key-string yeslab
exit
exit
int f0/0
ip rip authentication mode md5
ip rip authentication key-chain yeslab3
exit
11.RIP过滤路由
R3:
access-list 10 deny 11.1.1.0
access-list 10 permit any
rotuer rip
distribute-list 10 in
exit
CCNA实验(3) -- RIP的更多相关文章
- Packet Tracer 5.0 构建CCNA实验(2)—— 配置VLAN
Packet Tracer 5.0 构建CCNA实验(2)—— 配置VLAN Vlan(Virtual Local Area Network) 即虚拟局域网.VLAN可以把同一个物理网络划分为多个逻辑 ...
- 实验10: RIP
实验7-1 : RIPV1 实验目的通过本实验可以掌握:1. 在路由器上启动RIPv1 路由进程2. 启用参与路由协议的接口,并且通告网络3. 理解路由表的含义4. 查看和调试RIPv1 路由协议相 ...
- CCNA实验4:HDLC和PPP
一.HDLC封装 router9和11上分别配置s0/0如下 conf t int s0/0 encapsulation hdlc do show int s0/0 ip address x.x.x. ...
- CCNA实验(9) -- Frame Relay
帧中继的一些特点:1.中小企业常用的广域网线路2.通信费用较低3.配置较为复杂 1.将Cisco路由器配置为帧中继交换机2.帧中继基本配置.帧中继映射3.在帧中继的链路上运行RIPv24.帧中继的多点 ...
- CCNA实验2.VLAN
一. 二.配置主VTP上的信息 sw2上配置为domain server,sw1上配置为domain client,sw2上增加vlan并命名和添加描述 conf t vtp domain corp ...
- CCNA实验1.port-security
一, 二,MAC地址绑定 3550-1#conf t3550-1(config)#int f0/13550-1(config-if)#switchport mode access /指定端口模式.35 ...
- CCNA实验(1) -- 基本配置
Ctrl+A: 到行首(Ahead)Ctrl+E: 到行尾(End)Esc+B: 回退一个单词(Back)Esc+F: 前进一个单词(Forward) 1.三种配置模式2.时间时区配置3.设置超时时间 ...
- CCNA实验(2) -- Static Route
1.静态路由R1:ip route 22.1.1.0 255.255.255.0 12.1.1.2 2.静态汇总路由R1:ip route 22.1.0.0 255.255.0.0 12.1.1.2 ...
- CCNA实验(5) -- OSPF
enableconf tno ip do loenable pass ciscoline con 0logg syncexec-t 0 0line vty 0 4pass ciscologg sync ...
随机推荐
- Java提高学习之Object(2)
Equality 问:euqals()函数是用来做什么的? 答:equals()函数可以用来检查一个对象与调用这个equals()的这个对象是否相等. 问:为什么不用“==”运算符来判断两个对象是否相 ...
- codeforces 8D Two Friends 二分+ 判断三个圆是否有公共交点
题目链接 有两个人x, y, 现在在A点, x要直接去B点, y要先去C点在去B点, 现在给出x, y两人可以行走的最大距离T1, T2, 求出他们从A点出发之后, 可以走的最长的公共路径. 我们先看 ...
- Scala中的apply实战详解
apply可以应用与Object和Class,单调用情景不一样. 通过Array(1,2,3,4,5) 可以调用到Array中的.appy方法.你可以看源码是如何实现apply的. 类中的appy比较 ...
- VM 映像 PowerShell 教学系列博客文章
编辑人员注释:本文章是与Microsoft Azure工程的项目经理Kay Singh共同撰写的 正如我在第一篇博客文章中所承诺的,我又回来了,为大家分步介绍如何在PowerShell中使用VM ...
- CSV 客座文章系列:KGroup 通过 Windows Azure 将 Qoob 内容管理发布到云中
编辑人员注释: 今天这篇文章由 KGroup 首席软件架构师兼研发部主管 Jody Donetti 与 KGroup 技术总监 Simone Procopio 共同撰写,介绍了 KGroup 如何使用 ...
- 【HDU】4908 (杭电 BC #3 1002题)BestCoder Sequence ——哈希
BestCoder Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Other ...
- 驾驶机动车在高速公路上倒车、逆行、穿越中央分隔带掉头的一次记6分。 答案:错误 2013《123号令-附件2》一、机动车驾驶人有下列违法行为之一,一次记12分[重新考《科目一》]:(七)驾驶机动车在高速公路上倒车、逆行、穿越中央分隔带掉头的; 可以参考:http://zhinan.jxedt.com/info/6375.htm
这一组交通警察手势是什么信号?_2600602 交警的面部对着哪个方向就是在指挥哪个方向的车,减速慢行是右手 左转弯待转是左手!~ 哎 本题解释由台州交通驾校提供 4755支持 hmq 只能看 ...
- append与after
apend与apendTo就如同after与insertAfter,表达意思相同,表达不同.A.after(B)=B.insertAfter(A).apend在元素里面添加,after在元素外面添加. ...
- 链表-Partition List
struct ListNode* partition(struct ListNode* head, int x) { struct ListNode *p1=(struct ListNode*)mal ...
- DBCP|C3P0参数详解
1.<!-- 数据源1 --> 2. <bean id="dataSource" 3. class="org.apache.commons.dbcp.B ...