Red Hat Bugzilla – Bug 588763
libguestfs should use non-public or link-local addresses for appliance network
Last modified: 2010-05-12 07:49:56 EDT
Description of problem:
When running network commands (eg. using
these can fail if they access a public service on the 10.x.x.x
network. For example, if trying to run 'yum update' and if
yum has been configured to use a yum server or proxy which
is within the local network and therefore has a 10.x.x.x address.
This happens because inside the appliance we use qemu's
userspace network to talk from daemon to host library, and
qemu's userspace network by default is set to use the 10.x.x.x
address space for its own purposes.
Proposed solution is to switch to using link local addresses,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run 'sh "yum -y update"'
Fails if the network command has to access any network
service which resolves to 10.x.x.x address.
Should not fail.