Using GoBGP as a Go Native BGP library With SQL connect to get routes to advertise to the Network

Using GoBGP as BGP Server

We have been using Perl based BGP script to announce some prefixes, for black hole routing, or to banned ip address as a result of law enforcements from a database to the network.

This project was a result of searching a new BGP daemon that can be hooked as any needs and support L3 MPLS VPN Unicast Address Family.

We have used /gobgp (GoBGP) native library for ibgp connection for our network.
Current release of /gobgp sends each vpn4 prefix in a single update. If you have large number of routes this will increase the convergence time. I have changed table/message.go for sending single update for vpn4 routes that have same rd and nexthop, /gobgp.
Below script is just for testing purposes. Each prefix in the database have its own next-hop, route-target or rd. 
https://github.com/denizaydin/bgpRouteServer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.