From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 541E560527 for ; Wed, 2 Sep 2020 10:22:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3F7ACF021 for ; Wed, 2 Sep 2020 10:22:28 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id BED4AF014 for ; Wed, 2 Sep 2020 10:22:26 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 8F4CE449AB for ; Wed, 2 Sep 2020 10:22:26 +0200 (CEST) From: Dylan Whyte To: pbs-devel@lists.proxmox.com Date: Wed, 2 Sep 2020 10:22:18 +0200 Message-Id: <20200902082218.10165-1-d.whyte@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.014 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH docs] Edit section "Network Management" X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 08:22:58 -0000 Following changes made: * Remove empty column "method6" from network list output, so table fits in console code-block * Walkthrough bond, rather than a bridge as it may be a more common setup case Signed-off-by: Dylan Whyte --- docs/administration-guide.rst | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/administration-guide.rst b/docs/administration-guide.rst index e6357a3e..e9e1174e 100644 --- a/docs/administration-guide.rst +++ b/docs/administration-guide.rst @@ -483,37 +483,36 @@ To get a list of available interfaces, use the following command: .. code-block:: console # proxmox-backup-manager network list - ┌───────┬────────┬───────────┬────────┬─────────┬───────────────────┬──────────────┬──────────────┐ - │ name │ type │ autostart │ method │ method6 │ address │ gateway │ ports/slaves │ - ╞═══════╪════════╪═══════════╪════════╪═════════╪═══════════════════╪══════════════╪══════════════╡ - │ bond0 │ bond │ 1 │ manual │ │ │ │ ens18 ens19 │ - ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤ - │ ens18 │ eth │ 1 │ manual │ │ │ │ │ - ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤ - │ ens19 │ eth │ 1 │ manual │ │ │ │ │ - ├───────┼────────┼───────────┼────────┼─────────┼───────────────────┼──────────────┼──────────────┤ - │ vmbr0 │ bridge │ 1 │ static │ │ x.x.x.x/x │ x.x.x.x │ bond0 │ - └───────┴────────┴───────────┴────────┴─────────┴───────────────────┴──────────────┴──────────────┘ + ┌───────┬────────┬───────────┬────────┬─────────────┬──────────────┬──────────────┐ + │ name │ type │ autostart │ method │ address │ gateway │ ports/slaves │ + ╞═══════╪════════╪═══════════╪════════╪═════════════╪══════════════╪══════════════╡ + │ bond0 │ bond │ 1 │ static │ x.x.x.x/x │ x.x.x.x │ ens18 ens19 │ + ├───────┼────────┼───────────┼────────┼─────────────┼──────────────┼──────────────┤ + │ ens18 │ eth │ 1 │ manual │ │ │ │ + ├───────┼────────┼───────────┼────────┼─────────────┼──────────────┼──────────────┤ + │ ens19 │ eth │ 1 │ manual │ │ │ │ + └───────┴────────┴───────────┴────────┴─────────────┴──────────────┴──────────────┘ To add a new network interface, use the ``create`` subcommand with the relevant -parameters. The following command shows a template for creating a new bridge: +parameters. The following command shows a template for creating the bond shown +in the list above: .. code-block:: console - # proxmox-backup-manager network create vmbr1 --autostart true --cidr x.x.x.x/x --gateway x.x.x.x --bridge_ports iface_name --type bridge + # proxmox-backup-manager network create bond0 --type bond --bond_mode active-backup --slaves ens18,ens19 --autostart true --cidr x.x.x.x/x --gateway x.x.x.x You can make changes to the configuration of a network interface with the ``update`` subcommand: .. code-block:: console - # proxmox-backup-manager network update vmbr1 --cidr y.y.y.y/y + # proxmox-backup-manager network update bond0 --cidr y.y.y.y/y You can also remove a network interface: .. code-block:: console - # proxmox-backup-manager network remove vmbr1 + # proxmox-backup-manager network remove bond0 To view the changes made to the network configuration file, before committing them, use the command: -- 2.20.1