From 70736a133f5fa1e7a405fdd62233c9020975dd0d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 29 Nov 2025 10:21:46 +0100 Subject: [PATCH] docs: for custom dicts, mention IPv4 should be mapped to IPv6 --- console/data/docs/02-configuration.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/console/data/docs/02-configuration.md b/console/data/docs/02-configuration.md index f1c8ece8..63b1b3d3 100644 --- a/console/data/docs/02-configuration.md +++ b/console/data/docs/02-configuration.md @@ -724,11 +724,14 @@ addr,role 2001:db8::1,ExampleRole ``` -If `SrcAddr` has the value `2001:db8::1` (matches the key), the dimension -`SrcAddrIPRole` will be set to `ExampleRole`. +> [!NOTE] +> For IPv4 addresses, you need to use `::ffff:a.b.c.d`. Internally, Akvorado +> uses only IPv6 addresses. -Independently, if `DstAddr` has the value `2001:db8::1`, the dimension -`DstAddrIPRole` will be set to `ExampleRole`. +If `SrcAddr` has the value `2001:db8::1` (matches the key), the dimension +`SrcAddrIPRole` will be set to `ExampleRole`. Independently, if `DstAddr` has +the value `2001:db8::1`, the dimension `DstAddrIPRole` will be set to +`ExampleRole`. All other IPs will get "DefaultRole" in their `SrcAddrIPRole`/`DstAddrIPRole` dimension.