wiki:bgp_ip_transit_info
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:bgp_ip_transit_info [2026/02/11 11:27] – add Updating path length and more screenshot antisa | wiki:bgp_ip_transit_info [2026/06/10 09:41] (current) – add info about LOA antisa | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| The obtained subnet can be advertised from your server(s) via [[https:// | The obtained subnet can be advertised from your server(s) via [[https:// | ||
| + | |||
| + | Sometimes the provider might ask you for a Letter of authorization (LOA). This is a legal document which you need to fill out to prove you are the actual owner of the advertised IPs. You should ask the provider to send you a template if you don't have one. [[https:// | ||
| 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. | 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. | ||
| Line 76: | Line 78: | ||
| //as// is your assigned ASN number. | //as// is your assigned ASN number. | ||
| - | // | + | // |
| //peer-as// is peer ASN, also given by provider. | //peer-as// is peer ASN, also given by provider. | ||
| Line 97: | Line 99: | ||
| 2607: | 2607: | ||
| </ | </ | ||
| + | // | ||
| - | Check the routing table | + | Check the routing table. You might see something like this |
| < | < | ||
| Line 118: | Line 121: | ||
| * 2a03: | * 2a03: | ||
| + | </ | ||
| + | |||
| + | or this | ||
| + | |||
| + | <code | download> | ||
| + | # gobgp global rib -a ipv4 | ||
| + | | ||
| + | * 89.124.253.0/ | ||
| + | # gobgp global rib -a ipv6 | ||
| + | | ||
| + | * 2a03: | ||
| + | </ | ||
| + | |||
| + | This should be ok. What you need to check is that you are advertising your IPs you should see something like: | ||
| + | |||
| + | <code | download> | ||
| + | # gobgp neighbor 198.44.157.1 adj-out | ||
| + | | ||
| + | | ||
| </ | </ | ||
| Line 217: | Line 239: | ||
| On RIPE Looking glass this will be shown as | On RIPE Looking glass this will be shown as | ||
| - | |||
| {{: | {{: | ||
| + | |||
| + | ===== Withdrawing BGP announcements ===== | ||
| + | In case you need to take the server offline for maintenance and you have a dynamic setup i.e. you yourself is advertising the routes via the BGP daemon on your server, it is sufficient to simply stop the BGP session on your side before the maintenance begins. Once the session is down, the advertisements for will be withdrawn automatically. | ||
| + | |||
| + | After the maintenance is completed, you can start the session again and the prefixes will be re-advertised as before. | ||
| + | |||
| + | |||
| ====== Tested on ====== | ====== Tested on ====== | ||
| * gobgp_version: | * gobgp_version: | ||
| Line 232: | Line 260: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
wiki/bgp_ip_transit_info.1770809220.txt.gz · Last modified: by antisa
