Citrix Systems 9.2 Manuel D’Utilisation
150
Citrix NetScaler Policy Configuration and Reference Guide
Note:
As the preceding example shows, if you configure an advanced
expression on the command line, you must escape the quotation marks. For more
information, see
information, see
Prefixes for IPV4 Addresses and IP Subnets
The following table describes prefixes that return IPv4 addresses and subnets and
segments of the addresses.
segments of the addresses.
You can apply the IP address-specific operations to this prefix, as described in
this chapter. You can also apply numeric operations. For more information on
numeric operations, see
this chapter. You can also apply numeric operations. For more information on
numeric operations, see
.
Operations for IPV4 Addresses
An IPv4 address is a traditional format that uses four numeric values that are
separated by periods, for example, nn.nnn.nn.nnn.
separated by periods, for example, nn.nnn.nn.nnn.
The following table describes operations on IP addresses.
Prefixes That Evaluate IP and MAC Addresses
Prefix
Description
CLIENT.IP.SRC
Returns the source IP of the current packet as an IP
address or as a number.
address or as a number.
CLIENT.IP.DST
Returns the destination IP of the current packet as
an IP address or as a number.
an IP address or as a number.
SERVER.IP.SRC
Returns the source IP of the current packet as an IP
address or as a number.
address or as a number.
SERVER.IP.DST
Returns the destination IP of the current packet as
an IP address or as a number.
an IP address or as a number.
Operations on IPV4 Addresses
Prefix
Description
ip address.EQ(address)
Returns a Boolean TRUE if the IP address value is
same as the address argument. The following
example checks whether the client's destination IP
address is equal to 10.100.10.100:
same as the address argument. The following
example checks whether the client's destination IP
address is equal to 10.100.10.100:
client.ip.dst.eq(10.100.10.100)