invalid expression type in print_expression: 45
Shraddha Pandhe
spandhe.openstack at gmail.com
Mon Nov 2 23:45:27 UTC 2015
Hi folks,
I am using dhcp-4.1.1-49.
What are the possible reasons for getting this error? I have been using the
same dhcpd.conf without any issues. Today, I removed "dhcp-domain" option
from the subnet definition and I started seeing this issue. Adding
dhcp-domain back didn't help, so I am not sure if that caused anything.
My dhcpd config file:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
log-facility local6;
allow booting;
deny unknown-clients;
ddns-update-style none;
default-lease-time 3600;
lease-file-name "/home/neutron/dhcpd/dhcpd.leases";
pid-file-name "/home/neutron/dhcpd/pid";
next-server <ip-address>;
server-name "<ip-address>";
omapi-port 7911;
# Local subnet definition is required to start dhcpd
subnet <ip-address> netmask 255.255.255.255 {
}
if exists user-class and option user-class = "iPXE" {
filename "init.ipxe";
}
elsif exists user-class and option user-class = "gPXE" {
filename "init.gpxe";
}
else {
filename "undionly.kpxe";
}
####################################################################
# DHCP Subnet Definitions to follow #
####################################################################
# NETWORK_ID 0b00f86d-2dbd-4931-8a17-8ddaea74f475
subnet 192.168.122.0 netmask 255.255.255.0 {
option broadcast-address 192.168.122.255;
option domain-name-servers 192.168.122.1;
range 192.168.122.2 192.168.122.254;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20151102/05bb7427/attachment.html>
More information about the dhcp-users
mailing list