This indeed was a case of RTFM.

However, according to the default /etc/network/interfaces:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

But interfaces(5) does not tell you the whole story.
The part about DNS resolution sits in resolvconf(8).

So in the end my configuration looks like this:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.87.30.54
        netmask 255.255.255.192
        gateway 192.87.30.1

# This is an autoconfigured IPv6 interface
iface eth0 inet6 static
        autoconf 0
        address 2001:610:148:dead::54
        gateway 2001:610:148:dead::1
        netmask 64
        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


And this works as expected, i.e. static addresses and no automatic fluff for my 
servers:

root@precise:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:86:00:24
          inet addr:192.87.30.54  Bcast:192.87.30.63  Mask:255.255.255.192
          inet6 addr: 2001:610:148:dead::54/64 Scope:Global
          inet6 addr: fe80::250:56ff:fe86:24/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1848 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:180870 (180.8 KB)  TX bytes:387716 (387.7 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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1272 (1.2 KB)  TX bytes:1272 (1.2 KB)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/978037

Title:
  Impossible to configure static IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/978037/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to