[CentOS] IPV6 auto configuration cannot be disabled from if script.

Fri Feb 22 15:27:53 UTC 2013
Deyan Stoykov <dstoykov at uni-ruse.bg>

On 17.02.2013 г. 17:59 ч., Florian La Roche wrote:
>> I could have written a script to remove IPV6 link local address but
>> there should be a basic option for that.
>
> You can set: echo "options ipv6 disable=1" > /etc/modprobe.d/noipv6.conf
>
> But more and more apps then log problems or get confused if ipv6 is
> completely disabled, so keeping the link local address should be
> "the general case" for most installs.

We use 'net.ipv6.conf.all.disable_ipv6 = 1' which removes link local 
addresses for ipv4-only hosts and still keeps most apps happy.

HTH,
Deyan

-- 
Deyan Stoykov, dstoykov at uni-ruse.bg
Computing and Information Services Center
University of Ruse