[Bug 1566930] Re: wget does not support IPv6 address with scoped zone (RFC 4007)

Brian Candler 1566930 at bugs.launchpad.net
Fri Nov 18 11:22:51 UTC 2016


Workaround is to use IPv4/NAT networking instead of link-local
IPv6/http_proxy.

1. configure your lxdbr0 network with (private) IPv4 addresses and DHCP
pool in /etc/default/lxd-bridge. Also set LXD_IPV4_NAT="true" and
LXD_IPV6_PROXY="false". Restart.

2. "lxc profile edit default" to no longer use the IPv6 proxy.

name: default
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic

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

Title:
  wget does not support IPv6 address with scoped zone (RFC 4007)

Status in wget package in Ubuntu:
  Confirmed

Bug description:
  IMPACT: wget is not usable in the default configuration for LXD
  containers in Xenial

  Summary: A scoped zone address in the form [<address>%<interface] is
  not supported by wget.  The default network configuration of lxd in
  xenial containers is to use an http_proxy address that is a scoped
  IPv6 address 'http://[fe80::1%eth0]:13128'.

  $ lxc exec test -- wget http://www.google.com
  Error parsing proxy URL http://[fe80::1%eth0]:13128: Invalid IPv6 numeric address.

  Steps to recreate:
   - Install lxd 2.0.0~rc8-0ubuntu5
   - Launch a conatiner (lxc launch ubuntu-daily:xenial test)
   - lxc exec test -- wget 'http://www.google.com'

  These instructions use an LXD environment as an easy way to create a
  test environment with an IPv6 proxy using a scoped address.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1566930/+subscriptions



More information about the foundations-bugs mailing list