[rhos-list] Fwd: [Bug 887369] dnsmasq not loading any of the information from the options file

Paul Robert Marino prmarino1 at gmail.com
Mon Dec 17 15:33:47 UTC 2012


This was an intresting responce
---------- Forwarded message ----------
From: <bugzilla at redhat.com>
Date: Dec 17, 2012 9:28 AM
Subject: [Bug 887369] dnsmasq not loading any of the information from the
options file
To: <prmarino1 at gmail.com>

Product: Red Hat OpenStack
https://bugzilla.redhat.com/show_bug.cgi?id=887369

Tomas Hozza <thozza at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|                            |redhat
                 CC|                            |ykaul at redhat.com
          Component|dnsmasq                     |openstack-quantum
            Version|6.3                         |unspecified
           Assignee|thozza at redhat.com           |rhos-maint at redhat.com
            Product|Red Hat Enterprise Linux 6  |Red Hat OpenStack
   Target Milestone|rc                          |RC
         QA Contact|qe-baseos-daemons at redhat.co |oblaut at redhat.com
                   |m                           |

--- Comment #2 from Tomas Hozza <thozza at redhat.com> ---
This is *NOT A BUG* in dnsmasq-2.48.

If you read dnsmasq manual page, you will realise, that there is no such
way to
set TAGs by using "set:tag0" and also to refer to a TAG by "tag:tag0".
Therefore it is not working with your options.

There was a change in dnsmasq-2.53 which introduced the *NEW* TAGs setting
and
referring, but these options are *NOT AVAILABLE* in dnsmasq versions lower
than
2.53.

Regarding to dnsmasq-2.48 manual page, you can use existing options to SET
the
TAG and to refer to a TAG. In your case if you use:

--dhcp-range=tag0,192.168.253.0,static,120s
instead of
--dhcp-range=set:tag0,192.168.253.0,static,120s

and in the dhcp-optsfile:

tag0,option:dns-server,10.254.254.42
tag0,option:router,192.168.253.1

instead of

tag:tag0,option:dns-server,10.254.254.42
tag:tag0,option:router,192.168.253.1

everything will work. I tested it and server returned right options in DHCP
reply.

Changing Product to Red Hat OpenStack and component to openstack-quantum,
since
this is *NOT* a dnsmasq bug.

OpenStack need to be fixed to use proper options when running dnsmasq!

--
You are receiving this mail because:
You reported the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20121217/eca30f2c/attachment.htm>


More information about the rhos-list mailing list