跳转到主内容

如何确定ONTAP 9.2及更高版本将用于网络流量的最特定网络路由?

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

适用场景

  • ONTAP 9.2及更高版本
  • IPv4

问题描述

  • ONTAP如何在需要发起新请求或回复请求时选择路由。
  • 要确定到达目标的最具体路由、请从ONTAP命令行界面运行以下命令:​​​​​​
    • set advanced; network route active-entry show -vserver vserver -node node-01 
    • 其中包括从指定节点上的这些生命周期发出的路由
      • 命令"route show"仅显示路由配置(而不是路由表中的实际路由)
    • 或者、也可以在  ActiveIQ的AutoSupport部分中查看route-active.XML 
  • 根据可用路由确定哪个路由具有目标IP适用的"最窄"(最具体或最小)子网。
    • 例如、如果目标IP地址为10.1.1.1、请查看具有以下目标的路由表:
      • "default"或 0.0.0.0/0匹配且网络掩码为/0 (全部为零)
      • 10.1/16匹配并具有/16 (255.255.0.0)网络掩码
      • 10.1.1/24匹配并具有/24 (255.255.255.0)网络掩码
      • 10.1.1/32匹配并具有/32 (所有一个)网络掩码(32比24、16和0更具体)。这是一个单主机路由示例、与单个IP地址完全匹配、使其成为最具体的路由

(实际的路由决定是针对最特定到最不特定的地址进行的,当没有其他匹配项(包括链路本地地址)时,最终会使用默认路由0.0.0.0/0。

追加信息

 

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.