欢迎来到天天文库
浏览记录
ID:31719015
大小:362.32 KB
页数:10页
时间:2019-01-17
《51cto-vrrp多备份组实验》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验2VRRP多备份组实验【实验名称】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
2、.4/24和172.16.10.2/24,服务器的IP地址和缺省网关分别为172.16.30.2/24和172.16.30.1/:^^[验拓扑.]JV【实验设备】S3550-24(2台)、R2624(1台)、S2126G(1台)【实验步骤】第一步:在路由器R2624±配置接口IP地址和路由Router(config)#interfacefastEthernet0Router(config-if)#ipaddress172.16.30.1255.255.255.0Router(config-if)#noshutdownRouter(config)#inte
3、rfacefastEthernet1Router(config-if)#ipaddress172.16.40.1255.255.255.0Router(config-if)#noshutdownRouter(config)#interfacefastEthernet2Router(config-if)#ipaddress172.16.20.1255.255.255.0Router(config-if)#noshutdownRouter(config)#route「ripRouter(config-router)#network172.16.0.0验证测试
4、:验证接口状态和路由表Router#showipinterfacebriefInterfaceIP-AddressFastEthe172.16.30.1.FastFa16.20.Serinassigned2.16.40」OK?MethodStatusnualSunsetthemet2thernetProtocolY^SmanualupY^IWnual^signedYESunsetadministrativelydowndownunassi
5、a6、O・OSPF,IA-OSPFinterareaEl・OSPFexternaltype1,E2-OSPFexternaltype2Gatewayoflastresortisnotset172.16.0.0/24issubnetted,3subnetsC172.16.40.0isdirectlyconnected,FastEthernet1C172.16.30.0isdirectlyconnected,FastEthernetOC172.16.20.0isdirectlyconnected,FastEthernet2第二步:在S3550A±配置VRRP备份组7、及路由S3550A(config)#interfacefastEthernet0/1S3550A(config-if)#noswitchport!设置端口F0/1为路由口S355OA(config-if)#ipadd172.16.10.1255.255.255.0S3550A(config-if)#standby1ip172.16.10.1!创建VRRP备份组1,并配置组IP地址S3550A(config-if)#standby1preempt!设置VRRP备份组1处于抢占模式S3550A(config-if)#standby2ip172.16.10.28、!创建VRRP备份组2,并配置组IP地址S355OA(config-if)#standby2preempt!设置VRRP备份组2处于抢占模式S3550A(config)#interfacefastEthernet0/2S3550A(config-if)#noswitchport!设置端口FO/2为路由口S3550A(config-if)#ipaddress172.16.20.2255.255.255.0S3550A(config-if)#noshutdownS3550A(config)#routerripS3550A(config-router)#net9、work172.16.0.0验证测试:验证VRRP备份组配置和路由表S3550A
6、O・OSPF,IA-OSPFinterareaEl・OSPFexternaltype1,E2-OSPFexternaltype2Gatewayoflastresortisnotset172.16.0.0/24issubnetted,3subnetsC172.16.40.0isdirectlyconnected,FastEthernet1C172.16.30.0isdirectlyconnected,FastEthernetOC172.16.20.0isdirectlyconnected,FastEthernet2第二步:在S3550A±配置VRRP备份组
7、及路由S3550A(config)#interfacefastEthernet0/1S3550A(config-if)#noswitchport!设置端口F0/1为路由口S355OA(config-if)#ipadd172.16.10.1255.255.255.0S3550A(config-if)#standby1ip172.16.10.1!创建VRRP备份组1,并配置组IP地址S3550A(config-if)#standby1preempt!设置VRRP备份组1处于抢占模式S3550A(config-if)#standby2ip172.16.10.2
8、!创建VRRP备份组2,并配置组IP地址S355OA(config-if)#standby2preempt!设置VRRP备份组2处于抢占模式S3550A(config)#interfacefastEthernet0/2S3550A(config-if)#noswitchport!设置端口FO/2为路由口S3550A(config-if)#ipaddress172.16.20.2255.255.255.0S3550A(config-if)#noshutdownS3550A(config)#routerripS3550A(config-router)#net
9、work172.16.0.0验证测试:验证VRRP备份组配置和路由表S3550A
此文档下载收益归作者所有