PVE 7 GUI does not like ifupdown2 syntax

Apr 29, 2016
10
9
23
39
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.