Results 1 to 6 of 6

Thread: libvirt ignores dhcp range in default.xml

Threaded View

  1. #1
    Join Date
    Nov 2007
    Location
    Tampere, Finland
    Beans
    20
    Distro
    Xubuntu 10.04 Lucid Lynx

    Question libvirt ignores dhcp range in default.xml

    I'm trying to change dhcp range in libvirt default network. Idea is to limit dhcp range, since part of addresses are reserved for static ip's.

    First I simply edited /etc/libvirt/qemu/networks/default.xml and run 'service libvirt-bin restart'. No change in dnsmasq. Tried killing dnsmask, and libvirt-bin restart, but dnsmasq was not started at all. Tried rebooting whole machine. No change.

    After it, I tried 'virsh net-edit default'. Editing goes fine, but virsh net-dumpxml shows nothing changed.

    So few questions arise:

    1) who starts dnsmasq, if not libvirs-bin? I cannot find anythign under /etc
    root@sr1:/etc# find . | grep -i dnsmasq
    root@sr1:/etc# find . -type f -print0 | xargs -0 grep -i dnsmasq
    ./insserv.conf:$named +named +dnsmasq +lwresd +bind9 $network

    2) why editing default.xml or virsh net-edit doesn't have any effect?

    3) should I report bug?

    System is ubuntu 10.04, all packets updated at the of writing this.

    Edit: editing /var/lib/libvirt/network/default.xml and rebooting whole machine fixed it for now, but real answers missing
    Last edited by tavasti; January 5th, 2011 at 03:00 PM. Reason: temporary fix

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •