Skip to content

Commit 1e6672c

Browse files
authored
fix(tuto): update tutorial with more configuration details (#5027)
* fix(tuto): update tutorial with more configuration details * feat(tuto): wording
1 parent 8f54183 commit 1e6672c

File tree

1 file changed

+40
-3
lines changed
  • tutorials/setup-elastic-metal-proxmox-cluster-with-private-networks

1 file changed

+40
-3
lines changed

tutorials/setup-elastic-metal-proxmox-cluster-with-private-networks/index.mdx

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Once the server has rebooted, the Proxmox web interface is available.
5959

6060
## Configuring the Private Network
6161

62-
Instead of [configuring the Private Network interface directly from your server's command line](/elastic-metal/how-to/use-private-networks/#how-to-configure-the-network-interface-on-your-elastic-metal-server-for-private-networks), we must configure it using the Proxmox interface.
62+
Instead of [configuring the Private Network interface directly from your server's command line](/elastic-metal/how-to/use-private-networks/#how-to-configure-the-network-interface-on-your-elastic-metal-server-for-private-networks), it is required to configure it using the Proxmox interface.
6363

6464
1. Click the Proxmox host in the data center menu on the left. The server's dashboard displays.
6565
2. Click **Network** in the **System** section of the menu. The network dashboard displays.
@@ -69,15 +69,52 @@ Instead of [configuring the Private Network interface directly from your server'
6969
<Lightbox src="scaleway-proxmox-vlan-details.webp" alt="" />
7070

7171
* **Name**: The name of your primary network interface followed by a dot and the VLAN ID of your Private Network (e.g. `eno1.1918` for the primary network interface `eno1` and the VLAN ID `1918`)
72-
* **IPv4/CIDR**: The IP address of the machine in your Private Network followed by its CIDR netmask (e.g. `192.168.1.101/24`)
72+
* **(Optional) IPv4/CIDR**: The private IP of your server will be configured through DHCP if IPAM is configured correctly. Optionally, set the IP address of the machine in your Private Network followed by its CIDR netmask (e.g. `192.168.1.101/24`).
7373
* **(Optional) Gateway (IPv4)**: The IP address of your [Public Gateway](/public-gateways/concepts/#public-gateway), if you want to use one.
7474
* **Autostart**: Tick this box to automatically bring up the interface during system startup.
7575
5. Click **Create** to create the Private Network interface.
76+
6. Click **Apply configuration** to activate the Private Network and to save the configuration.
7677
<Message type="note">
7778
Repeat the steps above on each node (in our case, each Elastic Metal server) you want to add to your Private Network.
7879
</Message>
7980

80-
## Creating a cluster
81+
### Network configuration on the console
82+
83+
1. Open the file `/etc/network/interfaces` in a text editor and update any lines generated by Proxmox. Change lines such as `iface eno1.3010 inet manual` to `iface eno1.3010 inet dhcp`.
84+
2. In the same file, ensure that all lines generated by the Proxmox web UI are placed after the `vmbr0` interface declaration. Failing to do so will prevent both static and DHCP configurations from working correctly.
85+
3. Save the file and exit the text editor.
86+
- Example of a `/etc/network/interfaces` file:
87+
```
88+
auto lo
89+
iface lo inet loopback
90+
91+
iface eno1 inet manual
92+
93+
iface eno2 inet manual
94+
95+
iface eno3 inet manual
96+
97+
iface eno4 inet manual
98+
99+
auto vmbr0
100+
iface vmbr0 inet static
101+
address 51.159.111.2/24
102+
gateway 51.159.111.1
103+
bridge-ports eno1
104+
bridge-stp off
105+
bridge-fd 0
106+
hwaddress 44:a8:42:44:38:b4
107+
108+
# generated configuration that must be after vmbr0 declaration
109+
auto eno1.3010
110+
iface eno1.3010 inet dhcp
111+
```
112+
<Message type="note">
113+
If you choose to use DHCP, note that no DHCP client process runs automatically on the newly added interface. To resolve this, either run `dhclient` on the interface manually or reboot the server.
114+
</Message>
115+
116+
117+
## Creating a cluster
81118

82119
1. Click **Cluster** in the data center view of the Promox interface of your first node. The cluster dashboard displays.
83120
<Lightbox src="scaleway-proxmox-cluster-overview.webp" alt="" />

0 commit comments

Comments
 (0)