Warning on IPv6 flooding /var/log/messages, Permission denied - ipv6: IPv6 is disabled on this device
search cancel

Warning on IPv6 flooding /var/log/messages, Permission denied - ipv6: IPv6 is disabled on this device

book

Article ID: 379397

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

Using vApp 14.5.1 and seeing the following messages flooding /var/log:

 grep -i ipv6  /var/log/messages

Sep 29 06:22:58 vapp145 NetworkManager[793]: <warn>  [1727608978.3001] ipv6ll[######,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Sep 29 06:23:08 vapp145 NetworkManager[793]: <warn>  [1727608988.3024] platform-linux: do-add-ip6-address[2: #######:c07]: failure 13 (Permission denied - ipv6: IPv6 is disabled on this device)
Sep 29 06:23:08 vapp145 NetworkManager[793]: <warn>  [1727608988.3025] l3cfg[#######,ifindex=2]: unable to configure IPv6 route: type unicast fe80::/64 dev 2 metric 1024 mss 0 rt-src ipv6ll
Sep 29 06:23:10 vapp145 NetworkManager[793]: <warn>  [1727608990.3051] platform-linux: do-add-ip6-address[2: fe80::#######:f75c]: failure 13 (Permission denied - ipv6: IPv6 is disabled on this device)

Environment

vApp 14.5.1

Cause

vApp is dual stack on Jboss/Wildfly as part of the configuration.  We do not force IPv6.  Standalone.sh defaults to Djava.net.preferIPv4Stack=true), and do not enforce IPV6 only. The above was specific to the client IP configurations.

Resolution

Please confirm with your network Administrator below performing the below to confirm use of of IPv4 or IPv6. The below with disable IPv6 for the vApp system.

As the 'config' user,  issue the below commands which will resolve the IPv6 warnings in /var/log/messages.

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1

sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

sudo sysctl -p

sudo systemctl restart NetworkManager

sudo journalctl -n 100 --no-pager