Configure IP Address of Proxmox

yunmkfed

Member
Sep 2, 2023
96
14
13
www.alanbonnici.com
Hi,

I am trying to setup a home lab proxmox. My network is 192.168.16.0/24. I want my proxmox server to get 192.168.16.10 and the gateway and dns servers are 192.168.16.1.

During setup, on the network screen I entered the network as 192.168.16.10/32.

After Proxmox booted I can't ping the server (I can ping other devices on my network) and can't log into the network interface (times out).

Thanks
 
During setup, on the network screen I entered the network as 192.168.16.10/32.
https://www.calculator.net/ip-subne...t=32&cip=192.168.16.10&ctype=ipv4&x=Calculate

The important, for you, portion is:
Total Number of Hosts:1

My network is 192.168.16.0/24
If you intended network is /24, then all hosts should be on that network.
/32 is one host, /24 is 254


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
  • Like
Reactions: yunmkfed
So that setting is not the IP of the machine only but also of the network. My reasoning was that with a DHCP server, Proxmox (and the guests on it) go to this device for their IP address.

It should be 192.168.16.10/24. I will reinstall and report back.

When I installed it initially I wasn't connected to the network. This time round it picked all settings automatically.
 
Last edited:
To configure an IP address in Proxmox, you usually edit the network configuration file on the host.

Steps (Proxmox VE):
  1. SSH into the Proxmox server.
  2. Edit the network config:

    <span><span>nano /etc/network/interfaces<br></span></span>

  1. Set a static IP (example):


    <span><span>auto vmbr0<br>iface vmbr0 inet static<br> address 192.168.1.100/24<br> gateway 192.168.1.1<br> bridge-ports eno1<br> bridge-stp off<br> bridge-fd 0<br></span></span>

  1. Restart networking:

    <span><span>systemctl restart networking<br></span></span>

If you need to calculate subnet masks, gateways, or time-based maintenance windows, a Date and Time Calculator like https://calculatedatetime.com/ can be handy when planning network changes and downtime.