Re: [FROG] Multiple routing tables and BGP
Hi Julien,
We have a use case we don't know how to handle with BGP/FRR.
# Our problem Since we don't use VRFs, announce connected links to customers is easy with prefix-list (ex: 192.168.2.0/24 ge 24 for custA). But we don't understand how to not use static default route in our routing tables and inject BGP routes learned from customers in each routing table.
There is a pull request [0] in progress you may be interested in: [0] https://github.com/FRRouting/frr/pull/4265 It adds a new vty command that permits exporting BGP entries to a given routing table. route-map custa_to_link permit 10 set table 302 ! route-map custb_to_link permit 10 set table 303 ! router bgp <> [..] address-family ipv4 unicast neighbor 10.0.0.2 route-map custa_to_link in neighbor 10.0.0.6 route-map custb_to_link in [..] This should help you in solving the BGP exportation to the desired table identifier, without using VRFs. Thanks, Philippe
Le lun. 17 juin 2019 à 14:13, Philippe Guibert <philippe.guibert@6wind.com> a écrit :
There is a pull request [0] in progress you may be interested in:
[0] https://github.com/FRRouting/frr/pull/4265
It adds a new vty command that permits exporting BGP entries to a given routing table.
route-map custa_to_link permit 10 set table 302 ! route-map custb_to_link permit 10 set table 303 ! router bgp <> [..] address-family ipv4 unicast neighbor 10.0.0.2 route-map custa_to_link in neighbor 10.0.0.6 route-map custb_to_link in [..]
This should help you in solving the BGP exportation to the desired table identifier, without using VRFs.
Thank you Philippe, this is exactly what we need !
Thanks, Philippe
participants (2)
-
Julien RICHER -
Philippe Guibert