51CTO-VRRP多备份组实验.doc
文本预览下载声明
实验2 VRRP多备份组实验
【实验名称】
VRRP多备份组实验
【实验目的】
掌握通过配置VRRP多备份组实现负载均衡同时通过互相备份来提供更稳定可靠的网络服务。
【背景描述】
在某企业网络中,核心层采用了1台三层交换机,由于存在单点故障,该企业决定用2台三层交换机作为核心层设备,以此来提高网络的稳定可靠性,并实现流量的负载均衡,现需要做适当配置。
本实验以2台S3550-24和1台S2126G交换机、1台R2624路由器为例。PC1的IP地址和缺省网关分别为172.16.10.3/24和172.16.10.1/24,PC2的IP地址和缺省网关分别为172.16.10.4/24和172.16.10.2/24,服务器的IP地址和缺省网关分别为172.16.30.2/24和172.16.30.1/24。
【实现功能】
保证网络的稳定可靠性,并实现流量的负载均衡。
【实验拓扑】
【实验设备】
S3550-24(2台)、R2624(1台)、S2126G(1台)
【实验步骤】
第一步:在路由器R2624上配置接口IP地址和路由
Router(config)#interface fastEthernet 0
Router(config-if)#ip address 172.16.30.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#interface fastEthernet 1
Router(config-if)#ip address 172.16.40.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#interface fastEthernet 2
Router(config-if)#ip address 172.16.20.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#router rip
Router(config-router)#network 172.16.0.0
验证测试:验证接口状态和路由表
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0 172.16.30.1 YES manual up up
FastEthernet0.10 unassigned YES unset deleted down
FastEthernet1 172.16.40.1 YES manual up up
FastEthernet2 172.16.20.1 YES manual up up
FastEthernet3 unassigned YES unset administratively down down
Serial0 unassigned YES manual down down
Serial1 unassigned YES unset down down
Router#sh ip route
Codes: C - connected, S - static, R - RIP
O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.40.0 is directly connected, FastEthernet1
C 172.16.30.0 is directly connected, FastEthernet0
C 172.16.20.0 is directly connecte
显示全部