User Tools

Site Tools


wiki:bgp_ip_transit_info

This is an old revision of the document!


bgp ip transit info

Getting your IPs from RIPE/ARIN etc. takes a lot of time and back and forth. Prepare at least for a month if you need to wait for someone else to transfer the IPs to you.

The obtained subnet can be advertised from your server(s) via goBGP or similar. There are 2 ways to do it dynamic or static BGP routing. You need to tell your server provider which one you want.

In dynamic setup you use your own AS# then you would setup BGP, and create a route object with ripe/arin for your ipv4 and ipv6 and specify the origin as your AS#. That would be dynamic routing as you could advertise or remove it from the provider on your own.

If you want it routed under our ASN of the server provider (more statically as they would have to add/remove it manually), they would create the route object for your ipv4 and ipv6 or you can, and specify Origin as ASN# of the provider, and they would simply route the ips to your server directly.

Here's an example after creating route objects in RIPE

You also need to add the ROA objects:

Then you can query it in the database “Query Database”, by entering the IPv6 or v4 subnet.

The minimum routing for ipv6 is a /48 for BGP. typically a /64 is assigned to your own customers. for ipv4 it is a /24 for minimum for BGP routing.

So make sure you have your route objects created for the /24 ipv4 and at least a /48 or larger for the ipv6 block that you want to advertise with your ASN as the registered origin.

Provider will add your ASN to their AS-Set so you can advertise the prefixes under your ASN through the provider. It sometimes will take up to 48hrs for upstreams to see your prefixes and allow it, so the sooner you get those route objects created the better. Example: https://www.radb.net/query?keywords=as-tzulo

If you only have one location, then you can advertise the whole /32 block. if you have more then 1x location then you can split it to /48s or /40 or /36 etc. so you have large block in each location. if you do split it smaller then a /32, then you should create that route object as well to match.

Tested on

See also

References

wiki/bgp_ip_transit_info.1766059860.txt.gz · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki