[HN Gopher] OpenBGPD: The OpenBSD BGP internet routing daemon
___________________________________________________________________
OpenBGPD: The OpenBSD BGP internet routing daemon
Author : todsacerdoti
Score : 31 points
Date : 2021-10-05 17:17 UTC (5 hours ago)
(HTM) web link (www.openbgpd.org)
(TXT) w3m dump (www.openbgpd.org)
| unethical_ban wrote:
| I will go through the bgpd.conf docs later today, to try to
| understand the protocol better.
|
| I wish there were an online BGP simulation GUI, rather than the
| prospect of spinning up a VM lab with a bunch of virtual switches
| and OpenBSD VMs.
| bcrl wrote:
| BGP isn't actually all that complicated. Like virtually all
| routing protocols it is based on the concept of shortest path
| first route selection using Dijkstra's algorithm. BGP just
| defines a way for communicating the announcements and paths
| that feed into Dijkstra's. OSPF and IS-IS do pretty much the
| same thing, as well as a number of the mobile ad-hoc networking
| protocols.
|
| I was lucky enough to get paid to prototype a routing protocol
| a number of years back. Getting my hands dirty implementing
| Dijkstra's was a lot of fun!
| idorosen wrote:
| Maybe read RFC4271 instead if you're looking to learn about the
| protocol rather than just about this implementation, just be
| aware there are many extension RFCs (see the list at the top of
| the link).
|
| https://datatracker.ietf.org/doc/html/rfc4271
| pm2222 wrote:
| Hard to find a real BGP router with full/partial INET table to
| peer with you.
| walrus01 wrote:
| It's a matter of money, of course if you want to rent like 4U
| of colocation space at an IX poitn somewhere, pay for the cross
| connects, tons of ISPs will be happy to sell you an IP transit
| circuit. You did form an LLC and get your own ARIN ASN first,
| right? You have at minimum a /24 of ipv4 space to announce or
| will "rent" some from your upstream provider?
|
| It's generally not something you want to implement on a whim
| because the costs and ongoing obligations are non-trivial.
| pm2222 wrote:
| The peering alone should not cost much: I don't announce
| anything to upstream just receive the full/partial inet table
| and upstream filters everything that I send over bgp.
| bcrl wrote:
| There are lots of us (your friendly local ISP) that would
| be happy to help someone out learning this kind of thing.
| Alas, the expensive part is getting an ASN and network to
| announce which is approaching a kilobuck per year these
| days iirc.
| idorosen wrote:
| Can you be more specific? Outside of residential internet
| connectivity, it's pretty easy to find an business ISP or
| transit provider or peer that's willing to push full BGP tables
| in my experience...
| pm2222 wrote:
| I was referring to residential. Otherwise it's usually the
| network admin/engineering team of a company that manages
| such.
| wahern wrote:
| Vultr offers both BGP proxying and BGP peering services. You
| can route to a cheap ($5/month) VPS and then tunnel (GRE, GIF,
| IPSec, or Wireguard) to your residential gateway. With IPSec or
| Wireguard you wouldn't even need a static residential IP
| address.
___________________________________________________________________
(page generated 2021-10-05 23:01 UTC)