PacketFence - BTS - PacketFence
View Issue Details
0000999PacketFenceerror-handlingpublic2010-05-31 12:432012-10-19 15:05
obilodeau 
 
normalminorhave not tried
resolvedfixed 
 
 
0000999: routed-mode: dhcpd doesn't start complaining about no listen interfaces
I tried several different things and it's still not working so I am opening a bug so we can give a better error message when this condition is reached.

In pf::util under get_dhcp_devs() when we are about to return an empty list, we should give some diagnostic about how to fix such a situation.
usability
Issue History
2010-05-31 12:43obilodeauNew Issue
2010-05-31 12:43obilodeauStatusnew => assigned
2010-05-31 12:43obilodeauAssigned To => rbalzard
2010-05-31 13:08obilodeauNote Added: 0001570
2010-06-30 14:51obilodeauNote Added: 0001586
2010-06-30 14:51obilodeauTarget Version1.9.0 => 1.9.1
2010-09-15 13:25obilodeauTag Attached: usability
2010-09-15 13:25obilodeauTarget Version1.9.1 => 1.9.2
2010-09-22 16:02obilodeauTarget Version1.9.2 => 1.9.3
2010-10-20 10:39obilodeauNote Added: 0001727
2012-10-19 15:05fgaudreaultNote Added: 0003209
2012-10-19 15:05fgaudreaultStatusassigned => resolved
2012-10-19 15:05fgaudreaultResolutionopen => fixed
2012-10-19 15:05fgaudreaultAssigned Torbalzard =>
2012-10-19 15:05fgaudreaultTarget Version1.9.3 =>

Notes
(0001570)
obilodeau   
2010-05-31 13:08   
Ok, here's the deal: I was trying to do dhcp without a local subnet (only through IP-Helpers) after a bit of googling I found out that dhcpd doesn't like that so I added a new local scope even though I have no plans to use it.

Maybe when we generate the config, if we see that no local dhcp subnet is defined we should die saying you need at least a local one.

Btw, my above hint about "get_dhcp_devs()" is false.
(0001586)
obilodeau   
2010-06-30 14:51   
The admin guide recommends running local VLANs which should prevent the experience of this problem. Because of that, I re-target for 1.9.1.
(0001727)
obilodeau   
2010-10-20 10:39   
changing conf/templates/dhcpd_vlan.conf to:
authoritative;
ddns-update-style none;
ignore client-updates;
local-address 10.10.0.10;

subnet 10.10.0.0 netmask 255.255.255.0 {
}


does the trick for now but this should work out of the box.
(0003209)
fgaudreault   
2012-10-19 15:05   
Fixed recently.