]> git.proxmox.com Git - mirror_frr.git/commit - lib/ipaddr.h
*: EVPN symmetric routing for IPv6 tenant routes
authorvivek <vivek@cumulusnetworks.com>
Wed, 28 Feb 2018 02:07:23 +0000 (02:07 +0000)
committervivek <vivek@cumulusnetworks.com>
Wed, 28 Feb 2018 02:07:23 +0000 (02:07 +0000)
commit1ec31309bb056e4492ebf50a12e8bb29a9c4b29a
treed12d44809b97e72312160bce4bfb4954323aaa32
parentf894c3b2ea8a320b12b56c374f62f85f186db5b9
*: EVPN symmetric routing for IPv6 tenant routes

Implement support for EVPN symmetric routing for IPv6 routes. The next hop
for EVPN routes is the IP address of the remote VTEP which is only an IPv4
address. This means that for IPv6 symmetric routing, there will be IPv6
destinations with IPv4 next hops. To make this work, the IPv4 next hops are
converted into IPv4-mapped IPv6 addresses.

As part of support, ensure that "L3" route-targets are not announced with
IPv6 link-local addresses so that they won't be installed in the routing
table.

Signed-off-by: Vivek Venkatraman vivek@cumulusnetworks.com
Reviewed-by: Mitesh Kanjariya mitesh@cumulusnetworks.com
Reviewed-by: Donald Sharp sharpd@cumulusnetworks.com
bgpd/bgp_evpn.c
bgpd/bgp_evpn_vty.c
lib/ipaddr.h
zebra/zebra_rib.c
zebra/zserv.c