[Pkg-libvirt-maintainers] Bug#606066: Bug#606066: closed by Guido Günther <agx at sigxcpu.org> (Re: Bug#606066: libvirt0: fails to define default network)

Ian Allison iana.pims at gmail.com
Fri Dec 10 05:42:48 UTC 2010


Hi,

On Wed, Dec 8, 2010 at 12:12 AM, Guido Günther <agx at sigxcpu.org> wrote:

> On Tue, Dec 07, 2010 at 10:03:34PM -0800, Ian Allison wrote:
> > $ virsh net-start default
> >   error: failed to get network 'default'
> >   error: Unknown failure
> What URI are you using? You need to try
>
>        virsh -c qemu:///system net-start default
>
>
This looks like it works


$ virsh -c qemu:///system net-start default
  Network default started

$ virsh -c qemu:///system net-list --all
  Name                 State      Autostart
  ------------------------------
-----------
  default              active     no


$ cat /etc/libvirt/qemu/networks/default.xml
  <network>
    <name>default</name>
    <bridge name="virbr0" />
    <forward/>
    <ip address="192.168.122.1" netmask="255.255.255.0">
      <dhcp>
        <range start="192.168.122.2" end="192.168.122.254" />
      </dhcp>
    </ip>
  </network>

There is nothing in /etc/libvirt/qemu/networks/autostart. I'm not sure why I
need to specify the URI I'm used to redhat - but that's my problem.

Thanks so much for your help.

Cheers,
Ian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20101209/cfc2865c/attachment.htm>


More information about the Pkg-libvirt-maintainers mailing list