Questions tagged [dhcpd]

81 questions
0
votes
1 answer

How can I configure DHCP server to issue the same fixed-address by matching with the client identifier in the discover message

I am able to config fixed ip address with hardware ethernet options, but i am trying to assign fixed ip based on client id(option 61) from DISCOVER message. I tried with below configs , but it doesn't help. host virtual_1 { …
user1290
  • 11
  • 3
0
votes
0 answers

dhcpd hostgroup in a single file

Is it possible to set dhcpd to read MAC addresses from file, and then to set IP and hostname for those particular hosts? To be more clear - everything is supposed to be in that file: mac, ip and hostname. Is it possible, or I have to add manual…
excessive
  • 3
  • 1
  • 2
0
votes
1 answer

Option 81 in DHCP

Just curious about this. When we enable option 81 on a DHCP network, the DHCP server will start updating the zone that comes along with the client's FQDN. Now, how would client will ever know its domain even before getting an IP address? My…
Vignesh SP
  • 129
  • 1
  • 10
0
votes
1 answer

how to block incoming DHCP DISCOVERY messages

I'm running ISC DHCP deamon on centOS and want to block unwanted(by clients MAC address) discovery messages before they reach dhcpd. how can I do this with iptables or anything else?
misha
  • 13
  • 1
  • 3
0
votes
1 answer

dhcpd daemon taking huge amount of memory and restarting with out of memory error

I have to configure isc-dhcp-server for 1 million clients which listens on 4094 vlan tagged interfaces, where each vlan interface is mapped to a subnet declaration. Therefore in total 4094 subnet declarations in conf file with 253 clients in each…
0
votes
2 answers

How To Use host tag In dhcp.conf

My question is simple. I tried to assign a fixed IP address to wlan0 connected users using dhcp.conf. From configuration file: host clientA{ hardware ethernet 00:80:c6:f6:72:00; fixed-address 192.168.1.50; } My confusion is clientA. What can I…
0
votes
1 answer

DHCP Client starts sending DHCP Discover messages upon receiving a NAK from another DHCP server

I am trying to set up a DHCP client that is supposed to get its IP address via DHCP. I have configured two DHCP servers (one in 192.168.X.X pool and the other in 162.16.X.X pool). Then, the client starts the DHCP protocol and obtains a DHCP lease…
0
votes
1 answer

dhcpd.conf DNS order is being reset after each cobbler sync

I'm trying to switch the order of DNS servers that my clients machines use by editing the /etc/dhcp/dhcpd.conf file in cobbler. This was the settings before I attempted the change: subnet 10.100.48.0 netmask 255.255.252.0 { option routers …
treetop
  • 51
  • 7
0
votes
0 answers

dhcp server not starting on CentOS 5 (XenServer 6.5)

I have a host with XenServer 6.5 (based on CentOS 5) that is currently set up using a static IP by following the procedure here. I have been provided with an IP address, netmask and gateway - I entered these in the fields shown in figure 6 in the…
edesz
  • 101
  • 3
0
votes
1 answer

DHCP leases file has 200+ instances of the same lease?

I'm not sure what's going on here. I have a CentOS 7 DHCP server, and the leases file is growing at a linear but steady rate - it's re-issuing the same lease to the same MAC over and over again, and adding the new stanza to the file. This server…
Locane
  • 429
  • 1
  • 8
  • 20
0
votes
1 answer

fedora dhcpd name server configuration

I'm having a hard time configuring a more modern release of a Fedora DHCP service to replace an older one and the problem is that clients aren't getting the appropriate DNS server information. I had been using dhcpd on an earlier Fedora release…
Richard T
  • 1,206
  • 12
  • 29
0
votes
1 answer

Client getting wrong option from DHCP server

I'm setting up a machine to load a Debian intallation with PXEBoot, following the guide on the Debian Wiki. I have the boot image sitting on a server, pxe.example.com, at /var/lib/tftpboot/debian-jessie/pxelinux.0. I can download that file manually…
jen-rose
  • 123
  • 5
0
votes
1 answer

dhcpd.conf for PXE/BOOTP boot not working

I'm trying to configure the dhcpd.conf file so that when I boot through the network using PXE / BOOTP, a bare metal server or a virtual machine (KVM) would get an IP address in the 10.0.2.100 to 10.0.2.253 range. It's currently working for the kvm,…
GreenTeaTech
  • 231
  • 1
  • 3
  • 7
0
votes
1 answer

Cobbler/TFTP: No filename or root path specified, but why?

I've installed a new Cobbler server and configured it as a DHCP /TFTP server. I've configured the /etc/dhcp/dhcpd.conf like so: [root@centolel ~]# cat /etc/dhcp/dhcpd.conf ddns-update-style interim; allow booting; allow bootp; ignore…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
0
votes
2 answers

How to block DHCP traffic using iptables

First let me describe my environment: There is a VM (CentOS) acting as a gateway The gateway VM has to NICs, eth0 connects to public network, eth1 connects to private network eth0 get IP from public network's DHCP server The gateway contains a DHCP…
TieDad
  • 274
  • 5
  • 13