Citrix Systems 9.2 Benutzerhandbuch

Seite von 302
Chapter 8        Advanced Expressions: IP and MAC Addresses, Throughput, VLAN IDs
153
You can specify a GET operation to extract segments of IPv6 addresses and URL 
paths and apply numeric operations on these segments. Note that with IPv6 
addresses, the GET operation returns numbers. This is different from operations 
on the entire IPv6 address, which return text.
Operations for IPV6 Prefixes
The following table describes operations on IPv6 IP addresses:
SERVER.IPV6.DST
Returns the IPv6 address in the destination field of the 
IP header. 
SERVER.IPV6.SRC
Returns the IPv6 address in the source field of the IP 
header. Following are examples:
server.ipv6.src.in_subnet(2007::2008/64)
server.ipv6.src.get1.le(2008)
Operations That Evaluate IPv6 Addresses
IPv6 Operation
Description
ipv6.EQ(IPv6_address
 
)
Returns a Boolean TRUE if the IP address value is 
same as the 
IPv6_address
 argument. 
Following is an example:
client.ipv6.dst.eq(ABCD:1234::ABCD)
ipv6.GET1. . .GET8
Evaluates a segment of an IPv6 address.
For example, if the 
ipv6
 address is 
1000:1001:CD10:0000:0000:89AB:4567:CDEF, 
the following values can be returned:
• client.ipv6.dst.get5 extracts 0000, 
which is the fifth set of bits in the address.
• client.ipv6.dst.get6 extracts 89AB.
• client.ipv6.dst.get7 extracts 4567.
ipv6.IN_SUBNET(subnet)
Returns a Boolean TRUE if the IPv6 address value 
is in the subnet specified by the ip subnet 
argument.
Following is an example:
client.ipv6.dst.eq(1000:1001:CD10:000
0:0000:89AB:4567:CDEF/60)
ipv6.IS_IPV4
Returns a Boolean TRUE if this is an IPv4 client, 
and returns a Boolean FALSE if it is not. 
IPv6 Expression Prefixes that Return Text
Prefix
Description