Chapter 8 Advanced Expressions: IP and MAC Addresses, Throughput, VLAN IDs 151
About IPv6 Expressions

IP addresses that are formatted for Internet Protocol version 6 (IPv6) enable more

flexibility when assigning addresses than the older IPv4 format. An IPv6 address

in a URL has a different appearance from a traditional URL. The following is an

example of an IPv6 URL:

ip address.GET1. . .GET4 Returns a portion of an IP address as a numeric
value. For example, if the IP address value is
10.100.200.1, the following is returned:
client.ip.src.get1 Returns 10
client.ip.src.get2 returns 100
client.ip.src.get3 returns 200
ip
address.IN_SUBNET(subnet)Returns a Boolean TRUE if the subnet argument
matches the subnet of the IP address value. For
example, the following determines whether the
client's destination IP address subnet is
10.100.10.100/18:
client.ip.dst.eq(10.100.10.100/18)
ip address.SUBNET(n)Returns the IP address after applying the subnet
mask specified as the argument. The subnet mask
can take values between 0 and 32.
For example:
CLIENT.IP.SRC.SUBNET(24) will return
192.168.1.0 if the IP address represented by the
prefix is 192.168.1.[0-255].
ip address.IS_IPV6 Returns a Boolean TRUE if this is an Internet
Protocol version 6 (IPv6) host for the client or
server. Following is an example:
client.ip.src.is_ipv6
ip
address.MATCHES("hostname") Returns a Boolean TRUE if the IP address for the
host specified in hostname matches the current IP
address. The hostname cannot exceed 255
characters.
ip
address.MATCHES_LOCATION(lo
cation)
Returns a Boolean TRUE if the location of the IP
address matches the location argument. The
Location string can take the following form:
qual1.qual2.qual3.qual4.qual5.qual6,
for example: NorthAmeria.CA.*
Following is an example:
client.ip.src.matches_location(\"Euro
pe.GB.17.London.*.*\")

Operations on IPV4 Addresses

Prefix Description