# BGP sessions & bring your own IP

> Announce your own prefixes from Avenlith servers, build anycast services and keep your addresses when you move.

Source: https://docs.avenlith.com/en/bgp-and-byoip  
Category: Networking  
Last updated: 2026-09-22

## Requirements

- Your own ASN and at least one /24 IPv4 or /48 IPv6 prefix
- A valid ROA in RPKI authorising **AS212873** to originate the prefix
- An IRR route object in RIPE, ARIN or another registry

## Request a session

Open **Networking → BGP → New session**, select the server and enter your ASN and prefixes. Our NOC verifies ownership and enables the session, usually within one business day.

## Example configuration (FRRouting)

```text
router bgp 65010
  neighbor 169.254.10.1 remote-as 212873
  neighbor 169.254.10.1 password <session-password>
  address-family ipv4 unicast
    network 198.51.100.0/24
    neighbor 169.254.10.1 activate
```

> **Tip:** > Announce the same prefix from several regions to build an anycast service. Shield protects anycast prefixes in every location automatically.

## Communities

| Community | Effect |
| --- | --- |
| 212873:100 | Announce to all peers and transits |
| 212873:200 | Announce to Russian peers only |
| 212873:300 | Announce to European peers only |
| 212873:666 | Remote-triggered blackhole (RTBH) |
