Install Updates
nano /etc/apt/sources.list
Comment out enterprise subscription (pve-enterprise), unless you have a subscription:
nano /etc/apt/sources.list.d/pve-enterprise.list
apt-get update && apt dist-upgrade
Restart the systems after update:
shutdown -r now
Enable PCIe Passthrough (IOMMU)
This sub-section may be outdated. With the release of the latest Proxmox, IOMMU may be enabled by default.
Verify IOMMU is enabled by running the following:
dmesg | grep -e DMAR -e IOMMU
There should be a printout with DMAR: IOMMU eanbled.
Comment out and/or modify GRUB_CMDLINE_LINUX_DEFAULT:
nano /etc/default/grub
For Intel-based systems, add:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
update-grub
nano /etc/modules
Add the following lines:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Reboot:
shtudown -r now
Enable VLAN
nano /etc/network/interfaces
Add:
bridge-vlan-aware yes
Or, in GUI: Network > Bridge > check VLAN Aware
To restrict Proxmox to specific VLAN:
nano /etc/network/interfaces
Add:
bridge-vids 10 # where 10 is the VLAN you want to use
NIC Teaming
nano /etc/network/interfaces
Disable existing bridge vmbr0
, if exists.
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr0
iface vmbr0 inet static
address x.x.x.x/24 #change IP
gateway x.x.x.x #change gateway IP
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Template Cloning
When using template, use full clone. Also, change hostname, host file, and machine ID.
In guest machine, change hostname:
sudo nano /etc/hostname
sudo nano /etc/hosts
Change machine ID:
sudo rm -f /etc/machine-id
sudo dbus-uuidgen --ensure=/etc/machine-id
sudo rm /var/lib/dbus/machine-id
sudo dbus-uuidgen --ensure
Verify machine ID matches:
cat /etc/machine-id
cat /var/lib/dbus/machine-id
Restart processes:
sudo nano /etc/network/interfaces
sudo service networking restart
Additional Resources
For Internal Use: \Machine Notes\2022 Proxmox Notes & Prep