How to run OpenBGPD on FreeBSD/NetBSD
...and have a freedom of choice
Łukasz Bromirski <lukasz@bromirski.net>
v1.0 20-03-2005

Where is the problem?

The OpenBGPd project was started by Henning Brauer as a alternative for Zebra and Quagga routing suites. Unfortunately, Henning didn't port the package to other BSD systems. The good news is, it's quite easy to do by hand.

What will I need?

You'll need original package with sources:

...and three files:

Let's compile

Now, You'll have to follow this simple script:

And that's all. You'll need some example configuration file - it can be fetched again from OpenBSD repository (bgpd.conf). Put it in the /etc directory and if everything went smoothly, You can now run BGP by simply typing bgpd. Please consult all other options with man and other available literature.

What works and what doesn't?

AFAIK only the MD5 authentication won't work, as there no infrastructure in FreeBSD. I've tested iBGP and eBGP, community with pf tables and nexthop manipulation for redirection to /dev/null and it worked perfectly.

Additional BGP references