VRRP with Multiple VLANS

Unanswered Question
Jan 31st, 2009
User Badges:

<p>Can someone provide me an example config for running VRRP with multiple VLANS on a router?  Does multicast have to be enabled ?  I cannot get more than one VRRP group to failover on a VLAN.  Here is the config i have so far:</p>

<p> </p>

<p>track 2 interface Serial0/0 line-protocol<br />

<br />

!<br />

<br />

!<br />

<br />

!<br />

<br />

!<br />

<br />

interface FastEthernet0/0<br />

<br />

 no ip address<br />

<br />

 ip pim dense-mode<br />

<br />

 duplex auto<br />

<br />

 speed auto<br />

<br />

!<br />

<br />

interface FastEthernet0/0.7<br />

<br />

 encapsulation dot1Q 7<br />

<br />

 ip address 10.251.101.2 255.255.255.0<br />

<br />

 ip pim dense-mode<br />

<br />

 vrrp 2 ip 10.251.101.1<br />

<br />

 vrrp 2 priority 110<br />

<br />

 vrrp 2 track 2 decrement 60<br />

<br />

!<br />

<br />

interface FastEthernet0/0.100<br />

<br />

 encapsulation dot1Q 100 <br />

<br />

 ip address 10.251.217.130 255.255.255.192<br />

<br />

 ip pim dense-mode<br />

<br />

 vrrp 1 ip 10.251.217.129<br />

<br />

 vrrp 1 priority 110<br />

<br />

 vrrp 1 track 2 decrement 60</p>

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Elly Bornstein Sat, 01/31/2009 - 11:45
User Badges:
  • Cisco Employee,


You do not need multicast routing to get VRRP to work, it uses a special multicast address that is always enabled.


From this config it looks like you are doing routing on a stick so you will have:


router1 f0/0.100 ----- switched topology vlan 100 --- f0/0.100 router2


Make sure you can ping from router1 to router2 on this vlan.


"ping 10.251.217.131 source f0/0.100" (assuming router2 is .131) this needs to work before VRRP will failover correctly.

bspear123 Sat, 01/31/2009 - 18:27
User Badges:


You are correct.  Both router1 and router2 are connected to the same layer 2 switch.  Both router1 and router2 are setup for the VLANS.  Is there anything additional that needs to be configured for VRRP to work on these multiple VLANS ??  I can only get one of the VRRP groups to failover at a time.  Thanks.

viyuan700 Sat, 01/31/2009 - 17:03
User Badges:
  • Silver, 250 points or more


this is configuration of one router, what is configuration of other router. VRRP is First Hop Routing Protocol, u need atleast 2 router connecetd to your switch.


 

bspear123 Sat, 01/31/2009 - 18:24
User Badges:


I do not have access to the other router to pull the config.  They assure me they are setup with the same VRRP group and vlan.  But for some reason,  only one of the VRRP groups fails over.  My question was to ensure that VRRP can work on Fastethernet sub interfaces setup as VLANS.

Actions

This Discussion