Marek Wajdzik wrote:
Can you give me a example config ?
protocol static { route bgp.next.hop/32 via some.directly.reachable.nhop; } You need to add static routes for each next BGP hop (show route for 1.2.3.4 all shows nexthop attribute) You can also use filters for this ( import filter { gw = directly.connected.nh; accept; })
W dniu 2011-12-03 20:33, Alexander V. Chernikov pisze:
Marek Wajdzik wrote:
Add a static protocol with route to bgp peer? I've added route using ip r a :) Maybe here is problem .. Or a static protocol. Or even kernel protocol with "learn" option set on and non-forbidding import filter. 2011/12/3 Alexander V. Chernikov<melifaro@ipfw.ru>:
Marek Wajdzik wrote:
Hi bird group.
I have problem with bgp multihop session, it's configured as in example but when I recieve the routes they appears in KRT as unreachable (all routes imported from bgp). What I am doing wrong, maybe it's misconfiguration at remote side? Bird needs to resolve those nexthops to get directly-reachable nexthop. You need to get such routes in either main bird table or special IGP table (BGP protocol option).
You can accomplish this either by importing these routes via Direct protocol or announce them via IGP (OSPF)