Hi Team,
I am in the process of migrating out our dhcp server from rhel 4 to centOS 6.5 .i hv few queries and concerns for configuring the dhcp server ..
1- How do we define multiple host definition in centos dhcpd.conf as I have hundreds of nodes need to be assigned with fixed ip and I don’t want to give host name ..below host configuration,that is defining same hostname "host b1" multiple time in dhcpd.conf is working fine on rhel 4 ,but throwing error in centos 6.5 dhcp ..
#############
}
host b1 { hardware ethernet 00:50:56:98:4e:25;
}
host b1 { hardware ethernet 00:50:56:98:4e:25;
fixed-address 137.135.14.15;
}
host b1 { hardware ethernet 00:26:b9:30:49:d3;
}
host b1 { hardware ethernet 00:26:b9:30:49:d3;
fixed-address 137.135.118.10;
}
host b1 { hardware ethernet 00:d0:59:0d:f6:04;
}
host b1 { hardware ethernet 00:d0:59:0d:f6:04;
fixed-address 172.19.37.176;
}
###########
Error is as below
Apr 24 14:07:12 dhcp1 dhcpd: All rights reserved.
Apr 24 14:07:12 dhcp1 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Apr 24 14:07:12 dhcp1 dhcpd: /etc/dhcp/dhcpd.conf line 37: host b1: already exists
Apr 24 14:07:12 dhcp1 dhcpd: }
Apr 24 14:07:12 dhcp1 dhcpd: ^
Apr 24 14:07:12 dhcp1 dhcpd: Configuration file errors encountered – exiting
2-i hv multiple dhcp server in my network ..do I need to enable dhcprelay on this new dhcp server ?
Urgent help :dhcp server
Re: Urgent help :dhcp server
Unfortunately it would appear that the el4 dhcpd accepts invalid config files. Hostname entries must be unique. I don't see any way around that except manually fixing the config file to remove the duplicates.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Urgent help :dhcp server
Hi TrevorH,
any alternate option ?as i have 1000+ devices mac entry and static ip addres need to updated in dhcpd.conf
any alternate option ?as i have 1000+ devices mac entry and static ip addres need to updated in dhcpd.conf
Re: Urgent help :dhcp server
Not really. It shouldn't take long
Re: Urgent help :dhcp server
Judging by the example you posted, you'll only have a few hundred entries once you eliminate all those extras
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke