VK Cloud logo
Updated at April 25, 2024   09:18 AM

Dynamic routing

An advanced router allows you to establish connection between autonomous networks using the BGP protocol. To do this, you need to add a BGP router and specify BGP neighbors.

Adding a BGP router

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Click the Add a BGP router button.

  6. Specify the name of the BGP router. You can use only numbers, Latin letters, space and symbols: ? ! ~ @ # $ % ^ " & _ - + * = ; : , . / \ | ` [ ] { } ( ) < >.

  7. Specify an IP address for the BGP router — the router interface directed to the transit network. Use the highest IP address on the loopback or physical interface.

  8. Enter an ASN from the range 64512–65534.

  9. (Optional) Disable the BGP router if you do not need to establish a connection at this time. The BGP router will become inactive.

  10. (Optional) Add a description for the BGP router.

  11. Click the Create button.

Editing a BGP router

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Start editing the dynamic router in one of the following ways:

    • Click the name of the BGP router, then click the Edit button.
    • Expand the BGP router menu and select Edit.
  6. You can do the following:

    • Edit the router name.
    • Edit the router description.
    • Enable the ECMP option. The router will create multiple routes to the same destination. When transferring data, if one of the routes is unavailable, another will be automatically selected. This allows for increased throughput and fault tolerance.
    • Enable the Graceful restart option. After the peer is restarted, the BGP router will retain its state and continue transmitting data.
    • Enable the Long lived graceful restart option. The BGP router will maintain its state for a longer time in the event of a BGP peer failure.
    • Disable the BGP router if you do not need to establish communication at the moment. The BGP router will become inactive.
  7. Click the Save changes button.

Deleting a BGP router

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Delete the router in one of the following ways:

    • Expand the router menu and select Delete.
    • Set the checkbox for the required router, then click the Delete button above the table.
  6. Confirm the deletion.

Adding a BGP neighbor

To connect autonomous networks using the BGP protocol, you need to specify the BGP routers which will connect to each other.

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router.

  6. Go to the BGP neighbors tab.

  7. Click Add a BGP neighbor.

  8. (Optional) Specify the name of the BGP neighbor. You can use only numbers, Latin letters, space and symbols: ? ! ~ @ # $ % ^ " & _ - + * = ; : , . / \ | ` [ ] { } ( ) < >.

  9. Specify the interface directed to the transit network of the neighboring BGP router.

  10. Specify the ASN of the remote network. If the network does not have an ASN defined, use private ASNs from the range 64512–65534.

  11. (Optional) Disable the BGP neighbor if you do not need to establish a connection at the moment. The BGP router will not send requests to the remote router.

  12. (Optional) Add a description for the BGP neighbor.

  13. Click the Add button.

After you add the BGP neighbor, the router will try to establish a connection with it. When this is done, you will see:

  • the mark next to the name of the BGP neighbor is green
  • BFD is enabled

Editing a BGP neighbor

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router and then go to the BGP neighbors tab.

  6. Select the BGP neighbor.

  7. Start editing the BGP neighbor in one of the following ways:

    • Click the BGP neighbor name, then click the Edit button.
    • Expand the BGP neighbor menu and select Edit.
  8. You can do the following:

    • Edit the BGP neighbor name.

    • Edit the BGP neighbor description.

    • Edit the neighbor operating mode that determines the ability to exchange all routing options for each announcement. You can select the mode in the Add path field:

      • off: disable
      • on: enable in both directions
      • rx: enable reception only
      • tx: enable delivery only
    • Enable the BFD option. This allows the use of session control via BFD (руBidirectional Forwarding Detection).

    • Enable the Next Hop Self option. The BGP neighbor will get the IP adress of the router interface as the next hop.

    • Disable the BGP neighbor if the connection is not currently required. The BGP router will not send requests to the remote router.

  9. Click the Save changes button.

Deleting a BGP neighbor

This is a group operation: you can delete several neighbors at once by setting the checkboxes.

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router and then go to the BGP neighbors tab.

  6. Select the BGP neighbor.

  7. Delete the BGP neighbor in one of the following ways:

    • Expand the BGP neighbor menu and select Delete.
    • Set the checkbox for the required BGP neighbor, then click the Delete button above the table.
    • Click the name of the BGP neighbor, then click the Delete button above the table.
  8. Confirm the deletion.

View a BGP announcement

After setting up a BGP neighbor, an advanced router will begin transmitting to the neighbor BGP announcements of all networks to which its interfaces are directed.

To view BGP announcements:

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router.

  6. Go to the BGP announcements tab.

The tab displays a list of all BGP announcements. Active announcements are marked with green marks.

Adding a BGP announcement

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router and then go to the BGP announcements tab.

  6. Click the Add a BGP announcement button.

  7. Select the type of announcement:

    The announcement conveys information about a manually specified static route.

    1. Specify the request parameters:

      • Network: the IP address with the network mask that will be announced to a BGP neighbor.
      • Default Gateway: the gateway IP address. If the gateway is available, the network will be announced in BGP.
      • (Optional) Disable the BGP announcement if this network does not need to be announced to a BGP neighbor. The BGP announcement will become inactive.
      • (Optional) Add a description for the BGP announcement.
    2. Click the Add button.

Editing a BGP announcement

You can only edit the Static announcements.

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router and then go to the BGP announcements tab.

  6. Start editing the BGP announcement in one of the following ways:

    • Expand the announcement menu and select Edit.
    • Click the IP address of the announced subnet, then click the Edit button.
  7. You can do the following:

    • Disable the announcement if this network does not need to be announced to a BGP neighbor.
    • Edit the description of the announcement.
  8. Click the Save changes button.

Deleting a BGP announcement

This is a group operation: you can delete several announcements at once by selecting them using the checkboxes.

  1. Go to your VK Cloud personal account.

  2. Go to Cloud networksRouters.

  3. Click the name of the router you need.

  4. Go to the Dynamic Routing tab.

  5. Select the BGP router and then go to the BGP announcements tab.

  6. Select the BGP announcement.

  7. Delete the BGP announcement in one of the following ways:

    • Expand the BGP announcement menu and select Delete.
    • Set the checkbox for the required BGP announcement, then click the Delete button above the table.
    • (For Static only) Click the BGP announcement name, then click the Delete button above the table.
  8. Confirm the deletion.