Activity log for bug #1013597

Date Who What changed Old value New value Message
2012-06-15 10:22:52 Juha Aatrokoski bug added bug
2012-06-15 10:33:00 Juha Aatrokoski description The default route cannot be provided via DHCPv6, it must be obtained from router advertisements. However, when using the dhcp method for inet6 in /etc/network/interfaces (e.g. "iface eth0 inet6 dhcp"), ifup will set net.ipv6.conf.<IFACE>.accept_ra=0, resulting in no default route for IPv6. Instead, it should explicitly set accept_ra=1. A workaround is to set it in a post-up script. However, Linux apparently only sends router solicitations when the interface is brought up, so if unsolicited RA:s are infrequent the host will be without a default route until the next RA. This can be worked around by "blinking" the interface down-up. Another problem is that when bringing the interface down on dual-stack hosts, there will be a long timeout. This is because bringing down IPv4 also brings the interface link down, and afterwards dhclient cannot release the DHCPv6 lease due to the link being down ("RTNETLINK answers: Cannot assign requested address"). The workaround is to bring the link back up before bringing IPv6 down. So the workarounds (which obviously should not be needed) for a dual-stack dhcp client look like this: iface eth0 inet dhcp iface eth0 inet6 dhcp up sysctl net.ipv6.conf.$IFACE.accept_ra=1 up ip link set dev $IFACE down up ip link set dev $IFACE up pre-down ip link set dev $IFACE up The default route cannot be provided via DHCPv6, it must be obtained from router advertisements. However, when using the dhcp method for inet6 in /etc/network/interfaces (e.g. "iface eth0 inet6 dhcp"), ifup will set net.ipv6.conf.<IFACE>.accept_ra=0, resulting in no default route for IPv6. Instead, it should explicitly set accept_ra=1. A workaround is to set it in a post-up script. However, Linux apparently only sends router solicitations when the interface is brought up, so if unsolicited RA:s are infrequent the host will be without a default route until the next RA. Another problem is that when bringing the interface down on dual-stack hosts, there will be a long timeout. This is because bringing down IPv4 also brings the interface link down, and afterwards dhclient cannot release the DHCPv6 lease due to the link being down ("RTNETLINK answers: Cannot assign requested address"). The workaround is to bring the link back up before bringing IPv6 down. So the workarounds (which obviously should not be needed) for a dual-stack dhcp client look like this: iface eth0 inet dhcp iface eth0 inet6 dhcp     up sysctl net.ipv6.conf.$IFACE.accept_ra=1     pre-down ip link set dev $IFACE up
2012-06-28 18:30:43 Stéphane Graber ifupdown (Ubuntu): status New Fix Committed
2012-06-28 18:30:48 Stéphane Graber ifupdown (Ubuntu): importance Undecided Medium
2012-06-28 20:14:35 Stéphane Graber ifupdown (Ubuntu): assignee Stéphane Graber (stgraber)
2012-07-03 16:19:11 Launchpad Janitor ifupdown (Ubuntu): status Fix Committed Fix Released
2012-09-21 19:57:53 Thomas bug added subscriber Thomas C.
2012-10-23 07:50:24 Stéphane Graber nominated for series Ubuntu Precise
2012-10-23 07:50:24 Stéphane Graber bug task added ifupdown (Ubuntu Precise)
2012-10-23 07:50:36 Stéphane Graber ifupdown (Ubuntu Precise): status New Triaged
2012-10-23 07:50:39 Stéphane Graber ifupdown (Ubuntu Precise): importance Undecided Low
2012-10-23 07:50:43 Stéphane Graber ifupdown (Ubuntu Precise): assignee Stéphane Graber (stgraber)
2012-10-23 19:37:43 David Burns bug added subscriber David Burns
2012-12-11 21:04:32 Launchpad Janitor branch linked lp:ubuntu/ifupdown
2013-08-18 08:40:11 Juri Haberland bug added subscriber Juri Haberland
2013-09-02 20:41:17 Peter Silva bug added subscriber Peter Silva
2014-01-24 22:19:54 Thiago Martins bug added subscriber Thiago Martins
2014-01-27 12:06:28 Nikolay Bryskin bug added subscriber Nikolay Bryskin
2015-08-27 11:38:06 Kees B bug added subscriber Kees B
2015-10-05 15:43:05 Corin Langosch bug added subscriber Corin Langosch
2015-11-09 19:42:39 Stéphane Graber ifupdown (Ubuntu Precise): assignee Stéphane Graber (stgraber)
2015-11-09 19:42:41 Stéphane Graber ifupdown (Ubuntu): assignee Stéphane Graber (stgraber)
2016-09-24 11:28:59 Dan Streetman bug added subscriber Dan Streetman
2016-09-24 11:44:54 Dan Streetman ifupdown (Ubuntu): assignee Dan Streetman (ddstreet)
2016-09-24 11:44:56 Dan Streetman ifupdown (Ubuntu Precise): assignee Dan Streetman (ddstreet)
2019-04-04 12:24:54 Dan Streetman ifupdown (Ubuntu): assignee Dan Streetman (ddstreet)
2019-04-04 12:24:56 Dan Streetman ifupdown (Ubuntu Precise): assignee Dan Streetman (ddstreet)
2019-05-25 14:30:00 Dan Streetman ifupdown (Ubuntu Precise): status Triaged Won't Fix
2019-05-25 14:30:08 Dan Streetman removed subscriber Dan Streetman