Example: confidence

Configuring VRRP - Cisco

Configuring VRRPThe Virtual RouterRedundancyProtocol(VRRP)is an electionprotocolthat dynamicallyassignsresponsibilityfor one or more virtual routersto the VRRP routerson a LAN, allowingseveralrouterson conjunctionwith one or more other routersattachedto a LAN. In a VRRP configuration,one router iselectedas the virtual router master, with the other routersacting as backupsin case the virtual router moduleexplainsthe conceptsrelatedto VRRP and describeshow to configureVRRP in a network. FindingFeatureInformation,page 1 Restrictionsfor VRRP, page 2 InformationAbout VRRP, page 2 How to ConfigureVRRP, page 7 ConfigurationExamplesfor VRRP, page 14 AdditionalReferences,page 16 FeatureInformationfor VRRP, page 18 Glossary, page 22 Finding Feature InformationYour

First Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) 15 Configuring VRRP Example: VRRP Object Tracking. Router(config)#interfaceEthernet1/0 Router(config-if)#ipaddress10.0.0.2255.0.0.0 Router(config-if)#vrrp1ip10.0.0.3

Tags:

  Cisco, Catalysts, 5083, Catalyst 3850

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Configuring VRRP - Cisco

1 Configuring VRRPThe Virtual RouterRedundancyProtocol(VRRP)is an electionprotocolthat dynamicallyassignsresponsibilityfor one or more virtual routersto the VRRP routerson a LAN, allowingseveralrouterson conjunctionwith one or more other routersattachedto a LAN. In a VRRP configuration,one router iselectedas the virtual router master, with the other routersacting as backupsin case the virtual router moduleexplainsthe conceptsrelatedto VRRP and describeshow to configureVRRP in a network. FindingFeatureInformation,page 1 Restrictionsfor VRRP, page 2 InformationAbout VRRP, page 2 How to ConfigureVRRP, page 7 ConfigurationExamplesfor VRRP, page 14 AdditionalReferences,page 16 FeatureInformationfor VRRP, page 18 Glossary, page 22 Finding Feature InformationYour softwarereleasemay not supportall the featuresdocumentedin this the latest caveatsandfeatureinformation,see Bug SearchTool and the releasenotes for your platformand informationabout the featuresdocumentedin this module.

2 And to see a list of the releasesin which eachfeatureis supported,see the Cisco FeatureNavigatorto find informationabout platformsupportand Cisco softwareimage access Cisco FeatureNavigator, go to An accounton not Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE ( catalyst 3850 Switches) 1 Restrictions for VRRP VRRP is designedfor use over multiaccess,multicast,or isnot intendedas a replacementfor existingdynamicprotocols. VRRP is supportedon Ethernet,Fast Ethernet,BridgeGroup Virtual Interface(BVI), and GigabitEthernetinterfaces,and on MultiprotocolLabel Switching(MPLS)Virtual PrivateNetworks(VPNs),VRF-awareMPLS VPNs,and VLANs.

3 Becauseof the forwardingdelay that is associatedwith the initializationof a BVI interface,you mustconfigurethe VRRP advertisetimer to a value equal to or greaterthan the forwardingdelay on the over the masterrole. Use thebridgeforward-timecommandto set the forwardingdelay on theBVI thevrrptimersadvertisecommandto set the VRRP About VRRPVRRP as follows: ProxyARP TheclientusesAddressResolutionProtocol(A RP)togetthedestinationitwantstoreach,and a router will respondto the ARP requestwith its own MAC address.

4 Routingprotocol The client listens to dynamicroutingprotocolupdates(for example,from RoutingInformationProtocol[RIP]) and forms its own routingtable. ICMP RouterDiscoveryProtocol(IRDP)client The client runs an InternetControlMessageProtocol(ICMP)rout er drawbackto dynamicdiscoveryprotocolsis that they incur some configurationand processingoverheadon the LAN client. Also, in the event of a router failure,the processof switchingto anotherrouter can alternativeto dynamicdiscoveryprotocolsis to staticallyconfigurea defaultrouter on the client.

