Saturday, October 4, 2014

Configure VRRP, Router Redundancy on Cisco router


1- General Information
-Lan: 192.168.2.0/24
-V1: VRRP master- f0/0= 192.168.2.1/24
-V2: VRRP backup- f0/0= 192.168.2.2/24
- VRRP IP for both router: 192.168.2.254 will be used as gateway for clients

 2- Configure on V1

interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 192.168.2.254
 vrrp 1 timers advertise 3
 vrrp 1 timers learn
 vrrp 1 priority 120
 vrrp 1 authentication mikrotik
!        
interface FastEthernet0/1
 ip address 192.168.203.12 255.255.255.0
 duplex auto
 speed auto
!        
!        
ip route 0.0.0.0 0.0.0.0 192.168.203.101




3- Configure on V2

interface FastEthernet0/0
 ip address 192.168.2.2 255.255.255.0
 duplex auto
 speed auto
 vrrp 1 ip 192.168.2.254
 vrrp 1 timers advertise 3
 vrrp 1 timers learn
 vrrp 1 authentication mikrotik
!        
interface FastEthernet0/1
 ip address 192.168.203.11 255.255.255.0
 duplex auto
 speed auto
!        
!        
ip route 0.0.0.0 0.0.0.0 192.168.203.10



4- Show result
V1-- VRRP master

V1#sho vrrp
FastEthernet0/0 - Group 1 
  State is Master 
  Virtual IP address is 192.168.2.254
  Virtual MAC address is 0000.5e00.0101
  Advertisement interval is 3.000 sec
  Preemption enabled
  Priority is 120
  Authentication text "mikrotik"
  Master Router is 192.168.2.1 (local), priority is 120
  Master Advertisement interval is 3.000 sec
  Master Down interval is 9.531 sec


V2- VRRP backup

v2#show vrrp
FastEthernet0/0 - Group 1 
  State is Backup 
  Virtual IP address is 192.168.2.254
  Virtual MAC address is 0000.5e00.0101
  Advertisement interval is 3.000 sec
  Preemption enabled
  Priority is 100
  Authentication text "mikrotik"
  Master Router is 192.168.2.1, priority is 120
  Master Advertisement interval is 3.000 sec
  Master Down interval is 9.609 sec (expires in 8.461 sec) Learning



--- Lost 10 packets when switching to backup router

No comments:

Post a Comment