If I try to change the netmask on a LIF, I get an error about the netmask not matching the subnet:
network interface> modify -vserver SVMData -lif SVMData_nfs_lif1 -netmask 255.255.254.0 Error: command failed on vserver "SVMData" lif "SVMData_nfs_lif1": Cannot update LIF associations for LIF "SVMData_nfs_lif1". The netmask of the LIF ("255.255.254.0") does not match the netmask of the subnet ("255.255.255.0").
If I try to change the netmask on the subnet, I get an error about the LIFs:
network subnet> modify -subnet-name COMPANY -subnet 192.168.156.0/23
Error: command failed: The subnet has one or more LIFs associated with it. Changing the netmask of existing LIFs through the subnet commands is not supported.
Must I delete all the LIFs, change the subnet and recreate the LIFs?