Score:0

"centos dhcpd server include external file" failed

sc flag

this is /etc/dhcp/dhcpd.conf

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

include /etc/dhcpd-reservations.conf;

/etc/dhcpd-reservations.conf

shared-network managed {
  interface "eth1";
  subnet {{test ip range}} netmask 255.255.255.0 {
  option routers {{test router ip}};
  option broadcast-address {{test broadcast ip}};

  group {
    host ztp-dis { hardware ethernet 50:01:00:09:00:00; fixed-address {{test ip}}; }
  }
 }
}

but I get,,

DHCPDISCOVER from 50:01:00:09:00:00 via {{ip}}: network managed: no free leases

If I dont use external file, this config is normal working.

vidarlo avatar
ar flag
Does by any chance SELinux or a chroot configure how dhcpd sees the world?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.