Bug 918832

Summary: libvirt should support configurable dhcp option for virtual networks
Product: Red Hat Enterprise Linux 6 Reporter: xingxing <itxx00>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, akong, dyasny, dyuan, jdenemar, mzhan, rwu, whuang, ydu
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 12:52:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xingxing 2013-03-07 03:05:40 UTC
Description of problem:
When configure a isolated network by libvirt, the option of dnsmasq generated by libvirt contains '--dhcp-option=3', but there is no option for us to configure this option,look, I need to set another option '--dhcp-option=6' to disable dnsmasq send default dns server.

Version-Release number of selected component (if applicable):
libvirt-0.10.2-18.el6

How reproducible:
100%

Steps to Reproduce:
1.create a isolated virtual network with virsh net-define or net-create
2. ps ax|grep dnsmasq

  
Actual results:


Expected results:


Additional info:

Comment 1 Amos Kong 2013-03-07 03:16:49 UTC
Kill the dnsmasq manually and execute a new dnsmasq cmdline (with right dncp option), does this works?

You only need a interface in xml to configure the dhcp-option?

Comment 2 Jiri Denemark 2013-03-07 09:09:44 UTC
This is being worked on under bug 637055. See, for example, the following email on libvirt-list: https://www.redhat.com/archives/libvir-list/2013-March/msg00166.html

*** This bug has been marked as a duplicate of bug 637055 ***

Comment 3 xingxing 2013-03-11 05:12:46 UTC
(In reply to comment #1)
> Kill the dnsmasq manually and execute a new dnsmasq cmdline (with right dncp
> option), does this works?
> 
> You only need a interface in xml to configure the dhcp-option?

yes , I need an option to configure dnsmasq with '--dhcp-option=6'

Comment 4 Jiri Denemark 2013-03-14 12:52:25 UTC

*** This bug has been marked as a duplicate of bug 637055 ***