VRRP with VLAN Taging

Cisco Routing Network Administrator
We have Configure VRRP with VLAN in Router 1 and Router 2
Router1 Configuration
 interface fastethernet0/0.1                      <- Create The Sub-Interface
   encapsulation dot1q 1                          <- IEEE 802.1Q defines dot1q and VLAN number 1
   ip address 192.168.1.2 255.255.255.0           <- Make sure the IP is on the same subnet as the virtual Gateway1
   vrrp 1 priority 110                            <- The Priority of the Gateway1
   vrrp 1 ip 192.168.1.1                          <- The Virtual Gateway for the VLAN 1
   vrrp 1 preempt delay minimum 20                <- If the other router fails it will wait 20 sec before becoming the master
   vrrp 1 track 1 decrement 15                    <- If the S0/0/0.1 Link fails, This command drops the priority by 15
!
 interface fastethernet0/0.5                      <- Create The Sub-Interface
   encapsulation dot1q 5                          <- IEEE 802.1Q defines dot1q and VLAN number 5
   ip address 172.16.1.2 255.255.255.0            <- Make sure the IP is on the same subnet as the virtual Gateway2
   vrrp 5 priority 110                            <- The Priority of the Gateway2
   vrrp 5 ip 172.16.1.1                           <- The Virtual Gateway for the VLAN 5
   vrrp 5 preempt delay minimum 20                <- If the other router fails it will wait 20 sec before becoming the master
   vrrp 5 track 1 decrement 15                    <- If the S0/0/0.1 Link fails, This command drops the priority by 15
!
Router2 Configuration
 interface fastethernet0/0.1                      <- Create The Sub-Interface
   encapsulation dot1q 1                          <- IEEE 802.1Q defines dot1q and VLAN number 1
   ip address 192.168.1.3 255.255.255.0           <- Make sure the IP is on the same subnet as the virtual Gateway1
   vrrp 1 priority 110                            <- The Priority of the Gateway1
   vrrp 1 ip 192.168.1.1                          <- The Virtual Gateway for the VLAN 1
   vrrp 1 preempt delay minimum 20                <- If the other router fails it will wait 20 sec before becoming the master
   vrrp 1 track 1 decrement 15                    <- If the S0/0/0.1 Link fails, This command drops the priority by 15
!
 interface fastethernet0/0.5                      <- Create The Sub-Interface
   encapsulation dot1q 5                          <- IEEE 802.1Q defines dot1q and VLAN number 5
   ip address 172.16.1.3 255.255.255.0            <- Make sure the IP is on the same subnet as the virtual Gateway2
   vrrp 5 priority 110                            <- The Priority of the Gateway2
   vrrp 5 ip 172.16.1.1                           <- The Virtual Gateway for the VLAN 5
   vrrp 5 preempt delay minimum 20                <- If the other router fails it will wait 20 sec before becoming the master
   vrrp 5 track 1 decrement 15                    <- If the S0/0/0.1 Link fails, This command drops the priority by 15
!
Verification:
Router1#show vrrp
Router2#show vrrp

Leave a Reply

Your email address will not be published. Required fields are marked *