[Bug 1004320] [NEW] "inet6 static" does not get brought up on boot

Philipp Wollermann philipp.wollermann at gmail.com
Fri May 25 06:06:25 UTC 2012


Public bug reported:

Ubuntu 12.04 LTS amd64
ifupdown 0.7~beta2ubuntu8

I want to configure eth1 with a static IPv6 address using
/etc/network/interfaces. My config looks like this:

auto eth1
iface eth1 inet6 static
	address fd00:c:a::1
	netmask 64
	privext 0
	accept_ra 0

(I know that fd00:c:a:: is not pseudo-random according to the RFC, but
this network is strictly used for temporary internal testing. :))

After booting, eth1 is "UP", but the static address didn't get assigned,
just a link-local one:

root at phil1:~# ip addr show
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether d4:ae:52:89:95:2b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::d6ae:52ff:fe89:952b/64 scope link 
       valid_lft forever preferred_lft forever

When I do "ifup -a", nothing happens, when I run "ifup eth1", it says
"interface eth1 already configured". When I do "ifdown eth1; ifup -a",
the interface gets configured correctly!

Specifying an IPv4 address in addition using a standard "iface eth1 inet
static" block doesn't help. In that case, the static IPv4 address gets
configured correctly on boot, but the IPv6 address still isn't applied.

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  "inet6 static" does not get brought up on boot

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  Ubuntu 12.04 LTS amd64
  ifupdown 0.7~beta2ubuntu8

  I want to configure eth1 with a static IPv6 address using
  /etc/network/interfaces. My config looks like this:

  auto eth1
  iface eth1 inet6 static
  	address fd00:c:a::1
  	netmask 64
  	privext 0
  	accept_ra 0

  (I know that fd00:c:a:: is not pseudo-random according to the RFC, but
  this network is strictly used for temporary internal testing. :))

  After booting, eth1 is "UP", but the static address didn't get
  assigned, just a link-local one:

  root at phil1:~# ip addr show
  3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
      link/ether d4:ae:52:89:95:2b brd ff:ff:ff:ff:ff:ff
      inet6 fe80::d6ae:52ff:fe89:952b/64 scope link 
         valid_lft forever preferred_lft forever

  When I do "ifup -a", nothing happens, when I run "ifup eth1", it says
  "interface eth1 already configured". When I do "ifdown eth1; ifup -a",
  the interface gets configured correctly!

  Specifying an IPv4 address in addition using a standard "iface eth1
  inet static" block doesn't help. In that case, the static IPv4 address
  gets configured correctly on boot, but the IPv6 address still isn't
  applied.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1004320/+subscriptions




More information about the foundations-bugs mailing list