[FROG] Multiple routing tables and BGP

Philippe Guibert philippe.guibert at 6wind.com
Mon Jun 17 08:12:52 EDT 2019


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



More information about the frog mailing list