December 9, 2022

Debian11 installs Proxmox VE (PVE) and multi-IP network configuration

Install the latest version of PVE 7 on Debian11, configure the network under multiple IPs of an independent server, bridge the independent IP directly to the virtual subsystem, install Windows 11 in pve and a series of operation notes.


1. Set the hostname
hostnamectl set-hostname pve

2. Modify /etc/hosts localhost
Dedicated server ip pve

3. Install PVE
echo "deb [arch=amd64] bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

wget -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg

apt update && apt full-upgrade

apt install proxmox-ve postfix open-iscsi

4. Clean up the system after reboot

apt remove linux-image-amd64 'linux-image-5.10*'


apt remove os-prober

5. Enable BBR

cat >>/etc/sysctl.conf << EOF

sysctl -p

6. interfaces vmbr0

vi /etc/network/interfaces

auto vmbr1
iface vmbr1 inet static
  bridge_ports none
  bridge_stp off
  bridge_fd 0
  post-up echo 1 > /proc/sys/net/ipv4/ip_forward
  post-up iptables -t nat -A POSTROUTING -s '' -o eth0 -j MASQUERADE
  post-down iptables -t nat -D POSTROUTING -s '' -o eth0 -j MASQUERADE

and trun on the net.ipv4.ip_forward =1;

7.If you have dedicated IP, not NAT.

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto network card name
iface network card name inet manual

auto vmbr0
iface vmbr0 inet static
     address main IP
     netmask subnet mask
     gateway gateway
     broadcast broadcast address
     bridge-ports NIC name
     bridge-stp off
     bridge-fd 0

Install Win11 in Pve

Win11 iso | virtio iso

download iso
The PVE system image location is stored in the /var/lib/vz/template/iso directory, you only need to download or upload the .iso image to this directory, and then install it through the PVE WEB management interface.

Leave a Reply

Your email address will not be published. Required fields are marked *