Re: IPV6 auto configuration cannot be disabled from if script.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/17/2013 08:36 AM, Eliezer Croitoru wrote:
> I want to configure IPV6 on the system and not use some auto ipv6 config.
> I have tried to use IPV6_AUTOCONF=no in interface script dose not affect
> anything.

If you want to turn off IPv6 for all interfaces, make the needed changes 
to /etc/sysconfig/network as well.

>
> ifcfg-eth0:
> GATEWAY=192.168.1.254
> IPV6INIT=no
> IPV6_AUTOCONF=no
> BROADCAST=192.168.1.255
> BOOTPROTO=none
> NAME=""
> NM_CONTROLLED=yes
> MACADDR=""
> TYPE=Ethernet
> DEVICE=eth0
> NETMASK=255.255.255.0
> MTU="1500"
> IPADDR=192.168.11.1
> NETWORK=192.168.11.0
> ONBOOT=yes
>
> The above file should have resulted an interface with only inet address
> but the result is:
> eth0      Link encap:Ethernet  HWaddr XX
>             inet addr:192.168.11.1  Bcast:192.168.1.255  Mask:255.255.255.0
>             inet6 addr: fe80::7271:bcff:febd:c46b/64 Scope:Link
>             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>             RX packets:24452216 errors:0 dropped:0 overruns:0 frame:0
>             TX packets:38068314 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:1000
>             RX bytes:6777513704 (6.3 GiB)  TX bytes:21817051849 (20.3 GiB)
>             Interrupt:29 Base address:0xc000
>
> Thanks,
> Eliezer Croitoru
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux