[CentOS] How to disable ipv6

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Nov 28 18:37:43 UTC 2012


Charles Bearden wrote:
> Hi all,
>
> I'm pretty new to CentOS. I am working with a newly set-up server:
>
> [cbearden at host ~]$ lsb_release -a
> LSB Version:
> :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
> Distributor ID:	CentOS
> Description:	CentOS release 6.3 (Final)
> Release:	6.3
> Codename:	Final
>
> I'm trying to solve this problem (X11 forwarding)
>    http://thread.gmane.org/gmane.linux.centos.general/119342/focus=119347
> for myself.
>
> But disabling ipv6 and adding
>
>    AddressFamily inet
>
> to my sshd config didn't fix the problem. Oddly enough, the output of
>
>    netstat -an
>
> suggests that ipv6 is still enabled:
<snip>

What's it saw about V6INIT in
/etc/sysconfig/network-scripts/ifcfg-<whatever>?

     mark




More information about the CentOS mailing list