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

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



Am 17.02.2013 14:36, schrieb Eliezer Croitoru:
> 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.
> 
> 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

This looks correct. The interface does not have an autoconfigured IPv6
address. So the parameter IPV6_AUTOCONF=no has been applied correctly.

Perhaps you are confused by the link local address (Prefix fe80::) which
is always present on an IPv6 enabled interface.

HTH
T.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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