Skip to main content
NetApp Knowledge Base

How to modify the netmask of a subnet with LIFs associated to it

Views:
864
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Network Subnet

Description

  • Updating the netmask of a subnet with LIFs associated fails with below error, even with -force-update-lif-associations true

Cluster01::> network subnet show -instance
                     IPspace Name: Default
                      Subnet Name: test
                 Broadcast Domain: Default
                   Layer 3 Subnet: 10.10.10.0/24
                          Gateway: -
IP Addresses or IP Address Ranges: 10.10.10.21-10.10.10.30
              Total Address Count: 10
               Used Address Count: 5
          Available Address Count: 5

Cluster01::> network subnet modify -subnet-name test -subnet 10.10.10.0/22
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.

Cluster01::> network subnet modify -subnet-name test -subnet 10.10.10.0/22 -force-update-lif-associations true
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.

  • Updating the netmask of the LIF that is associated to a subnet does not work either

Cluster01::> network interface modify -vserver xyz -lif xyz1 -netmask-length 22
Error: command failed: Cannot update LIF associations for LIF "xyz1". The netmask of the LIF ("255.255.252.0") does not match the netmask of the subnet
       ("255.255.255.0").

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.