You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/setup-elastic-metal-proxmox-cluster-with-private-networks/index.mdx
+40-3Lines changed: 40 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Once the server has rebooted, the Proxmox web interface is available.
59
59
60
60
## Configuring the Private Network
61
61
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.
63
63
64
64
1. Click the Proxmox host in the data center menu on the left. The server's dashboard displays.
65
65
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'
***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`).
73
73
***(Optional) Gateway (IPv4)**: The IP address of your [Public Gateway](/public-gateways/concepts/#public-gateway), if you want to use one.
74
74
***Autostart**: Tick this box to automatically bring up the interface during system startup.
75
75
5. Click **Create** to create the Private Network interface.
76
+
6. Click **Apply configuration** to activate the Private Network and to save the configuration.
76
77
<Messagetype="note">
77
78
Repeat the steps above on each node (in our case, each Elastic Metal server) you want to add to your Private Network.
78
79
</Message>
79
80
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
+
<Messagetype="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
81
118
82
119
1. Click **Cluster** in the data center view of the Promox interface of your first node. The cluster dashboard displays.
0 commit comments