This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
为后端通信配置源 IP 持久性
默认情况下,对于禁用了 USIP 选项并绑定到虚拟服务器或服务或服务组的网络配置文件的负载平衡配置,Citrix ADC 设备使用轮询算法从网络配置文件中选择一个 IP 地址,以便与服务器进行通信。由于这种选择方法,所选的 IP 地址对于特定客户端的不同会话可能会有所不同。
某些情况下要求 Citrix ADC 设备在将流量发送到服务器时从同一 IP 地址发送特定客户端的所有流量。例如,服务器可以识别属于特定集的流量,以便进行日志记录和监控。
通过网络配置文件的源 IP 持久性选项,Citrix ADC 设备可以使用网络配置文件中指定的相同地址,与服务器通信从特定客户端到虚拟服务器的所有会话。
使用 CLI 在网络配置文件中启用源 IP 持久性
要在添加网络配置文件时启用源 IP 持久性,请在命令提示符下键入:
add netProfile <name> -srcippersistency ( ENABLED | DISABLED )
show netprofile <name>
若要在现有网络配置文件中启用源 IP 持久性,请在命令提示符下键入:
set netProfile <name> -srcippersistency ( ENABLED | DISABLED )
show netprofile <name>
使用 GUI 在网络配置文件中启用源 IP 持久性
-
导航到系统 > 网络 > 网络配置文件。
-
在添加或修改网络配置文件时,选择 源 IP 持久性 。
示例
在以下示例配置中,网络配置文件网络配置文件 IPPRSTNCY-1 已启用源 IP 持久性选项,并绑定到负载平衡虚拟服务器 LBVS-1。
对于从特定客户端到虚拟服务器启动的所有会话,Citrix ADC 设备始终使用相同的 IP 地址(在本示例中为 192.0.2.11)与绑定到 LBVS-1 的服务器进行通信。
```
> add ipset IPSET-1
完成
> bind ipset IPSET-1 192.0.2.[11-15]
IPAddress "192.0.2.11" bound
IPAddress "192.0.2.12" bound
IPAddress "192.0.2.13" bound
IPAddress "192.0.2.14" bound
IPAddress "192.0.2.15" bound
完成
> add netprofile NETPROFILE-IPPRSTNCY-1 -srcIp IPSET-1 -srcippersistency ENABLED
完成
> set lb vserver LBVS-1 -netprofile NETPROFILE-IPPRSTNCY-1
完成
```
分享:
分享:
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.