[Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined

Launchpad Bug Tracker 1715319 at bugs.launchpad.net
Fri May 18 13:44:26 UTC 2018


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: isc-dhcp (Ubuntu)
       Status: New => Confirmed

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

Title:
  [IPV6] DHCP client gets 128 subnet mask instead of any other that
  defined

Status in isc-dhcp package in Ubuntu:
  Confirmed

Bug description:
  After configuring DHCP server (with and without RADVD), the client
  gets ipv6 address in range that was defined, or preserved. But the
  subnetmask of the address is 128 no matter what was the definition.

  Steps to reproduce

  1.Install packages:
  #apt-get install -y *dhcp*
  #apt-get install radvd

  2.Define DHCP and RADVD files:

  #vim /etc/dhcp/dhcpd6.conf
  authoritative;
  default-lease-time 600;
  max-lease-time 7200;
  log-facility local7;
  subnet6 aaaa::/64 {
  option dhcp6.name-servers aaaa::cccc;
  range6 aaaa::1 aaaa::100;
  }

  #vim /etc/radvd.conf
  interface enp5s0f0
  {
  AdvSendAdvert on;
  MinRtrAdvInterval 3;
  MaxRtrAdvInterval 10;
  prefix aaaa::/64 {
  AdvOnLink on;
  AdvAutonomous on;
  AdvRouterAddr on;
  };
  };

  
  3.
  # sysctl net.ipv6.conf.ens3.forwarding
  net.ipv6.conf.ens3.forwarding = 1

  4.Create empty server data base file and bring up DHCP server:
  #echo "" >  /tmp/dhcp6.lease
  # dhcpd -6 -cf /etc/dhcp/dhcpd6.conf -lf /tmp/dhcpd6.leases enp5s0f0

  5.Define client interface in /etc/network/interfaces file:
  #vim  /etc/network/interfaces
  auto enp6s0f0
  iface enp6s0f0 inet6 dhcp

  6.Start client and check the ip:
  #ifdown 
  #ifup
  #ifconfig enp6s0f0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1715319/+subscriptions



More information about the foundations-bugs mailing list