[Bug 1737976] [NEW] netplan cannot set IPv6 token

Justin Coffman j at ibreakthin.gs
Wed Dec 13 13:37:38 UTC 2017


Public bug reported:

Summary:

netplan contains no configuration entry that allows one to statically
configure the IPv6 host ID (low 64 bits) when autogenerated (DHCPv6
stateless, SLAAC) addressing is used.

This should map to the IPv6Token entry for systemd-networkd (man
systemd.network, [Network] section), and the ipv6.token entry for
NetworkManager (https://developer.gnome.org/NetworkManager/stable
/settings-ipv6.html).

Release and package data:

> lsb_release -rd
Description:    Ubuntu 17.10
Release:        17.10

> apt-cache policy nplan
nplan:
  Installed: 0.30
  Candidate: 0.30
  Version table:
 *** 0.30 500
        500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status

Expected behavior:

/etc/netplan/01-netcfg.yaml

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      dhcp4: yes
      dhcp6: yes
      ipv6-token: '::2'

# netplan generate
# netplan apply

# ip -6 a (truncated)
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic ens3
       valid_lft 85186sec preferred_lft 85186sec
    inet6 fd6d:beaa:e748:4b87::2/64 scope global mngtmpaddr noprefixroute dynamic
       valid_lft 2591803sec preferred_lft 604603sec
    inet6 fe80::a8bb:ccff:fedd:eeff/64 scope link
       valid_lft forever preferred_lft forever

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

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

Title:
  netplan cannot set IPv6 token

Status in nplan package in Ubuntu:
  New

Bug description:
  Summary:

  netplan contains no configuration entry that allows one to statically
  configure the IPv6 host ID (low 64 bits) when autogenerated (DHCPv6
  stateless, SLAAC) addressing is used.

  This should map to the IPv6Token entry for systemd-networkd (man
  systemd.network, [Network] section), and the ipv6.token entry for
  NetworkManager (https://developer.gnome.org/NetworkManager/stable
  /settings-ipv6.html).

  Release and package data:

  > lsb_release -rd
  Description:    Ubuntu 17.10
  Release:        17.10

  > apt-cache policy nplan
  nplan:
    Installed: 0.30
    Candidate: 0.30
    Version table:
   *** 0.30 500
          500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages
          100 /var/lib/dpkg/status

  Expected behavior:

  /etc/netplan/01-netcfg.yaml

  # This file describes the network interfaces available on your system
  # For more information, see netplan(5).
  network:
    version: 2
    renderer: networkd
    ethernets:
      ens3:
        dhcp4: yes
        dhcp6: yes
        ipv6-token: '::2'

  # netplan generate
  # netplan apply

  # ip -6 a (truncated)
  2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff
      inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic ens3
         valid_lft 85186sec preferred_lft 85186sec
      inet6 fd6d:beaa:e748:4b87::2/64 scope global mngtmpaddr noprefixroute dynamic
         valid_lft 2591803sec preferred_lft 604603sec
      inet6 fe80::a8bb:ccff:fedd:eeff/64 scope link
         valid_lft forever preferred_lft forever

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



More information about the foundations-bugs mailing list