跳转到主内容

IP 快速路径如何工作

Views:
78
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
network
Last Updated:

适用场景

  • Data ONTAP 7
  • Data ONTAP 7-模式 
  • Data ONTAP 8
  • ONTAP 9.0 – 9.1

问题解答

路由在 Data ONTAP 中的工作原理是什么?
您可以让 Data ONTAP 将自己的出站数据包路由到网络接口。虽然您的存储系统可以有多个网络接口、但它不能用作路由器。但是,它可以路由出站数据包。

Data ONTAP 使用两种路由机制:

  • 快速路径: Data ONTAP 使用此机制通过 UDP 路由 NFS 数据包并路由所有 TCP 流量。
  • 路由表:要路由不使用快速路径的 IP 流量、 Data ONTAP 会使用本地路由表中提供的信息。
    • 路由表包含已建立且当前正在使用的路由以及默认路由规范。

什么是快速路径?
Fast Path 是通向路由表的备用路由机制,在该机制中,传入网络流量的响应将通过与传入流量相同的接口发回。
通过避免路由表查找、 Fast Path 可为数据访问提供更短的路由。所有 TCP 和 NFS/UDP 协议都使用快速路径。
默认情况下,存储系统上启用了快速路径;但是,您可以禁用它。

  • 所有 TCP 和 NFS/UDP 协议都使用快速路径。
    注意:快速路径仅用于 NFS/UDP 协议。但是、 Fast Path 不会用于其他基于 UDP 的 NFS 服务(如端口映射器 mountd NLM )。
  • 在 TCP 连接中、连续三次重新传输同一数据包后、 Fast Path 将被禁用。
  • 在数据路径较差的非对称网络中应禁用快速路径。
  • 使用 Fast Path 具有以下优势:
    • 在同一子网上的多个网络接口之间进行负载平衡。
      通过在接收传入请求的存储系统的同一接口上发送响应来实现负载平衡。
      如果在接口组上启用了快速路径且该组中的物理接口收到传入请求、则快速路径不会控制哪个物理接口组成员端口向请求发送响应(这具体与 LACP 或静态多模式接口组相关)。在接口组中、传输数据包时选择的接口是根据配置的负载平衡策略确定的、传入流量是根据相邻交换机在传输流量时如何利用自己的负载平衡策略来选择端口来到达的。

TCP 的路径运行速度有多快?
Data ONTAP 可以在除第一个同步数据包(如果 Data ONTAP 启动连接)之外的每个传输的 TCP 数据包上使用快速路径。用于传输数据包的网络接口与接收最后一个数据包的接口相同。

  • Fast Path 与非对称路由不兼容。
  • 如果在非对称网络中的存储系统上启用了快速路径,则响应数据包的目的 MAC 地址将是转发传入数据包的路由器的目的 MAC 地址。
    • 但是,在非对称网络中、将数据包转发到存储系统的路由器不是转发存储系统发送的数据包的路由器。在这种情况下,请禁用快速路径。

 

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.