Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not start - subnet other than /24 not accepted?

Bug #1800347 reported by Lutz Heitmüller

This bug report was converted into a question: question #709446: Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not start - subnet other than /24 not accepted?.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnsmasq (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 18.04.1 LTS
Release: 18.04
__________________
dnsmasq:
  Installiert: 2.79-1
  Installationskandidat: 2.79-1
  Versionstabelle:
 *** 2.79-1 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status
__________________

#Configuration excerpt:
listen-address=127.0.0.1
listen-address=192.168.115.18
dhcp-range=192.168.114.100,192.168.114.250,255.255.254.0,6h

#dhcp-range=192.168.115.21,192.168.115.250,static
#dhcp-range=192.168.114.31,192.168.114.99,static,255.255.254.0,infinite

As soon as I activate one of the last lines, dnsmasq refuses to start with the error msg that the range was incorrect, although there is no overlap in range, nor is the range incorrect.
I am starting to think that this might be a bug, maybe dnsmasq cannot cope with subnets other than /24?

Thanks for your support!

summary: Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not
- start
+ start - subnet other than /24 not accepted?
Revision history for this message
Simon Kelley (simon-thekelleys) wrote : Re: [Bug 1800347] [NEW] Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not start - subnet other than /24 not accepted?

dhcp-range for static ranges is

dhcp-range=<address>,static,......

ie, there's only one address before the static keyword.

Simon.

On 28/10/2018 12:55, Lutz Heitmüller wrote:
> Public bug reported:
>
> Description: Ubuntu 18.04.1 LTS
> Release: 18.04
> __________________
> dnsmasq:
> Installiert: 2.79-1
> Installationskandidat: 2.79-1
> Versionstabelle:
> *** 2.79-1 500
> 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
> 500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
> 100 /var/lib/dpkg/status
> __________________
>
> #Configuration excerpt:
> listen-address=127.0.0.1
> listen-address=192.168.115.18
> dhcp-range=192.168.114.100,192.168.114.250,255.255.254.0,6h
>
> #dhcp-range=192.168.115.21,192.168.115.250,static
> #dhcp-range=192.168.114.31,192.168.114.99,static,255.255.254.0,infinite
>
> As soon as I activate one of the last lines, dnsmasq refuses to start with the error msg that the range was incorrect, although there is no overlap in range, nor is the range incorrect.
> I am starting to think that this might be a bug, maybe dnsmasq cannot cope with subnets other than /24?
>
> Thanks for your support!
>
> ** Affects: dnsmasq (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Summary changed:
>
> - Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not start
> + Defining 2 dhcp ranges for static dhcp definition causes dnsmasq to not start - subnet other than /24 not accepted?
>

Revision history for this message
yurikoles (yurikoles) wrote :

Not a bug.

Changed in dnsmasq (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.