Public bug reported:

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

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to