Computer and IT updates, tech news, reviews, tips comparisons, insight, how to of consumer and enterprise IT.

How to configure ifupdown2 in Proxmox 6.3 Virtualization Server

How to configure ifupdown2 in Proxmox 6.3 Virtualization Server

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;

nano /etc/apt/sources.list.d/pve-enterprise.list

The file will open like this

deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

Just at the # in the start to disable it as below;

# 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.

nano /etc/apt/sources.list

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 and Install ifupdown2

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.

Step by Step Installation of ifupdown2

0
Would love your thoughts, please comment.x
()
x