Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2241 from aiven/dorota-platform-upcloud-vpc-peeri…
Browse files Browse the repository at this point in the history
…ng-limitation-refresh-dhcp

platform: update upcloud vpc peering how-to  - add a requirement to renew a dhcp lease
  • Loading branch information
giacomo-alzetta-aiven authored Nov 13, 2023
2 parents b0bea3c + 100552f commit 18e6981
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/vale/styles/Aiven/capitalization_headings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ exceptions:
- Datadog
- Debezium
- Dev
- DHCP
- Disaster Recovery
- Docker
- Dynamic Disk Sizing
Expand Down
23 changes: 23 additions & 0 deletions docs/platform/howto/vpc-peering-upcloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,29 @@ HTTP status Error code Description
409 Conflict PEERING_CONFLICT The peering already exists.
================= ======================== ===================================================

Renew a DHCP lease
------------------

You only need to take this step if any of your VMs has been created before setting up the network peering. In that case, you need to refresh the Dynamic Host Configuration Protocol (DHCP) lease for a relevant network interface to get new routes.

.. warning::

A peering connection between an Aiven VPC and VMs created before the peering setup won't work unless you refresh the DHCP lease for a relevant network interface.

To refresh the DHCP lease for a network interface, run the following commands:

1. To clear the existing DHCP lease

.. code-block:: bash
dhclient -r NETWORK_INTERFACE_NAME
2. To request a renewal of the DHCP lease

.. code-block:: bash
dhclient NETWORK_INTERFACE_NAME
Related reading
---------------

Expand Down

0 comments on commit 18e6981

Please sign in to comment.