This config works protocol bgp bgp_ibgp { description "iBGP Session"; import all; export all; gateway direct; next hop self; local as xxx; neighbor Neighbor_I as xxx; source address Source_IP; } -- Miłosz Oller Dnia 2013-01-01, wto o godzinie 12:35 +0100, Ondrej Zajicek pisze:
On Sun, Dec 30, 2012 at 03:37:25PM +0100, Miłosz Oller wrote:
After add comment next hop self and add gateway direct:
protocol static { route 91.231.205.0/24 reject; route 91.237.68.0/22 reject; }
[..] # next hop self; gateway direct; [..]
bird> show route 91.231.205.0/24 all 91.231.205.0/24 unreachable [static1 15:27] * (200)
Why static route is unreachable?
Hello
A route with 'reject' target is unreachable by definition [*]. In future versions we will even support and prefer 'unreachable' keyword instead of 'reject' keyword in static protocol for such routes.
[*] If such route is exported to the kernel and the kernel routes a packet according to that route, the packet is rejected with ICMP 'destination unreachable' message.