Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Vrrp

2,269 views

Published on

ciscobulls@gmail.com per mail kare............................................

Published in: Education, Technology
  • Be the first to like this

Vrrp

  1. 1. Anuj Kumar ciscobulls@gmail.com CCNP SWITCH PORTABLE STUDY GUIDE & PRACTICE WORK BOOKANUJ KUMAR email:- ciscobulls@gmail.com anuj_dev007@yahoo.com networkbulls.com
  2. 2. Anuj Kumar ciscobulls@gmail.com VRRP Virtual Router Redundancy ProtocolFeature: -  Like HSRP, VRRP is a default gateway redundancy method.  RFC 2338  Similar in functionality to HSRP  The virtual router, representing a group of routers, is known as a VRRP group.  Cisco switches and routers support VRRP on Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces, and on MPLS VPNs and VLANs.  The virtual router can use a physical IP address or a virtual IP address.  VRRP group no range 0 to 255.  VRRP router priority range from 1 to 254 (100 is the default priority of VRRP router)  VRRP provides on redundant gateway address from a group of routers. The Active router is called Master router, even all other router are in backup state. The master router has highest priority in the VRRP group.  VRRP sends its advertisements to the multicast address 224.0.0.18.  It using IP protocol 445.  The advertisement interval timer (default 1 second, hold 3 second)  Preempt is by default is enable, you can manually disable it.  It uses two types authentication for advertisement. Configuration of VRRP
  3. 3. Anuj Kumar ciscobulls@gmail.comR1(config)# int s0/0R1(config-if)#ip address 10.1.1.2 255.255.255.0R1(config-if)#no shutdownR1(config-if)#int s0/1R1(config-if)#ip address 11.1.1.2 255.255.255.0R1(config-if)#no shutdownR1(config-router)#network 10.1.1.0 0.0.0.255R1(config-router)#network 11.1.1.0 0.0.0.255R1(config-router)#no auto-summaryR1(config-router)#network 192.168.102.0R1(config-router)#exitR1(config-if)#int f0/0R1(config-if)#ip address 192.168.102.1 255.255.255.0R1(config-if)#no shR2(config)# int s0/0R2(config-if)#ip address 10.1.1.1 255.255.255.0R2(config-if)#no shutdownR2(config-if)#int f0/0R2(config-if)#ip address 192.168.101.2 255.255.255.0R2(config-if)#no shutdownR2(config-if)#router ei 100R2(config-router)#network 192.168.101.0R2(config-router)#network 10.1.1.0 255.255.255.0R2(config-router)#no network 10.1.1.0 255.255.255.0R2(config-router)#network 10.1.1.0 0.0.0.255R2(config-router)#no auto-summaryR2(config)#int f0/0R2(config-if)#vrrp 1 ip 192.168.101.1*Mar 1 00:45:34.391: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Init -> Backup*Mar 1 00:45:38.003: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Backup -> Master*Mar 1 00:45:34.391: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Init -> BackupAs we change priority manuallyR2(config-if)#vrrp 1 priority 101*Mar 1 00:51:36.235: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Backup -> MasterTrackingR2(config)#track 1 interface serial 0/0 line-protocolR2(config)#int f0/0R2(config-if)#vrrp 1 track 1R3(config)# int f0/0R3(config-if)#ip address 192.168.101.3 255.255.255.0R3(config-if)#no shutdownR3(config-if)#int s0/0R3(config-if)#ip address 11.1.1.1 255.255.255.0
  4. 4. Anuj Kumar ciscobulls@gmail.comR3(config-if)#no shutdownR3(config-if)#router ei 100R3(config-router)#network 192.168.101.0R3(config-router)#network 11.1.1.0 0.0.0.255R3(config-router)#no auto-summaryR3(config)#int f0/0R3(config-if)#vrrp 1 ip 192.168.101.1*Mar 1 00:47:13.987: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Init -> Backup*Mar 1 00:47:17.599: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Backup -> MasterNote: - first we implement VRRP, In VRRP which has highest router id it will become Master.*Mar 1 00:51:35.711: %VRRP-6-STATECHANGE: Fa0/0 Grp 1 state Master -> BackupTackingR3(config)#track 1 interface serial 0/0 line-protocolR3(config)#interface f0/0R3(config-if)#vrrp 1 track 1Verifying Command: -R2#sh vrrpFastEthernet0/0 - Group 1 State is Master Virtual IP address is 192.168.101.1 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 101 Track object 1 state Up decrement 10 Master Router is 192.168.101.2 (local), priority is 101 Master Advertisement interval is 1.000 sec Master Down interval is 3.605 secR3# sh vrrpFastEthernet0/0 - Group 1 State is Backup Virtual IP address is 192.168.101.1 Virtual MAC address is 0000.5e00.0101 Advertisement interval is 1.000 sec Preemption enabled Priority is 100 Track object 1 state Up decrement 10 Master Router is 192.168.101.2, priority is 101 Master Advertisement interval is 1.000 sec
  5. 5. Anuj Kumar ciscobulls@gmail.comMaster Down interval is 3.609 sec (expires in 2.761 sec)R2#sh vrrp briefInterface Grp Pri Time Own Pre State Master addr Group addrFa0/0 1 101 3605 Y Master 192.168.101.2 192.168.101.1R3#sh vrrp briefInterface Grp Pri Time Own Pre State Master addr Group addrFa0/0 1 100 3609 Y Backup 192.168.101.2 192.168.101.1

×