PVE 7 GUI does not like ifupdown2 syntax

Apr 29, 2016
10
9
23
38
Using ifupdown, the following config used to be valid and correctly displayed in the Proxmox VE 7 webinterface:

Code:
auto vlan1120
iface vlan1120 inet static
    vlan-raw-device vmbr2
    address 172.16.0.17/27

Screenshot 2021-07-28 at 11.53.46.png

Using ifupdown2 there is no need to add inet static any longer. See https://cumulusnetworks.github.io/ifupdown2/ifupdown2/userguide.html#configuration-files for details.

However, when using the following config, the Proxmox VE 7 webinterface shows "unknown" as type and no longer displays CIDR etc.:
Code:
auto vlan1120
iface vlan1120
    vlan-raw-device vmbr2
    address 172.16.0.17/27

Screenshot 2021-07-28 at 11.57.15.png
 
We do not plan to be 100% parser compatible, and still want to be ifupdown v1 compatible.
In your case, simply add "inet static" an it is displayed correctly.
 

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!