]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: add 'mpls bgp forwarding' to ease mpls vpn ebgp peering
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 17 Aug 2022 09:52:51 +0000 (11:52 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 5 Sep 2022 20:26:33 +0000 (22:26 +0200)
commit4cd690ae4d16814b0d5098764790578dab39e4a2
tree0754d947ea06e91e54de83c82c1d18601c5f4344
parent6e616738caa4a310d692660d23f96ab8dc77d672
bgpd: add 'mpls bgp forwarding' to ease mpls vpn ebgp peering

RFC4364 describes peerings between multiple AS domains, to ease
the continuity of VPN services across multiple SPs. This commit
implements a sub-set of IETF option b) described in chapter 10 b.

The ASBR to ASBR approach is taken, with an EBGP peering between
the two routers. The EBGP peering must be directly connected to
the outgoing interface used. In those conditions, the next hop
is directly connected, and there is no need to have a transport
label to convey the VPN label. A new vty command is added on a
per interface basis:

This command if enabled, will permit to convey BGP VPN labels
without any transport labels (i.e. with implicit-null label).

restriction:
this command is used only for EBGP directly connected peerings.
Other use cases are not covered.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_main.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_nht.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_vty.c
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h
bgpd/bgpd.h
doc/user/bgp.rst
vtysh/vtysh.h