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.

neel
  • 1
  • 1

1 Answers1

0

First, try fixing the typo:

iface inet6 eth0 static

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

iface eth0 inet6 static
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
  • 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 '16 at 06:18