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.