Subnet number in dhcp config is calculated incorrectly

Bug #1045589 reported by Julian Edwards
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Raphaël Badin

Bug Description

src/maasserver/models/nodegroup.py / set_up_dhcp() sets the subnet like this:

subnet=self.ip_range_low

This is wrong, it should be ip_range_low with the subnet_mask applied. See here for more details:
http://www.linglom.com/2007/02/20/how-to-find-subnet-number-ip-addresses-in-the-subnet-in-a-few-seconds/

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
importance: High → Critical
Raphaël Badin (rvb)
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → In Progress
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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