Package: ifupdown Version: 0.8.35 Severity: important Tags: ipv6 Dear Maintainer,
My ISP (Spectrum in the US) no longer support SLAAC for IPv6 autoconfiguration. Instead, DHCPv6 is required. However, a configuration stanza like: iface eth1 inet6 dhcp accept_ra 0 autoconf 0 request_prefix 1 Will return a Prefix Deletgation (PD) but not an Interface Address (IN). The generated dhclient command line was: /sbin/dhclient -6 -v -pf /run/dhclient6.eth1.pid -lf /var/lib/dhcp/dhclient6.eth1.leases -I -P -N -df /var/lib/dhcp/dhclient.eth1.leases eth1 Adding the -R command line flag resolves the issue, but I could not find a way to add this via the /etc/interfaces file (I tried adding `dhcp 1` but that had no effect). Running the command above with the -R flag correctly configures the prefix delegation and the WAN interface. It did not add a default route correctly, but that was probably because I did it manually. Using `rdisc6` and adding it manually via `ip -6 route add default via` worked. I think the problem can be resolved by having a flag which will add the '-R' flag to require all DHCPv6 components to get a response, as the ISP's server seems to require multiple queries to get the PD and IN responses. I can provide logs of both with and without the `-R` flag if that will help. -Carl -- Package-specific info: --- /etc/network/interfaces: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth1 eth2 he-ipv6 vlan1 vlan2 vlan3 vlan4 vlan5 vlan6 vlan7 iface lo inet loopback # The primary network interface iface eth1 inet dhcp # This is an autoconfigured IPv6 interface iface eth1 inet6 dhcp accept_ra 0 autoconf 0 request_prefix 1 #post-up ip addr add 192.168.100.2/24 dev eth1 #pre-down ip addr del 192.168.100.2/24 dev eth1 iface he-ipv6 inet6 v4tunnel endpoint 184.105.253.10 address 2001:470:1f0e:296::2 netmask 64 ttl 64 post-up ip -6 route flush table he post-up ip -6 route add default via 2001:470:1f0e:296::1 table he post-up ip -6 rule add priority 15001 from 2001:470:1f0f:296::/64 to 2000::/3 table he post-up ip -6 rule add priority 15002 from 2001:470:b8b2::/48 to 2000::/3 table he # Internal network interface iface eth2 inet manual iface vlan1 inet static address 192.168.123.1 netmask 255.255.255.0 vlan-raw-device eth2 dns-nameservers 192.168.123.4 iface vlan1 inet6 manual accept_ra 0 privext 0 dhcp 0 iface vlan2 inet static address 192.168.255.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan2 inet6 static address 2001:470:b8b2:2::1 netmask 64 accept_ra 0 privext 0 iface vlan3 inet static address 192.168.203.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan3 inet6 static address 2001:470:b8b2:3::1 netmask 64 accept_ra 0 privext 0 iface vlan4 inet static address 192.168.204.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan4 inet6 static address 2001:470:b8b2:4::1 netmask 64 accept_ra 0 privext 0 iface vlan5 inet static address 192.168.205.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan5 inet6 static address 2001:470:b8b2:5::1 netmask 64 accept_ra 0 privext 0 iface vlan6 inet static address 192.168.206.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan6 inet6 static address 2001:470:b8b2:6::1 netmask 64 accept_ra 0 privext 0 iface vlan7 inet static address 192.168.207.1 netmask 255.255.255.0 vlan-raw-device eth2 iface vlan7 inet6 static address 2001:470:b8b2:7::1 netmask 64 accept_ra 0 privext 0 --- up and down scripts installed: /etc/network/if-down.d: total 8 -rwxr-xr-x 1 root root 372 Dec 1 2014 openvpn -rwxr-xr-x 1 root root 800 May 21 2017 postfix lrwxrwxrwx 1 root root 33 Nov 3 2018 wide-dhcpv6-client -> ../../wide-dhcpv6/dhcp6c-ifupdown /etc/network/if-post-down.d: total 4 -rwxr-xr-x 1 root root 1433 Feb 4 2019 vlan /etc/network/if-pre-up.d: total 8 -rwxr-xr-x 1 root root 4224 Feb 21 2019 vlan /etc/network/if-up.d: total 20 -rwxr-xr-x 1 root root 677 Feb 4 2019 ip -rwxr-xr-x 1 root root 4948 Feb 3 2019 mountnfs -rwxr-xr-x 1 root root 385 Nov 12 2015 openvpn -rwxr-xr-x 1 root root 1117 May 21 2017 postfix lrwxrwxrwx 1 root root 33 Nov 3 2018 wide-dhcpv6-client -> ../../wide-dhcpv6/dhcp6c-ifupdown -- System Information: Debian Release: 10.5 APT prefers stable APT policy: (1000, 'stable'), (995, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ifupdown depends on: ii adduser 3.118 ii iproute2 4.20.0-2 ii libc6 2.28-10 ii lsb-base 10.2019051400 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.4.1-2 Versions of packages ifupdown suggests: pn ppp <none> pn rdnssd <none> -- no debconf information