Complete the network configuration on a Proxmox server after you add it to a network or replace its public IP block in the Bare Metal Cloud (BMC) portal. The portal does not configure the operating system, so the server configuration must match the portal metadata.
Prerequisites
Server credentials, BMC portal credentials, and a deployed Proxmox BMC server. You will also need the VLAN ID and the assigned IPs from the Network & IP Settings tab of the Servers Details page.
Note
A Proxmox server can take only one public IP address. Other IP addresses from the pool are added to virtual machines from the Proxmox interface.
Add a Network to the Server
Use these steps after you add the server to a network in the portal:
1. Access the Proxmox server in a browser. Use the server’s public IP address with port 8006.
2. Log in with the the root account and the password you received when you deployed the server (or the new password if you changed it).
3. Select the server’s name in the Proxmox UI, then select Network.
4. Click Create, and select Linux VLAN.
5. Enter bond0.[VLAN_ID] in the Name field. Replace [VLAN_ID] with the VLAN ID noted from the portal.
6. Click Create. The fields Vlan raw device and VLAN Tag populate automatically.
7. Click Create again, and select Linux Bridge.
8. Enter the network IP address from your BMC portal account with the corresponding CIDR. You can add only one IP here. Other IPs are added to virtual machines.
9. Enter the bond name you created in the previous steps in the in the Bridge ports field.
10. Click Create.
11. Select the Apply Configuration button to activate the changes.
Note
For SSH or Remote Console, edit the interfaces file located at /etc/network/interfaces.
Replace a Public IP Block
1. Connect to the Proxmox server using the remote console.
2. Log in as the root user with the password you received when you deployed the server (or the new password if you changed it).
3. Open the interfaces file in a text editor:
vi /etc/network/interfacesCode language: Bash (bash)
4. Find the auto vmbr0 section, and edit it to match the new information on the Server Details page in the BMC portal.
5. In the section named iface bond0.[VLAN_ID] inet manual, where [VLAN_ID] is the VLAN ID from the previous configuration, enter the new VLAN ID.
6. Save the file and exit.
7. Reboot the server.
8. Test the new connection by opening the address in your browser:
https://[IP_ADDRESS]:8006Code language: HTTP (http)
Replace [IP_ADDRESS] with the newly assigned public IP address.
The server uses the new IP allocation.