]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: remote RMAC for EVPN ipv6 hosts should be programmed against the ipv4 nexthop
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Mon, 9 Apr 2018 04:04:11 +0000 (21:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 May 2018 23:24:15 +0000 (19:24 -0400)
commitf50dc5e6070383e803dc3441aedd5a435974c762
tree2d570d0cf7836c4c046d9b059de4db5ace297a2e
parent0204baa87630b210c71d9ae0e2569cff0fb0539b
zebra: remote RMAC for EVPN ipv6 hosts should be programmed against the ipv4 nexthop

For ipv6 host, the next hop is conevrted to ipv6 mapped address.
However, the remote rmac should still be programmed with the ipv4 address.
This is how the entries will look in the kernel for ipv6 hosts routing.

vrf routing table:
ipv6 -> ipv6_mapped remote vtep on l3vni SVI

neigh table:
ipv6_mapped remote vtep -> remote RMAC

bridge fdb:
remote rmac -> ipv4 vtep tunnel

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
lib/ipaddr.h
zebra/zebra_vxlan.c