5 Thisapproachsimplifiesclient configurationand processing,but createsa single point of the defaultgatewayfails, the LAN client is limitedto communicatingonly on the local IP networksegmentand is cutoff from the rest of the can solve the static enablesa group of routersto form a singlevirtualrouter. The LAN clients can then be configuredwith the virtual router as their defaultgateway. The virtualrouter, representinga group of routers,is also knownas a VRRP is supportedon Ethernet,Fast Ethernet,BVI, and GigabitEthernetinterfaces,and on MPLS VPNs,VRF-awareMPLS VPNs,and VLANs.

6 First Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE ( catalyst 3850 Switches)2 Configuring VRRPR estrictions for VRRPThe figure below shows a LAN topologyin which VRRP is this example,RoutersA, B, andCareVRRP routers(routersrunningVRRP) the same as that configuredfor the Ethernetinterfaceof RouterA ( ).Figure 1: Basic VRRP TopologyBecausethevirtualrouterusestheIP addressofthephysicalEthernetinterfaceofR outerA,RouterAassumesthe role of the virtual router masterand is also knownas the IP addressowner.

7 As the virtual router master,RouterA controlsthe IP addressof the virtual router and is responsiblefor forwardingpacketssent to this through3 are configuredwith the defaultgatewayIP addressof and C functionas virtual router the virtual router masterfails, the router configuredwith the higher prioritywill becomethe virtual router masterand provideuninterruptedservicefor the LANhosts. When RouterA recovers,it becomesthe virtual router masteragain. For more detail on the roles thatVRRP routersplay and what happensif the virtual router masterfails, see the VRRP Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE ( catalyst 3850 Switches) 3 Configuring VRRPVRRP OperationThe figure below shows a LAN topologyin which VRRP is configuredso that RoutersA and B share thetraffic to and from clients 1 through4 and that RoutersA and B act as virtual router backupsto each other ifeither router 2.

8 Load Sharing and Redundancy VRRP TopologyIn this topology, two virtual routersare configured.(For more information,see the MultipleVirtual RouterSupportsection.)For virtual router 1, RouterA is the owner of IP virtual router master, addressof virtual router 2, RouterB is the owner of IP virtual router master, and RouterA isthe virtual router backupto RouterB. Clients3 and 4 are configuredwith the defaultgatewayIP BenefitsRedundancyVRRP enablesyou to configuremultipleroutersas the defaultgatewayrouter, which reducesthe possibilityof a single point of failure in a SharingYoucanconfigureVRRP insuchawaythattraffictoandfromLANclients canbesharedbymultiplerouters,therebyshar ingthe traffic load more Virtual RoutersMultiple IP AddressesThevirtualroutercanmanagemultip leIPaddresses, ,ifyouhavemultiplesubnetsconfiguredon an Ethernetinterface.

9 You can configureVRRP on each subnet. First Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3SE ( catalyst 3850 Switches)4 Configuring VRRPVRRP BenefitsPreemptionThe redundancyschemeof VRRP enablesyou to preempta virtual router backupthat has taken over for afailing virtual router masterwith a higher priorityvirtual router backupthat has messagedigest 5 (MD5)algorithmauthenticationprotectsagai nstVRRP-spoofingsoftwareand usesthe industry-standardMD5 algorithmfor improvedreliabilityand ProtocolVRRP usesadedicatedInternetAssignedNumbersAut hority(IANA)standardmulticastaddress( )

10 For VRRP addressingschememinimizesthe numberof routersthat must servicethemulticastsand allows test equipmentto accuratelyidentifyVRRP packetson a IANA assignedVRRP the IP Object TrackingVRRP objecttrackingprovidesawaytoensurethebes tVRRP routeristhevirtualroutermasterforthegrou pby alteringVRRP prioritiesto the status of trackedobjectssuch as the interfaceor IP route Virtual Router Support Routerprocessingcapability Routermemorycapability Routerinterfacesupportof multipleMAC addressesIn a topologywhere multiplevirtual routersare configuredon a router interface,the interfacecan act as amasterfor one virtual router and as a backupfor one or more virtual Router Priority and PreemptionAn importantaspect of the VRRP redundancyschemeis VRRP router priority.


Related search queries