Avoiding EUI64 addresses on Ubuntu 12.04

Bernhard Schmidt berni at birkenwald.de
Wed May 22 16:47:40 CEST 2013


Hi,

> I'm trying to configure an Ubuntu 12.04 Server VM with static IP addresses.
> The config is this:

[...]

> # IPv6 static address
> iface eth0 inet6 static
>          address 2001:610:148:cafe::9
>          netmask 64
>          autoconf 0
>          privext 0

These flags only work in Debian Wheezy (7.0) and, if I read the 
changelogs correctly, in or after Ubuntu 12.10 (quantal).  For Ubuntu 
12.04 you need to use sysctl.

    The static Method
        This method may be used to define interfaces with statically 
assigned IPv6 addresses. By default, stateless autoconfiguration is 
disabled for this interface.

        Options

               address address
                      Address (colon delimited/netmask) required

               netmask mask
                      Netmask (number of bits, eg 64)

               gateway address
                      Default gateway (colon delimited)

               media type
                      Medium type, driver dependent

               hwaddress address
                      Hardware address

               mtu size
                      MTU size

               accept_ra int
                      Accept router advertisements (0=off, 1=on)

               autoconf int
                      Perform stateless autoconfiguration (0=off, 1=on). 
Default value: "0"

               privext int
                      Privacy extensions (RFC3041) (0=off, 1=assign, 
2=prefer)

               scope  Address validity scope. Possible values: global, 
site, link, host

               preferred-lifetime int
                      Time that address remains preferred

Bernhard



More information about the ipv6-ops mailing list