跳转到主内容

ONTAP 是否支持 IPv4 点对点链路的 31 位子网掩码?

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

适用于

ONTAP 9

解答

  • ONTAP 支持 31 位子网掩码( /31 )
  • 只能将点对点范围内的第二个 IP 分配给 ONTAP 中的接口
  • 使用 31 位子网掩码传输到 LIF 的 TCP 流量在 ONTAP 9.8 之前不起作用
  • 其他信息

示例

  • 所需的点对点子网为 192.168.1.0/31
  • ONTAP 可以分配到 192.168.1.1
  • 无法为 ONTAP 分配 192.168.1.0
    • 分配将失败 Error: command failed: Netmask and address pair result in a network address
  • ​​​​​​​Below 第一个命令失败,但第二个命令成功,如上所述
 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.