Home > Linux, Windows > Disabling IPv6 Stateless Autoconfiguration

Disabling IPv6 Stateless Autoconfiguration

October 9th, 2010 Leave a comment Go to comments

I have Vyatta setup to send out router advertisements so clients are auto configured with an IPv6 address. This works great for workstations, but I prefer servers to be manually configured. The auto configured address on Linux is built from the MAC address and on Windows it is randomly generated. When assigning a static IPv6 address the auto configured address is still assigned so you end up with two addresses.

On Windows 2008, Vista, 7, and later versions you can disable auto configuration from the command prompt.

First determine the network interface to disable it on

netsh interface ipv6 show interface

Then disable the router discovery

netsh interface ipv6 set interface 10 routerdiscovery=disabled

On Red Hat and CentOS 5 you set the following in /etc/sysconfig/network

IPV6_AUTOCONF=no
Categories: Linux, Windows Tags: , ,
  1. Martijn
    February 28th, 2014 at 14:50 | #1

    Just what I needed. On Windows Server 2008 R2 the autoconfigured address is automatically published in Active Directory’s DNS, next to the static one, which led to a number of intermittent problems with mail delivery, etc. Surprisingly hard to find how to turn this behaviour off. Thanks!

  1. No trackbacks yet.