OpenBGPD 0.5.6 + RIP = BGP routes disappearing



  • My setup:
    pfSense 2.0.1-RELEASE (amd64)
    OpenBGPD 0.5.6
    Builtin RIP service
    2 nodes, CARP both on WAN and LAN, custom BGPD config:

    AS <our as#="">listen on 0.0.0.0
    router-id <lan ip="">network X.X.X.X/nn
    
    neighbor <peer ip="">{
        descr "Upstream provider"
        remote-as <peer as#="">depend on vip2
        local-address <wan carp="" ip="">announce self  
    }
    
    deny from any
    deny to any
    allow from <peer ip="">allow to</peer></wan></peer></peer></lan></our> 
    

    Our gateways use BGP to peer to upstream providers and RIP for internal routing.
    OpenBGPD works well on its own, and RIP too, but enabling both makes all the routes learnt through BGP disappear.

    I've traced the issue to RIP, or at least it seems so:
    keeping OpenBGPD enabled, with RIP off, output of "netstat -rn -f inet" shows BGP routes
    turning RIP on, BGP routes disappear, and even subsequent BGP announces won't update fib
    tunring RIP off again, after subsequent BGP announces are being received, fib is updated regularly.

    Increasing routed (RIP) logging, it shows messages like:
    RTM_ADD from pid <bgpd-daemon>: <subnet>–> <peer ip="">so it seems like OpenBGPD tries to insert new routes into fib, but for some reason I'm unable to trace when/why/by-who they got deleted.

    Anybody could shed some light onto this?</peer></subnet></bgpd-daemon>



  • Probably a silly question but you've not got them both active on the same interface have you?



  • @Gloom:

    Probably a silly question but you've not got them both active on the same interface have you?

    No: BGP was running on the WAN interface, RIP on the LAN one.

    I've also tried to customize the /etc/gateways file with no luck: now I'm unable to supply the ones I've tested with.


Log in to reply