
Vultr's BGP feature allows you to bring your own IP space and use it across any of our locations, with an OpenBSD instance no additional software is needed!
In order to use BGP, you would need your own IP space (either v4 or v6). If you have your own ASN, you can use that or we can assign a private one.
Open a ticket with the following information:
Once BGP has been configured on your account, you can proceed with configuring BGP.
Our examples are going to use the following:
OpenBSD ships with bgpd(8) already installed and only requires a few configuration file changes to start.
Edit rc.conf.local(8) to add the following line to allow the bgpd(8) daemon to start via rc.d(8)
A complete example of bgpd.conf(8) can be found at /etc/examples/bgpd.conf and contains lots of extra configuration options you may need.
Adjust the example configuration below as required and write to /etc/bgpd.conf (ensure that the permissions for this file are 600)
To make sure everything is in order, you can issue the command bgpd -f /etc/bgpd.conf -n. If bgpd(ok) is returned, you can start the daemon.
To check the status of your BGP sessions, you will need to use bgpctl(8). For example, to see a basic overview you can use bgpctl show summary
To see detailed information about a BPG neighbor use bgpctl show neighbor
At this point we can start assigning our IP addresses to interfaces (e.g. by configuring /etc/hostname.lo1 ) so applications can be configured to listen on these IPs.
If you intend to use your IP addresses on multiple instances you will need to adjust the network statements on each instance to announce a more specific route for those IPs.
Note: Do not forget to use a different password from what is referenced in this article.
0 Comments
Be the first to comment and share your perspective with the community.