Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

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

Views:
218
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::> 

 

Scan to view the article on your device