Skip to main content
NetApp Knowledge Base

Does ONTAP support 31-bit subnet masks for IPv4 point-to-point links?

Views:
289
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

ONTAP 9

Answer

  • ONTAP supports 31-bit subnet masks (/31)
  • Only the second IP in the point-to-point range can be assigned to an interface in ONTAP
  • TCP traffic to LIF's with a 31-bit subnet mask will not work until ONTAP 9.8
    • ONTAP 9.8 introduces a fix for Bug 1326644 which will allow TCP traffic
  • Additional Information

Example

  • Desired point-to-point subnet is 192.168.1.0/31
  • ONTAP can be assigned 192.168.1.1
  • ONTAP cannot be assigned 192.168.1.0
    • Assignment will fail out with Error: command failed: Netmask and address pair result in a network address
  • ​​​​​​​Below the first command fails, but the second command succeeds as stated above
cluster1::> network interface create -vserver svm1 -lif p2p -address 192.168.1.0 -netmask 255.255.255.254  

Error: command failed: Netmask and address pair result in a network address 

cluster1::> network interface create -vserver svm1 -lif p2p -address 192.168.1.1 -netmask 255.255.255.254 
cluster::> 

 

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.
Scan to view the article on your device