实验五 配置VRRP单备份组.docVIP

  • 58
  • 0
  • 约3.22千字
  • 约 4页
  • 2017-05-17 发布于河南
  • 举报
实验五 配置VRRP单备份组

实验五 配置VRRP单备份组 【实验名称】 配置VRRP单备份组 【实验目的】 配置VRRP单备份组实现VRRP的冗余备份模式 【背景描述】 某集团公司总部在北京,分公司在上海,分公司和总部之间一条线路连接,在总部和分公司间运行OSPF。在使用网络过程中经常出现由于线路故障导致网络中断的情况,为了实现分公司与总公司之间的高可用性,所以希望在分公司的网络中通过配置VRRP,实现通过两条线连接到总公司,两条线路互为备份。 【需求分析】 要解决分公司采用单条链路接入到总部容易出现单点故障的问题,可以采用多条线路接入总部网络,同时在分公司的出口路由器上运行VRRP,使两条线路互为备份,出现故障时自动切换。 【实验拓扑】 【实验设备】 路由器    3台   交换机    1台   PC机 2台 【预备知识】 路由器基本配置知识、OSPF基本配置、VRRP工作原理。 【实验原理】 VRRP技术是解决网络中主机配置单网关容易出现单点故障问题的一项技术,通过将多台路由器配置到一个VRRP组中,每一个VRRP组虚拟出一台虚拟路由器,作为网络中主机的网关。一个VRRP组中,所有真实路由器选举出来一台优先级最高的路由器作为主路由器。虚拟路由器的转发工作由主路器承担。当主路由器因故障宕机时,备份路由器成为主路由器,承担虚拟路由器的转发工作,从而保证网络的稳定性。 【实验步骤】 第一步:在路由器上配置IP地址 RA#config terminal RA(config)#interface serial 1/2 RA(config-if)#ip address 200.1.1.1 255.255.255.252 RA(config-if)#exit RA(config)#interface FastEthernet 1/0 RA(config-if)#ip address 12.1.1.1 255.255.255.0 RA(config-if)#exit RB#config terminal RB(config)#interface FasEthernet 1/0 RB(config-if)#ip address 12.1.1.2 255.255.255.0 RB(config if)#exit RB(config)#interface FastEthernet 1/1 RB(config-if)#ip address 65.1.1.1 255.255.255.252 RB(config-if)#exit RC#config terminal RC(config)#interface serial 1/2 RC(config-if)#ip address 200.1.1.2 255.255.255.252 RC(config-if)#clock rate 64000 RC(config-if)#exit RC(config)#interface FastEthernet 1/1 RC(config-if)#ip address 65.1.1.2 255.255.255.252 RC(cofnig-if)#exit RC(config)#interface FastEthernet 1/0 RC(config-if)#ip address172.16.1.1 255.255.255.0 RC(config)#exit 第二步:配置OSPF RA(config)#router sopf RA(config-reouter)#network 12.1.1.0 0.0.0.255 area 0.0.0.0 RA(config-reouter)#network 200.1.1.0 0.0.0.3 area 0.0.0.0 RB(cofnig)#router ospf RB(config-router)#network 12.1.1.0 0.0.0.255 area 0.0.0.0 RB(cofnig-router)#network 65.1.1.0 0.0.0.3 area 0.0.0.0 RC(config)#router ospf RC(config-router)#network 65.1.1.0 0.0.0.3 area 0.0.0.0 RC(config-router)#network 172.16.1.0 0.0.0.0 area 0.0.0.0 RC(config-router)#network 200.1.1.0 0.0.0.3 area 0.0.0.0 第三步:配置VRRP RA(config)#interface FasEthernet 1/0 RA(config-if)#vrrp 32 ip 12.1.1

文档评论(0)

1亿VIP精品文档

相关文档