Installing PVE on notebook with network-manager and dynamic IP?

chhaas

Member
Nov 28, 2021
2
0
6
Hello!

is it possible to install PVE on a notebook with Debian Bullseye with network-manger for network-configuration and with a dynamic IP-setup?

The usecase would be to use PVE as virtualization platform on a powerful notebook (32 GB RAM, i7 cpu, 2 TB NVMe) for several KVMs and LXCs in a roadwarrior-setup with dynamic IPs provided by LAN or WLAN, also with a XFCE-desktop.

All information I've read so far, refers to network-configuration in /etc/network/interfaces and a static ip for the PVE host....

The only alternative I see, if this could not be done, is to use virt-manager. But I would prefer to use PVE.

Christoph.
 
DHCP will work too. But keep in mind that using Wifi is often problematic. Many Wifi chipsets just won't allow the wifi interface to be bridged. But your VMs/LXCs need to be attached to a bridge so if you can't attach that wifi interface to the bridge too no VM/LXCs communication would be able to leave your host. In such a case you would need to to setup a routed/NAT setup on your host where your host is routing traffic between the bridge and the wifi interface so bridging the bridge and wifi interface isn't neccessary.

Not sure if PVE will work with network-manager. I can only remeber tutorials that recommend to uninstall network-manager in case you want to use PVE with an desktop environment.
 
Hello!

is it possible to install PVE on a notebook with Debian Bullseye with network-manger for network-configuration and with a dynamic IP-setup?

The usecase would be to use PVE as virtualization platform on a powerful notebook (32 GB RAM, i7 cpu, 2 TB NVMe) for several KVMs and LXCs in a roadwarrior-setup with dynamic IPs provided by LAN or WLAN, also with a XFCE-desktop.

All information I've read so far, refers to network-configuration in /etc/network/interfaces and a static ip for the PVE host....

The only alternative I see, if this could not be done, is to use virt-manager. But I would prefer to use PVE.

Christoph.
I've actually got the same use case with similar hardware sans the generous NVME capacity but I'm already considering an upgrade. Was checking earlier today and I can confirm Network manager does not work on a Debian Install. However it's doable to change some of the settings like /etc/network/config to suit the required network config.

https://pve.proxmox.com/wiki/WLAN

I've installed the XFCE package onto a standard Proxmox install and it actually works quite well.

I'm busy solving that same Network issue at the moment since my rig also needs to travel. Still digging to see how I'd connect to wifi without Network Manager.

Let me know if you have something working first.
 
Isn't that hard to setup wifi headless using cli (wpa_suppliant.conf) without using network-manager but I guess you want a easy way using a GUI with desktop integration.
 
Last edited:
Isn't that hard to setup wifi headless using cli (wpa_suppliant.conf) without using network-manager
Well I think the main challenge when I'm on the move is that I don't know encryption types and WPA versions of an unknown network. It can be figured out. Maybe we can automate it without using network manager. When I travel between different wifi spots knowing what wifi is in range and being able to connect is quite helpful. Especially if that does not become an exercise in configuration management.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!