Avoiding EUI64 addresses on Ubuntu 12.04

Dick Visser visser at terena.org
Wed May 22 15:41:50 CEST 2013


Hi

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


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.87.38.9
        netmask 255.255.255.192
        gateway 192.87.38.1

# IPv6 static address
iface eth0 inet6 static
        address 2001:610:148:cafe::9
        netmask 64
        autoconf 0
        privext 0
        dns-search terena.org
        dns-domain terena.org
        dns-nameservers 2001:610:1:800a:192:87:106:106
2001:610:188:140:145:100:188:188


Because there is a bug in network-manager, I also set this in
/etc/sysctl.d/10-ipv6-privacy.conf:

net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0

After rebooting I still have the EUI64 address:


eth0      Link encap:Ethernet  HWaddr 00:50:56:86:00:0f
          inet addr:192.87.38.9  Bcast:192.87.38.63  Mask:255.255.255.192
          inet6 addr: 2001:610:148:cafe:250:56ff:fe86:f/64 Scope:Global
          inet6 addr: fe80::250:56ff:fe86:f/64 Scope:Link
          inet6 addr: 2001:610:148:cafe::9/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:477 errors:0 dropped:0 overruns:0 frame:0
          TX packets:474 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:90380 (90.3 KB)  TX bytes:76199 (76.1 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16746 (16.7 KB)  TX bytes:16746 (16.7 KB)


Any idea how to get rid of it?
This is a server, and I don't want privacy/security extensions, just
the manually configured address.


Thanks!!!



-- 
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands



More information about the ipv6-ops mailing list