Switches, Hubs, and Modems
1753500 Members
4499 Online
108794 Solutions
New Discussion юеВ

Re: VRRP

 
AndersO
New Member

VRRP

Hi, Im doing vrrp on 2 5406'ers (r1-master, r2-backup) in a basic setup. But it is not working as expected.
Initial setup works fine, and when i kill the master, the backup comes up as master fine.

However, it doesn't seem to route, and furthermore the routing table in r2 shows that the virtual ip is blackholed and it doesn't route. Upon reconnect of r1, it fails back and starts routing fine again.

Any ideas?

Here is some of the conf
r1-master:
vlan 249
name "100001"
ip address 10.32.249.1 255.255.255.0
tagged Trk4
vrrp vrid 1
backup
virtual-ip-address 10.32.249.1 255.255.255.0
enable
exit
exit

r2-backup:
vlan 249
name "100001"
ip address 10.32.249.2 255.255.255.0
tagged Trk4
vrrp vrid 1
backup
virtual-ip-address 10.32.249.2 255.255.255.0
enable
exit
exit
5 REPLIES 5
GhostDog
Advisor

Re: VRRP

Sure it won't work :)

Try this

r1-master:
vlan 249
vrrp vrid 1
owner
virtual-ip-address 10.32.249.1 255.255.255.0
priority 255
enable
exit
exit


r2-backup:
vlan 249
vrrp vrid 1
backup
virtual-ip-address 10.32.249.1 255.255.255.0
enable
exit
exit
AndersO
New Member

Re: VRRP

Oh, sorry. I already have configured the same 10.32.249.1 on both switches. The backup->master switch when the owner goes down works fine.
Still very confused as to why the routing table says blackhole for the vlan?

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 10.12.0.10 9 static 1 1
10.32.249.1/32 blackhole static 1 1
127.0.0.0/8 reject static 0 0
127.0.0.1/32 lo0 connected 1 0
GhostDog
Advisor

Re: VRRP

It's OK. It means that backup router owns master's ip and any trafic destined to the master itself must be discarded. That doesn't concerns routed trafic.
AndersO
New Member

Re: VRRP

Ok thanks. Then I need to look elsewhere for the reason that it doesn't route.
Julius Mikenas
New Member

Re: VRRP

As I understand, when master switch goes down backup switch takes ower master's and then backup switch must reply requests to virtual ip.
I have the same problem like AndersO.
When master goes down state changes to master but it doesn't respond to virtual ip.

There is my config:

; J8697A Configuration Editor; Created on release #K.14.41
hostname "backup"
ip routing
vlan 76
name "VLAN76"
ip address 192.168.76.3 255.255.255.0
tagged A24
exit
router vrrp
vlan 76
vrrp vrid 76
backup
virtual-ip-address 192.168.76.1 255.255.255.0
enable
exit
exit


; J8697A Configuration Editor; Created on release #K.14.41
hostname "master"
ip routing
vlan 76
name "VLAN76"
ip address 192.168.76.1 255.255.255.0
tagged A24
exit
router vrrp
vlan 76
vrrp vrid 76
owner
virtual-ip-address 192.168.76.1 255.255.255.0
priority 255
enable
exit
exit