module3-以太网交换技术基础与实现hc vrrp原理配置_第1页
module3-以太网交换技术基础与实现hc vrrp原理配置_第2页
module3-以太网交换技术基础与实现hc vrrp原理配置_第3页
module3-以太网交换技术基础与实现hc vrrp原理配置_第4页
module3-以太网交换技术基础与实现hc vrrp原理配置_第5页
已阅读5页,还剩19页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、VRRP原理与配置Page2前 言 本课程介绍虚拟路由器备份协议(VRRP)的协议原理与配置。 VRRP描述了一个动态选举协议,该协议从一组VRRP路由器中选举一个主路由器(Master),并将Master关联到一个虚拟路由器,作为所连接网段的网关。Page3培训目标 学完本课程后,您应该能:理解VRRP的协议原理掌握VRP平台上VRRP的配置Page4为什么需要VRRP?10.1.1.1/2410.1.1.254EthernetRTAInternet10.1.1.2/2410.1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.25

2、4/24PCAPCBPCCPCD只有一个网关,没有冗余Page5什么是VRRP?10.1.1.1/2410.1.1.254EthernetRTA10.1.1.2/2410.1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.251/24PCAPCBPCCPCDRTB10.1.1.252/24虚拟路由器10.1.1.254E0/0E0/0InternetPage6虚拟路由器虚拟路由器ID和虚拟IP地址在RTA上配置虚拟路由器ID为1,IP地址为10.1.1.254在RTB上对虚拟路由器的ID和IP地址做同样的配置Page7配置可Ping

3、虚拟IP地址开启可Ping虚拟IP地址的功能显示虚拟IP地址是否可PingPage8基于Priority选举Master10.1.1.1/2410.1.1.254EthernetRTA10.1.1.2/2410.1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.251/24Priority = 100PCAPCBPCCPCDRTB10.1.1.252/24Priority = 200虚拟路由器10.1.1.254E0/0E0/0BackupMasterInternetPage9基于Priority选举MasterPriority数值

4、大的为MasterPriority数值小的为BackupPage10特殊的Priority值25510.1.1.1/2410.1.1.254EthernetRTA10.1.1.2/2410.1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.254/24PCAPCBPCCPCDRTB10.1.1.252/24虚拟路由器10.1.1.254E0/0E0/0IP地址拥有者InternetPage11特殊的Priority值255IP地址拥有者的Run Priority是255虽然RTB的Config Priority比较高,但是RTB仍然

5、是BackupPage12特殊的Priority值0删除VRRP配置,停止运行VRRPPriority值为0显示当前Master已经停止运行VRRPPage13配置单个虚拟路由器物理拓扑10.1.1.1/2410.1.1.254EthernetRTA10.1.1.2/2410.1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.251/24Priority = 100PCAPCBPCCPCDRTB10.1.1.252/24Priority = 200虚拟路由器10.1.1.254E0/0E0/0BackupMasterInternet

6、Page14配置单个虚拟路由器配置RTAsystem-view Quidwaysysname RTARTARTAinterface Ethernet 0/0RTA-Ethernet0/0ip address 10.1.1.251 24RTA-Ethernet0/0RTA-Ethernet0/0vrrp vrid 1 virtual-ip 10.1.1.254RTA-Ethernet0/0quitRTA配置端口IP地址创建一个虚拟路由器,ID为1,IP地址为10.1.1.254Page15配置单个虚拟路由器配置RTBsystem-view Quidwaysysname RTBRTBRTBinte

7、rface Ethernet 0/0RTB-Ethernet0/0ip address 10.1.1.252 24RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 virtual-ip 10.1.1.254RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 priority 200RTB-Ethernet0/0quitRTB与RTA上配置的VRID和虚拟IP地址一致配置虚拟路由器1的Priority为200Page16配置多个虚拟路由器物理拓扑10.1.1.1/2410.1.1.100EthernetRTA10.1.1.2/24

8、10.1.1.10010.1.1.3/2410.1.1.20010.1.1.4/2410.1.1.20010.1.1.251/24PCAPCBPCCPCDRTB10.1.1.252/24VR 110.1.1.100E0/0E0/0VR 210.1.1.200VR 1的MasterVR 2的MasterInternetPage17配置多个虚拟路由器配置RTAsystem-view Quidwaysysname RTARTARTAinterface Ethernet 0/0RTA-Ethernet0/0ip address 10.1.1.251 24RTA-Ethernet0/0RTA-Ether

9、net0/0vrrp vrid 1 virtual-ip 10.1.1.100RTA-Ethernet0/0 RTA-Ethernet0/0vrrp vrid 1 priority 200RTA-Ethernet0/0RTA-Ethernet0/0vrrp vrid 2 virtual-ip 10.1.1.200RTA-Ethernet0/0quitRTA虚拟路由器1的Priority为200Page18配置多个虚拟路由器配置RTBsystem-view Quidwaysysname RTBRTBRTBinterface Ethernet 0/0RTB-Ethernet0/0ip addres

10、s 10.1.1.252 24RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 virtual-ip 10.1.1.100RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 2 virtual-ip 10.1.1.200RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 2 priority 200RTB-Ethernet0/0quitRTB虚拟路由器2的Priority为200Page19配置跟踪上行端口物理拓扑10.1.1.1/2410.1.1.254EthernetRTA10.1.1.2/2410.

11、1.1.25410.1.1.3/2410.1.1.25410.1.1.4/2410.1.1.25410.1.1.251/24Priority = 100PCAPCBPCCPCDRTB10.1.1.252/24Priority = 200VR 110.1.1.254E0/0E0/0E1/0E1/0BackupMasterInternetPage20配置跟踪上行端口配置RTAsystem-view Quidwaysysname RTARTARTAinterface Ethernet 0/0RTA-Ethernet0/0ip address 10.1.1.251 24RTA-Ethernet0/0R

12、TA-Ethernet0/0vrrp vrid 1 virtual-ip 10.1.1.254RTA-Ethernet0/0quitRTAVR 1的Priority为默认值100Page21配置跟踪上行端口配置RTBsystem-view Quidwaysysname RTBRTBRTBinterface Ethernet 0/0RTB-Ethernet0/0ip address 10.1.1.252 24RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 virtual-ip 10.1.1.254RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 priority 200RTB-Ethernet0/0RTB-Ethernet0/0vrrp vrid 1 track Ethernet 1/0 reduced 150 RTB-Ethernet0/0RTB如果E1/0端口故障,虚拟路由器1的P

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论