Disabling IPv6 Stateless Autoconfiguration
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 |
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!