In /etc/sysctl.conf, add the one line (per ethernet device) net.ipv6.conf.eth0.autoconf = 0
On Wed, 2013-05-22 at 15:41 +0200, Dick Visser wrote: > 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!!! > > > -- . . ___. .__ Posix Systems - (South) Africa /| /| / /__ [email protected] - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
smime.p7s
Description: S/MIME cryptographic signature
