IPv6 only configuration
Hi,
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. Kind regards, Ruben |
You will probably have to recompile the kernel to remove IPv4 support completely.
If you decide to do that, make sure you install the new kernel as a separate boot option in addition to the kernel you're currently using. |
Thanks. That was what I though after looking around for two days.
|
Why don't you just block lo using iptables, and open up in ip6tables.
Mike |
All times are GMT -5. The time now is 03:03 PM. |