[Touch-packages] [Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined
** Changed in: isc-dhcp (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Invalid 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 ::/64 { option dhcp6.name-servers ::; range6 ::1 ::100; } #vim /etc/radvd.conf interface enp5s0f0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix ::/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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined
Seems that AdvManagedFlag & AdvOtherConfigFlag on radvd.conf should do the trick. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 ::/64 { option dhcp6.name-servers ::; range6 ::1 ::100; } #vim /etc/radvd.conf interface enp5s0f0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix ::/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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined
Not sure if this is really a bug, probably works as intended; Same behaviour with wide-dhcpv6-server. my reason to use dhcp for ipv6 is to update dns zones and provide dns config to clients. With client using autoconfig it gets ips from the range advertised on the router advertisement with /64 mask, no dhcp address is requested, dns server got from ipv4 dhcp (ipv6 dns is also advertised on the ra though) and dns search domain from both ipv6 & ipv4. with dhcpclient the client gets a /128, no dns and no default route, seems that this is the expected behaviour: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1609898 Looking for documentation shows some sources that allow configure prefix length for range statement i.e : https://linux.die.net/man/5/dhcp6s.conf Probably network manager's ipv6.method auto should involve dhcp if available Regards. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 ::/64 { option dhcp6.name-servers ::; range6 ::1 ::100; } #vim /etc/radvd.conf interface enp5s0f0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix ::/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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined
Hi, also occurs with xenial 4.3.3-5ubuntu12.10 and sid 4.3.5-4+b1, on both AMD64 & armhf architectures. Regards. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 ::/64 { option dhcp6.name-servers ::; range6 ::1 ::100; } #vim /etc/radvd.conf interface enp5s0f0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix ::/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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1715319] Re: [IPV6] DHCP client gets 128 subnet mask instead of any other that defined
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 Touch seeded packages, 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 ::/64 { option dhcp6.name-servers ::; range6 ::1 ::100; } #vim /etc/radvd.conf interface enp5s0f0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix ::/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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp