0

I want to disable autoconf of IPv6 for which I am making entries in /etc/network/intefaces file as below. Before making this changes I use "ifdown eth0"

iface eth0 inet6 static
address <ipv6_address>
netmask 64
autoconf 0

After this I use "ifup eth0". But, still I am getting IPv6 global address based on MAC address.

3
  • What distro you run? Jan 26, 2016 at 2:49
  • linux version 2.6
    – neel
    Jan 28, 2016 at 18:01
  • The question is about OS, such as Debian, CentOS, so on. Jan 29, 2016 at 20:11

1 Answer 1

0

First, try fixing the typo:

iface inet6 eth0 static

The second and third parameters are reversed. This should read:

iface eth0 inet6 static
1
  • I have done that already. According to man page of /etc/network/intrerfaces, if inet6 static is there, it will disable autoconf. But, I am getting global IPv6 address based on MAC which indicates autoconf is enable. So to disable it, I have tried this. But, still I am getting global address based on MAC.
    – neel
    Jan 23, 2016 at 6:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .