Bug ID 598860: IP::addr iRule with an IPv6 address and netmask fails to return an IPv4 address

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
11.6.0, 11.6.1, 11.6.2, 11.6.3,,,,, 11.6.4, 11.6.5, 12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2, 12.1.0, 12.1.1

Fixed In:
13.0.0, 12.1.2,, 11.5.4 HF3

Opened: Jun 13, 2016

Severity: 4-Minor


The IP::addr iRule can be used to translate an IPv6 address containing an IPv4 address, but instead it converts it into an IPv4 compatible IPv6 address. Example: ltm rule test_bug { when CLIENT_DATA { log local0. "[IP::addr 2A01:CB09:8000:46F5::A38:1 mask ::ffff:ffff]" } Expected result: Rule /Common/test_bug <CLIENT_DATA>: Actual result: Rule /Common/test_bug <CLIENT_DATA>: ::


Address is converted into an IPv4-compatible IPv6 address.


using IP::addr to convert an IPv6 to an IPv4 address



Fix Information


Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips