Old netmask format causes issues after PVE 7 upgrade

otbutz

Active Member
Oct 17, 2017
13
3
43
34
Some nodes refused to connect with the rest of the cluster. The issue was caused by the old netmask syntax in the /etc/network/interfaces config:

Code:
auto vmbr0
iface vmbr0 inet static
        address  192.168.1.1
        gateway  192.168.100.254
        netmask  255.255.0.0
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0

Changing it to the following lines fixed it:

Code:
auto vmbr0
iface vmbr0 inet static
        address  192.168.1.1/16
        gateway  192.168.100.254
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0
 
Is this with ifupdown2 installed?

It seems ifupdown2 ignores the `netmask` property and assumes a /32 subnet for the address.
 

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!