[CentOS] Centos 6 - disabling IPv6 addressing

Mon Mar 9 19:59:50 UTC 2015
Robert Moskowitz <rgm at htt-consult.com>


On 03/09/2015 03:24 PM, Peter wrote:
>> On 03/09/2015 01:15 AM, Chris Stone wrote:
>>> sysctl -w net.ipv6.conf.all.accept_ra=0
> On 03/10/2015 06:52 AM, Robert Moskowitz wrote:
>> No change after running this and trying both:
>>
>> system network restart
> it's: service network restart

Typo.  My dsyelxia at work again.

>
> Try also setting these in sysctl:
>
> net.ipv6.conf.all.disable_ipv6=1
> net.ipv6.conf.default.disable_ipv6=1
> net.ipv6.conf.eth0.disable_ipv6=1

error: "net.ipv6.conf.eth0.disable_ipv6" is an unknown key

> and then run: service network restart

And no more IPv6.  Now to document this so I can reverse it when the 
time comes!

thanks

>
>
> Peter
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>