Once you install Proxmox Virtual (VE) you need freedom to update the network configuration, but while updating the configuration you get the error while installing the ifupdown2. This is the message : you need ifupdown2 to reload network configuration (500)
To jump to solution directly you can see the video, and to understand step by step read this article.
- 1 What is ifupdown2?
- 2 How to use ifupdown2 ?
- 3 How to Install ifupdown2?
What is ifupdown2?
Once Proxmox Server is installed you might need to change the network configuration, and once you change the network configuration and apply the configuration, you will get a message to use ifupdown2.
You can either restart the server to apply the configuration or install the ifupdown2.
How to use ifupdown2 ?
You don’t need to type any command to restart the network configuration.
Simply through webui, you can click apply settings and it will reload the new network configuration. But first you will need to apply ifupdown
How to Install ifupdown2?
Before you install first you need to make sure that the Enterprise Repository is disabled and the Community repository is enabled. So let us see how to do it.
Package Repositories to download ifupdown2?
The package management in proxmox is similar to other Debian-based system. Where you can use apt for package management. Once Proxmox is installed the default repository is Enterprise which will not work for the community edition. So this is how I did.
Disable Proxmox VE Enterprise Repository.
To disable the repository you need to edit the file use nano or any other editor using SSH. I used the following command to disable;
The file will open like this
deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
Just disable the existing repository by adding # in the start
# deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
Now the repository is disabled, close the editor and save the file. Usually by Ctr X and then to save press y.
Enable Proxmox VE Enterprise Repository.
Now you need to enable the community repository which is named as Proxmox VE No-Subscription Repository. To access this you need to type below command in ssh.
This will open the list of repositry, whatever is there, replace it will the latest community repository list, that you can get from the help section of your proxmox installation as explained in video below. The list of repositories is below, simply copy and paste in source.list and save the file
deb http://ftp.debian.org/debian buster main contrib deb http://ftp.debian.org/debian buster-updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates
deb http://security.debian.org/debian-security buster/updates main contrib
Update the packages from repository
Now use below commands to update the list;
apt get update apt get upgrade
Now install the package ifupdown2
apt install ifupdown2
Once the package is installed, it will remove ifupdown and will isntall ifupdown2.
Hope this helped you to solved the problem that you get : You need ifupdown2 to reload network configuration (500)
Step by Step solved : You need ifupdown2 to reload network configuration (500)
If you want to watch the full tutorial of Proxmox you can click here
Here is another Ultimate Guide for proxmox
Do you want to Clone HDD to SSD Click here
To download Proxmox click here