<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can we expand a subnet? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-can-we-expand-a-subnet/m-p/153684#M34388</link>
    <description>&lt;P&gt;We need to expand our subnet from a /24 to a /23.&lt;/P&gt;
&lt;P&gt;If I try to change the netmask on a LIF, I get an error about the netmask not matching the subnet:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;network interface&amp;gt; modify -vserver SVMData -lif SVMData_nfs_lif1 -netmask 255.255.254.0 &lt;BR /&gt;Error: command failed on vserver "SVMData" lif "SVMData_nfs_lif1": Cannot update LIF associations&lt;BR /&gt;for LIF "SVMData_nfs_lif1". The netmask of the LIF ("255.255.254.0") does not match the&lt;BR /&gt;netmask of the subnet ("255.255.255.0").&lt;/P&gt;
&lt;P&gt;If I try to change the netmask on the subnet, I get an error about the LIFs:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;network subnet&amp;gt; modify -subnet-name COMPANY -subnet 192.168.156.0/23&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;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.&lt;/P&gt;
&lt;P&gt;Must I delete all the LIFs, change the subnet and recreate the LIFs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:21:51 GMT</pubDate>
    <dc:creator>JMJB</dc:creator>
    <dc:date>2025-06-04T11:21:51Z</dc:date>
    <item>
      <title>How can we expand a subnet?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-can-we-expand-a-subnet/m-p/153684#M34388</link>
      <description>&lt;P&gt;We need to expand our subnet from a /24 to a /23.&lt;/P&gt;
&lt;P&gt;If I try to change the netmask on a LIF, I get an error about the netmask not matching the subnet:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;network interface&amp;gt; modify -vserver SVMData -lif SVMData_nfs_lif1 -netmask 255.255.254.0 &lt;BR /&gt;Error: command failed on vserver "SVMData" lif "SVMData_nfs_lif1": Cannot update LIF associations&lt;BR /&gt;for LIF "SVMData_nfs_lif1". The netmask of the LIF ("255.255.254.0") does not match the&lt;BR /&gt;netmask of the subnet ("255.255.255.0").&lt;/P&gt;
&lt;P&gt;If I try to change the netmask on the subnet, I get an error about the LIFs:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;network subnet&amp;gt; modify -subnet-name COMPANY -subnet 192.168.156.0/23&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;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.&lt;/P&gt;
&lt;P&gt;Must I delete all the LIFs, change the subnet and recreate the LIFs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:21:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-can-we-expand-a-subnet/m-p/153684#M34388</guid>
      <dc:creator>JMJB</dc:creator>
      <dc:date>2025-06-04T11:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can we expand a subnet?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-can-we-expand-a-subnet/m-p/153685#M34389</link>
      <description>&lt;P&gt;This might help:&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-nmg%2FGUID-2067E0EA-4907-4471-9274-2FB3655233A2.html" target="_blank"&gt;https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-nmg%2FGUID-2067E0EA-4907-4471-9274-2FB3655233A2.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;You can set the value&amp;nbsp;&lt;SPAN class="ph synph"&gt;&lt;SPAN class="keyword kwd"&gt;true&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;for the&amp;nbsp;&lt;SPAN class="keyword option"&gt;-force-update-lif-associations&lt;/SPAN&gt;&amp;nbsp;option when modifying the range of IP addresses.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've not actually ran that flag though.&amp;nbsp; I would test it out before doing it in prod if you can.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 23:11:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-can-we-expand-a-subnet/m-p/153685#M34389</guid>
      <dc:creator>SpindleNinja</dc:creator>
      <dc:date>2020-01-21T23:11:47Z</dc:date>
    </item>
  </channel>
</rss>

