cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1264
Views
5
Helpful
1
Replies

vrrp verison 3 (vrrpv3) using IPv6 in Nexus

andyruh11
Level 1
Level 1

I'm trying to convert all of our gateway interfaces from HSRP to VRRP in an effort to move toward standard protocols. Unfortunately I'm having trouble finding good documentation for setting up IPv6 addresses.

Our current setup is something like this (addresses made up):

(R1)

int vlan100

ip address 10.0.100.2/24

ipv6 address fd9c:a:b:c:d::2/64

hsrp version 2

hsrp 100

ip 10.0.100.1

hsrp 100 ipv6

ip fd9c:a:b:c:d::1

 

(R2)

int vlan100

ip address 10.0.100.3/24

ipv6 address fd9c:a:b:c:d::3/64

hsrp version 2

hsrp 100

ip 10.0.100.1

hsrp 100 ipv6

ip fd9c:a:b:c:d::1

 

The VRRP setup is something like this:

 

int vlan100

ip address 10.0.100.2/24

ipv6 address fd9c:a:b:c:d::2/64

vrrpv3 100 address-family ipv4

address 10.0.100.1 primary

vrrpv3 100 address-family ipv6

address fd9c:a:b:c:d::1 primary <----- This is the problem, doesn't work because it wants a link local address.

 

I found that I had to add a link local IPv6 address to the vrrpv3 ipv6 instance first, but I found no instructions which describe that or give any advice. So I just made up fe80:a:b:c:d::1, then added fd9c:a;b:c:d::1 and it just started working.

So it looks like this now:

int vlan100

ip address 10.0.100.2/24

ipv6 address fd9c:a:b:c:d::2/64

vrrpv3 100 address-family ipv4

address 10.0.100.1 primary

vrrpv3 100 address-family ipv6

address fe80:a:b:c:d::1 primary

address fd9c:a:b:c:d::1

 

And this works. The problem is, I don't know if this is correct or a good idea. I would rather see some documentation or an example configuration before I continue.

Any help or pointers to documentation would be appreciated.

1 Reply 1

mgk_kolek
Level 1
Level 1

I found solution from ios xr guide. In ios xr you can configure address linklocal autoconfig for primary address.It will be calculated automatically from the virtual router virtual MAC address. 

So you can manualy calculate link-local from virtual mac using any mac to link-local converter.