IPv6 only configuration
I am running an application that can work in both environments, IPv4 and IPv6. What I want to test is that if it works in an IPv6 environment only, so I need to deactivate the IPv4. I think I made it works with the eth0 interface but I cant manage to do the same with the loopback interface. Each time I restart the network adapters the lo IP address cames back even after removing the IPv4 value from the ifcfg-lo and adding the IPv6 one. What I finally try after going around is to remove the IPv4 address manually after restarting the network adapters. It worked but when I run my application, it can still create IPv4 sockets.
I run out of ideas so any help will be helpfull.