When I execute the command ip address show
my server shows hundreds of IPv6 that I have assigned to it. It works great, however the leading and trailing zeros are omitted from the IP addresses, and are shown like:
3600:3c00:e000:92b::5/64
I need the IP to get shown in the complete form like:
3600:3c00:e000:092b:0000:0005/64
because later I will match the result of ip address show
into a regex to check for addresses from a list and all of them are in the "complete form".
Do you have any idea how I can fix this?