Bug 1470229 - [Feature Request] Add keyword(s) in network XML format to specify DHCP options
Summary: [Feature Request] Add keyword(s) in network XML format to specify DHCP options
Keywords:
Status: CLOSED DUPLICATE of bug 824573
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-12 14:37 UTC by jean-christophe manciot
Modified: 2017-07-12 18:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-12 18:13:50 UTC
Embargoed:


Attachments (Terms of Use)

Description jean-christophe manciot 2017-07-12 14:37:13 UTC
Description of problem:
----------------------
There is one dnsmasq configuration file per network in /var/lib/libvirt/dnsmasq, bypassing the global dnsmasq config file located in /etc/dnsmasq.conf. 

The latter allows the definition of any DHCP option to be sent to the querying client(s), such as boot file name, TFTP server address, and so on...
These options can be sent according to specific tags and client-ids.

Unless I'm missing something (maybe the wiki is not up-to-date or does not go deep enough at https://libvirt.org/formatnetwork.html), the last libvirt version (3.5.0) does not offer those possibilities.

Comment 1 jean-christophe manciot 2017-07-12 14:44:25 UTC
In /etc/dnsmasq.conf, the corresponding keywords are:
- dhcp-host which can be used to set a tag per client-id
- dhcp-option to define a requested option for clients matching a tag
- dhcp-option-force to send a non-requested option for clients matching a tag

Comment 2 Cole Robinson 2017-07-12 18:13:50 UTC

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


Note You need to log in before you can comment on or make changes to this bug.