bgpd : route in FIB, not in kernel route table

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

bgpd : route in FIB, not in kernel route table

Denis Fondras
Hi,

I had a weird problem today that I can't explain when I tried to add a peer
(185.22.129.11) to bgpd.
The prefix was accepted, shows up in RIB as valid, installed in FIB according to
bgpctl but kernel could not find a route. Group "liopen" provides a fullview.

OpenBSD-current from May 8th.

I had to restart bgpd for the route to show up.

Any idea what happened ?

rt-grav-02# bgpctl sh fib 193.169.46.0/23
flags: * = valid, B = BGP, C = Connected, S = Static, D = Dynamic
       N = BGP Nexthop reachable via this route
       r = reject route, b = blackhole route

flags prio destination          gateway
*B     48 193.169.46.0/23      185.22.129.11

rt-grav-02# route get 193.169.46.0/23
get net 193.169.46.0/23: not in table

My config file :

AS 60983
router-id 185.22.128.253

neighbor 185.22.129.11 {
        remote-as 49623
        multihop 5
        enforce neighbor-as yes
        enforce local-as yes
        announce IPv4 unicast
}
group "liopen" {
        neighbor 2a00:6060::1 {
                descr "rt-grav-01 v6"
                remote-as 60983
                enforce neighbor-as no
                enforce local-as yes
                announce IPv6 unicast
        }
        neighbor 185.22.129.254 {
                descr "rt-grav-01 v4"
                remote-as 60983
                enforce neighbor-as no
                enforce local-as yes
                announce IPv4 unicast
        }
}

match to 185.22.129.254 set { nexthop self }
allow from 185.22.129.11
allow to 185.22.129.11
allow from ibgp
allow to ibgp
allow from any prefix 0.0.0.0/0 prefixlen 8 - 24
allow from any prefix ::/0 prefixlen 16 - 48
match from any community 65535:0 set { localpref 0 }
deny quick from any AS 23456
deny quick from any AS 64496 - 131071
deny quick from any AS 4200000000 - 4294967295
deny from any max-as-len 100